trenchbroom asking for a non-existant .p0 file when compiling...? Created 2 months ago2024-06-28 04:46:38 UTC by maxtimes3 maxtimes3

Created 2 months ago2024-06-28 04:46:38 UTC by maxtimes3 maxtimes3

Posted 2 months ago2024-06-28 04:46:38 UTC Post #348931
When I go to compile a map, it just hits me with a "hlbsp: Error: Can't open D:\SteamLibrary\steamapps\common\Half-Life\valve\maps\plisskens_bedroom.p0" in the .err file, no idea what I'm doing wrong, can anyone help?

The full log:

hlbsp v3.4 VL34 64-bit (Aug 17 2015)
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 (vluzacn@163.com)
----- BEGIN hlbsp -----
Command line: "C:\Users\maxda\Downloads\Vluzacn's ZHLT v34\tools\hlbsp_x64.exe" D:/SteamLibrary/steamapps/common/Half-Life\valve\maps\plisskens_bedroom.map -chart
Arguments: D:/SteamLibrary/steamapps/common/Half-Life\valve\maps\plisskens_bedroom.map -chart -low
Error: Can't open D:\SteamLibrary\steamapps\common\Half-Life\valve\maps\plisskens_bedroom.p0

----- END hlbsp -----

hlvis v3.4 VL34 64-bit (Aug 17 2015)
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 (vluzacn@163.com)
----- BEGIN hlvis -----
Command line: "C:\Users\maxda\Downloads\Vluzacn's ZHLT v34\tools\hlvis_x64.exe" D:/SteamLibrary/steamapps/common/Half-Life\valve\maps\plisskens_bedroom.map
Arguments: D:/SteamLibrary/steamapps/common/Half-Life\valve\maps\plisskens_bedroom.map -low
There was a problem compiling the map.
Check the file D:\SteamLibrary\steamapps\common\Half-Life\valve\maps\plisskens_bedroom.log for the cause.

----- END hlvis -----

hlrad v3.4 VL34 64-bit (Aug 17 2015)
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 (vluzacn@163.com)
----- BEGIN hlrad -----
Command line: "C:\Users\maxda\Downloads\Vluzacn's ZHLT v34\tools\hlrad_x64.exe" D:/SteamLibrary/steamapps/common/Half-Life\valve\maps\plisskens_bedroom.map -chart
Arguments: D:/SteamLibrary/steamapps/common/Half-Life\valve\maps\plisskens_bedroom.map -chart -low
There was a problem compiling the map.
Check the file D:\SteamLibrary\steamapps\common\Half-Life\valve\maps\plisskens_bedroom.log for the cause.

----- END hlrad -----

Anything here look funky to you guys? Keep in mind I'm new to mapping/modding as a whole so it's likely I forgot something somewhere...
Posted 2 months ago2024-06-28 08:18:01 UTC Post #348932
The problem is that you're missing the CSG compiler at the start of the compilation process, you're only running BSP, VIS and RAD.

It should have been CSG -> BSP -> VIS -> RAD.
Posted 2 months ago2024-06-28 14:44:43 UTC Post #348933
Weird, because I did set up CSG as a run tool in the compiler
maybe I just messed up the directory or something?
User posted image
Posted 2 months ago2024-06-28 15:13:46 UTC Post #348934
I haven't tried TB yet, but I suspect that the CSG lacking a checkmark to the left of it, unlike the BSP just below it, in that screenshot might tell us that CSG is disabled.
Posted 2 months ago2024-06-28 16:02:42 UTC Post #348935
Oh whoops!
Yeah that seems to have solved my problem, I'm getting hit with a different error so I'll see if I can troubleshoot those
Thanks a bunch for pointing that out!
Posted 2 months ago2024-06-28 18:50:58 UTC Post #348937
No problem! It's easy to miss things, sometimes all you need is another pair of eyes to take a look 🙂
You must be logged in to post a response.