Strange error Created 6 years ago2018-05-15 00:07:45 UTC by MMProductions MMProductions

Created 6 years ago2018-05-15 00:07:45 UTC by MMProductions MMProductions

Posted 6 years ago2018-05-15 00:07:45 UTC Post #339575
I've finished my map correctly, but its compilation doesn't seems to be working. Here's the reason:

Error: ParseEntity: { not found

Questions?
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-15 00:12:40 UTC Post #339576
I can compile another maps perfectly, but not this one I'm working.
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-15 08:58:15 UTC Post #339577
Can you post the whole compile log? At a guess it looks like you're trying to compile the .rmf file instead of the .map file.
Posted 6 years ago2018-05-15 14:20:58 UTC Post #339579
Did you put in the { character in one or more of your entity string value names? If you did, that's problem.
Posted 6 years ago2018-05-15 15:47:18 UTC Post #339582
Here's the log:

** Executing...
** Command: Change Directory
** Parameters: "C:\Sierra\Half-Life"

** Executing...
** Command: C:\Sierra\VALVEH~1\tools\WINDOW~2\hlcsg.exe
** Parameters: "c:\sierra\valve hammer editor\maps\cs_managements" -texdata 8192

hlcsg v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
--- BEGIN hlcsg ---
Command line: C:\Sierra\VALVEH~1\tools\WINDOW~2\hlcsg.exe "c:\sierra\valve hammer editor\maps\cs_managements"-texdata 8192
Entering c:\sierra\valve hammer editor\maps\cs_managements.map

Current hlcsg Settings
Name | Setting | Default
--------------------|-----------|------------------------
threads [ 4 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
max lighting memory [ 6291456 ] [ 6291456 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
clip hull type [ legacy ] [ legacy ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
nullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]

36 brushes (totalling 216 sides) discarded from clipping hulls
CreateBrush:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (3.75 seconds)
SetModelCenters:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.00 seconds)
CSGBrush:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (2.70 seconds)

Using Wadfile: \sierra\half-life\valve\halflife.wad
  • Contains 412 used textures, 97.63 percent of map (3116 textures in wad)
Using Wadfile: \sierra\half-life\valve\liquids.wad
  • Contains 1 used texture, 0.24 percent of map (32 textures in wad)
Using Wadfile: \sierra\half-life\valve\xeno.wad
  • Contains 0 used textures, 0.00 percent of map (264 textures in wad)
Using Wadfile: \sierra\half-life\cstrike\cstrike.wad
  • Contains 0 used textures, 0.00 percent of map (123 textures in wad)
Using Wadfile: \sierra\half-life\cstrike\cstraining.wad
  • Contains 2 used textures, 0.47 percent of map (24 textures in wad)
Using Wadfile: \sierra\half-life\cstrike\torntextures.wad
  • Warning: Larger than expected texture (240172 bytes): 'TK_STONEWALLHI'
  • Warning: Larger than expected texture (306812 bytes): 'TK_CLAYROOF'
  • Warning: Larger than expected texture (272812 bytes): '{TK_PLANTLG'
  • Warning: Larger than expected texture (327212 bytes): '{TK_PLANTSM'
  • Warning: Larger than expected texture (235412 bytes): 'TK_TORNMAP'
  • Contains 5 used textures, 1.18 percent of map (162 textures in wad)
Using Wadfile: \sierra\half-life\cstrike\cs_dust.wad
  • Contains 1 used texture, 0.24 percent of map (28 textures in wad)
Using Wadfile: \sierra\half-life\cstrike\dmc.wad
  • Contains 1 used texture, 0.24 percent of map (93 textures in wad)
added 70 additional animating textures.
Texture usage is at 4.65 mb (of 8.00 mb MAX)
7.45 seconds elapsed

--- END hlcsg ---

** Executing...
** Command: C:\Sierra\VALVEH~1\tools\WINDOW~2\hlbsp.exe
** Parameters: "c:\sierra\valve hammer editor\maps\cs_managements"

hlbsp v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
--- BEGIN hlbsp ---
Command line: C:\Sierra\VALVEH~1\tools\WINDOW~2\hlbsp.exe "c:\sierra\valve hammer editor\maps\cs_managements"

Current hlbsp Settings
Name | Setting | Default
------------------|-----------|------------------------
threads [ 4 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
nofill [ off ] [ off ]
noopt [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 8192)

SolidBSP [hull 0] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5500...6000...6500...7000...7500...8000...8500...9000...9500...10000...10500...11000...11500...12000...12500...13000...13500...13836 (0.95 seconds)
BSP generation successful, writing portal file 'c:\sierra\valve hammer editor\maps\cs_managements.prt'
SolidBSP [hull 1] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5500...6000...6500...7000...7500...8000...8500...9000...9074 (0.52 seconds)
SolidBSP [hull 2] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5500...6000...6500...7000...7500...7674 (0.42 seconds)
SolidBSP [hull 3] 500...1000...1500...2000...2500...3000...3500...4000...4500...5000...5500...6000...6500...7000...7500...8000...8500...9000...9500...10000...10324 (0.66 seconds)
8.56 seconds elapsed

--- END hlbsp ---

** Executing...
** Command: C:\Sierra\VALVEH~1\tools\WINDOW~2\hlvis.exe
** Parameters: "c:\sierra\valve hammer editor\maps\cs_managements"

hlvis v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
--- BEGIN hlvis ---
Command line: C:\Sierra\VALVEH~1\tools\WINDOW~2\hlvis.exe "c:\sierra\valve hammer editor\maps\cs_managements"
Error: ParseEntity: { not found

--- END hlvis ---

** Executing...
** Command: C:\Sierra\VALVEH~1\tools\WINDOW~2\hlrad.exe
** Parameters: "c:\sierra\valve hammer editor\maps\cs_managements" -sparse

hlrad v3.4 Final (Feb 25 2006)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (amckern@yahoo.com)
--- BEGIN hlrad ---
Command line: C:\Sierra\VALVEH~1\tools\WINDOW~2\hlrad.exe "c:\sierra\valve hammer editor\maps\cs_managements"-sparse
There was a problem compiling the map.
Check the file c:\sierra\valve hammer editor\maps\cs_managements.log for the cause.
--- END hlrad ---

** Executing...
** Command: Copy File
** Parameters: "c:\sierra\valve hammer editor\maps\cs_managements.bsp" "C:\Sierra\Half-Life\cstrike\maps\cs_managements.bsp"

** Executing...
** Command: Copy File
** Parameters: "c:\sierra\valve hammer editor\maps\cs_managements.pts" "C:\Sierra\Half-Life\cstrike\maps\cs_managements.pts"

** Executing...
** Command: C:\Sierra\HALF-L~1\hl.exe
** Parameters: +map "cs_managements" -game cstrike -dev -console +deathmatch 1
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-15 15:58:12 UTC Post #339583
I didn't put the "{" character in any entity string value names.

Maybe there's an used texture with "{" character in its name in my map.
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-15 16:29:15 UTC Post #339584
You can have keyvalues with "{" in them since they're in quotes, so they won't be seen as the start of a block.

This error occurs when the compiler can't find a "{" at the start of the entity data string: https://github.com/FreeSlave/vhlt/blob/3dcf197a30595da251d0577e870b33b4ab85c25e/common/bspfile.cpp#L1510

It looks like you're making a map for the WON version, since it's referencing Sierra. I'd suggest using Steam. Also, make sure you're using the latest VHLT compiler tools: https://forums.svencoop.com/showthread.php/40983-Downloads-amp-Changelogs

Try to move Hammer, the compiler tools and the map file to a directory with no spaces in it, you currently have it in "c:\sierra\valve hammer editor" which might cause issues.

If that causes issues, try using Batch Compiler: http://nemesis.thewavelength.net/index.php?p=2

Also make sure you're using the newest version of Hammer, or use another editor like JACK or Sledge. This could be a text encoding issue, since the engine also sometimes has issues with this data.

If that fails, take a look at this thread:
https://forums.svencoop.com/showthread.php/35026-Error-ParseEntity-not-found

If that doesn't help you, you should provide the map source file so somebody can take a look.
Posted 6 years ago2018-05-15 16:34:57 UTC Post #339585
Thanks for replying.

As I said above, I can compile another maps flawlessly, but not this one I'm working.

I think WON version of HL/CS is easier to compile or test maps than Steam version. Maybe I'll try Steam version later.

I'm using also Hammer 3.4 version.
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-15 16:58:00 UTC Post #339587
Here's the RMF source file for my map. I was testing it on Counter-Strike, both in 1.5 and 1.6 versions.
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-15 16:58:08 UTC Post #339588
Posted 6 years ago2018-05-15 17:18:22 UTC Post #339589
Wait, I'll post an updated source file of my map.
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-15 17:31:14 UTC Post #339590
Also make sure you're using the newest version of Hammer
Do you mean Hammer 3.5?
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-15 17:48:14 UTC Post #339591
Posted 6 years ago2018-05-15 19:55:50 UTC Post #339592
Nevermind, fixed it finally.

The error ocurred because I duplicated in my map both Medkits and HEV Rechargers from HL. The halflife-cs.fgd doesn't include them, and I couldn't put two Medkits and two HEV Rechargers, or the error would occur.

I only put one of each, and it worked.
MMProductions MMProductionsMapping project productions by MM
Posted 6 years ago2018-05-16 12:14:09 UTC Post #339595
You can edit your previous post, no need to double, triple or however many this was. :P

Glad you got to the bottom of it though. :D
monster_urby monster_urbyGoldsourcerer
You must be logged in to post a response.