Please or Register to create posts and topics.

Hammer Not saving .prt files cannot play load map.

Page 1 of 2Next

exactly what the title says

the error: Cannot read .prt file.

i do not see one.

Post your compile log.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

Oddly enough I encountered the same problem today. Where might I find the compile logs?

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

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.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

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

Code: Select all
materialPath: c:program files (x86)steamsteamappscommonportal 2portal2materials
Loading c:usersdanieldesktopportal 2 custom mapmap.vmf
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file c:program files (x86)steamsteamappscommonportal 2portal2gameinfo.txt
GameInfo, FileSystem, (*SearchPaths*),
KeyValues Error: RecursiveLoadFromBuffer:  got EOF instead of keyname in file c:program files (x86)steamsteamappscommonportal 2portal2gameinfo.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:usersdanieldesktopportal 2 custom mapmap.bsp
0 seconds elapsed
Code: Select all
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.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.

(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)

I encountered this problem last night, fixing all leaks solved it for me too.

When I die I want to be dissected by some mad genius and used in one of his evil schemes. It's great to be part of something bigger than yourself.

Fixing all leaks solves most problems. Hammer 101.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Page 1 of 2Next