Hammer++ Compiling issue Created 9 months ago2024-01-30 18:59:37 UTC by Dr.Orange Dr.Orange

Created 9 months ago2024-01-30 18:59:37 UTC by Dr.Orange Dr.Orange

Posted 9 months ago2024-01-30 18:59:37 UTC Post #348505
I've recently installed Hammer++ and set it up for Half-Life 2, But every time i compile the map, the bsp file doesn't show up and the game doesn't run. I've tried changing all of the directories to the Half-Life 2 files instead of the Source SDK 2013 Singeplayer ones and reinstalling Hammer++, but nothing.
Dr.Orange Dr.OrangeDo you know who ate all of the donuts?
Posted 9 months ago2024-01-30 20:01:17 UTC Post #348506
What does the compile log say?
Dr. Orange Dr. OrangeSource good.
Posted 9 months ago2024-01-31 17:51:09 UTC Post #348514
Running command: cd "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin"

Running command: "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\vbsp.exe" -game "C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2" "C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2\island.vmf"
Valve Software - vbsp.exe (Nov 17 2022)
8 threads
Using shader api: shaderapiempty.dll
materialPath: C:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\hl2\materials
Loading C:\Program Files (x86)\Steam\steamapps\common\Source SDK Base 2013 Singleplayer\hl2\island.vmf
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\gameinfo.txt
Patching WVT material: maps/island/nature/blendsandgrass008a_wvt_patch
fixing up env_cubemap materials on brush sides...
Creating default LDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Creating default HDR cubemaps for env_cubemap using skybox materials:
skybox/sky_day01_01*.vmt
! Run buildcubemaps in the engine to get the correct cube maps.
Finding displacement neighbors...
Finished. Press a key to close.
Dr.Orange Dr.OrangeDo you know who ate all of the donuts?
Posted 9 months ago2024-02-02 10:27:19 UTC Post #348518
Could not locate 'GameData' key in c:\program files (x86)\steam\steamapps\common\half-life 2\hl2\gameinfo.txt
Theres your problem
Tarek TarekA literal dumbass who uses Hammer++
Posted 9 months ago2024-02-02 14:18:02 UTC Post #348523
I've looked online about the 'GameData' key, and tried some solutions but none of them worked.
Dr.Orange Dr.OrangeDo you know who ate all of the donuts?
Posted 9 months ago2024-02-02 16:06:22 UTC Post #348524
I doubt that has anything to do with BSP files not being created. Looking at the source code that error only relates to the use of func_instance entities and is not a fatal error.

Is the compile log you provided the entire log? Can you show your Hammer configuration (build programs and all that) and the compile settings?
Posted 9 months ago2024-02-02 19:15:26 UTC Post #348527
I have sent the whole compile log.

Here is my Hammer++ configuration:
User posted image
User posted image
Dr.Orange Dr.OrangeDo you know who ate all of the donuts?
Posted 9 months ago2024-02-02 20:00:32 UTC Post #348528
You didn't show your compile settings.

Also, can you provide the vmf file you're trying to compile?
Posted 9 months ago2024-02-02 20:05:13 UTC Post #348529
I'm not sure where i can find the compile settings.

As for the vmf file: https://drive.google.com/file/d/1qkGUmlKR188nfP_GPjtoTTv1-3DmceuU/view?usp=drive_link
Dr.Orange Dr.OrangeDo you know who ate all of the donuts?
Posted 9 months ago2024-02-02 20:10:27 UTC Post #348530
Your map has a leak, but due to how the compiler works it's not reporting this.

Your map needs at least one solid brush not tied to any entities to properly compile. You tied all sky brushes to func_water_analog which causes the compiler to skip trying to build brushes, so it also skips over the usual leak detection.

Sky brushes must never be tied to an entity. Brushes used to seal the map must never be tied to an entity either. Once you've changed the sky brushes back to regular brushes it should compile properly.
Posted 9 months ago2024-02-02 20:19:22 UTC Post #348531
It finally compiled properly! Thank you so much!
Dr.Orange Dr.OrangeDo you know who ate all of the donuts?
You must be logged in to post a response.