Hammer Not saving .prt files cannot play load map.

Avatar
poww10s
6 Posts
Posted May 02, 2011
exactly what the title says

the error: Cannot read .prt file.

i do not see one.

Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted May 02, 2011
Replied 1 minute later
Post your compile log.
Avatar
eviloatmeal
53 Posts
Posted May 03, 2011
Replied 14 hours later
Oddly enough I encountered the same problem today. Where might I find the compile logs?
Avatar
suicidal_banana
16 Posts
Posted May 03, 2011
Replied 7 hours later
The text that zooms by in the little window with the black background.
If you didnt already before you compile, you tick "Wait for keypress when done compiling", then once its done, check for problems :wink:

You can copy it from there, but its prolly better to copy it from your <mapname>.log wich is located at the position of your <mapname>.vmf

Paste it here in a code tag

Avatar
msleeper
4,136 Posts
Admin
Posted May 03, 2011
Replied 42 minutes later
Actually I would just try and copy/paste directly from the compile output. The log file has the compile log from EVERY compile you have done with that filename, so it's going to be a little cluttered if you paste the entire contents of that log file.
Avatar
poww10s
6 Posts
Posted May 03, 2011
Replied 11 minutes later

alThough the fiel sayed map.txt there was no log?

materialPath: c:\program files (x86)\steam\steamapps\common\portal 2\portal2\materials
Loading c:\users\daniel\desktop\portal 2 custom map\map.vmf
KeyValues Error: RecursiveLoadFromBuffer:&nbsp; got EOF instead of keyname in file c:\program files (x86)\steam\steamapps\common\portal 2\portal2\gameinfo.txt
GameInfo, FileSystem, (*SearchPaths*), 
KeyValues Error: RecursiveLoadFromBuffer:&nbsp; got EOF instead of keyname in file c:\program files (x86)\steam\steamapps\common\portal 2\portal2\gameinfo.txt
GameInfo, (*FileSystem*), (*SearchPaths*), 
Could not locate GameData file portal2.fgd
fixing up env_cubemap materials on brush sides...
0...1...2...3...4...5...6...7...8...9...10**** leaked ****
Entity info_player_start (-322.99 241.64 73.00) leaked!
Processing areas...done (0)
Building Faces...done (0)
FixTjuncs...
PruneNodes...
WriteBSP...
done (0)
Finding displacement neighbors...
Finding lightmap sample positions...
Displacement Alpha : 0...1...2...3...4...5...6...7...8...9...10
Building Physics collision data...
done (0) (2282 bytes)
Placing detail props : 0...1...2...3...4...5...6...7...8...9...10
Compacting texture/material tables...
Reduced 3 texinfos to 3
Reduced 1 texdatas to 1 (30 bytes to 30)
Writing c:\users\daniel\desktop\portal 2 custom map\map.bsp
0 seconds elapsed

Avatar
msleeper
4,136 Posts
Admin
Posted May 03, 2011
Replied 50 minutes later
0...1...2...3...4...5...6...7...8...9...10**** leaked ****
Entity info_player_start (-322.99 241.64 73.00) leaked!

You have a leak. Fix the leak and the map will compile. You should be able to load a pointfile in Hammer to show you where the leak is at.

Avatar
suicidal_banana
16 Posts
Posted May 03, 2011
Replied 1 hour later
(map -> load pointfile)
then look for a red line running trough your map (visible in all views) that line goes trough the gap thats the 'leak' (and usually starts at a nearby entity)
Avatar
Kaiaatsel
22 Posts
Posted May 03, 2011
Replied 4 hours later
I encountered this problem last night, fixing all leaks solved it for me too.
Avatar
msleeper
4,136 Posts
Admin
Posted May 03, 2011
Replied 19 minutes later
Fixing all leaks solves most problems. Hammer 101.
Avatar
Sidneys1
89 Posts
Posted May 04, 2011
Replied 11 hours later
Except when you can't find your leak and the pointfile runs through solid geometry =P Still trying to find the damn hole..

Have a nice day,
~Sidneys1

Avatar
msleeper
4,136 Posts
Admin
Posted May 04, 2011
Replied 4 hours later
In that case, stop using a grid size of 1 and always snap to the grid. The pointfile line will absolutely go into the void. Are you sure that brush isn't accidentally an entity?
Avatar
poww10s
6 Posts
Posted May 04, 2011
Replied 1 hour later
deleted everything in my map and a line disappeared there is still one there. in the middle of nowhere.
Avatar
msleeper
4,136 Posts
Admin
Posted May 04, 2011
Replied 6 minutes later
That means you have multiple leaks. Keep plugging the leaks until vbsp runs without an error.
Avatar
Sidneys1
89 Posts
Posted May 04, 2011
Replied 36 minutes later

msleeper wrote:
In that case, stop using a grid size of 1 and always snap to the grid. The pointfile line will absolutely go into the void. Are you sure that brush isn't accidentally an entity?

Don't use a grid smaller than 4, but I seem to have fixed the problem by deleting the solid that the line passed through and replacing it.

Have a nice day,
~Sidneys1

Advertisement
Registered users don’t see ads! Register now!
Avatar
msleeper
4,136 Posts
Admin
Posted May 04, 2011
Replied 26 minutes later

msleeper wrote:
Are you sure that brush isn't accidentally an entity?