Hammer++ refuses to open on linux

Atasco

L2: Junior Member
Aug 7, 2017
60
2
I have a new linux (lubuntu) computer, and have been trying desperately to get (wine) hammer++ to work, however, it gives the same error no matter what I do:

Code:
0114:err:module:import_dll Loading library tier0.dll (which is needed by L"Z:\\home\\[my username]\\.steam\\debian-installation\\steamapps\\common\\Team Fortress 2\\bin\\hammerplusplus.exe") failed (error c000007b).
0114:err:module:import_dll Loading library vstdlib.dll (which is needed by L"Z:\\home\\[my username]\\.steam\\debian-installation\\steamapps\\common\\Team Fortress 2\\bin\\hammerplusplus.exe") failed (error c000007b).
0114:err:module:loader_init Importing dlls for L"Z:\\home\\[my username]\\.steam\\debian-installation\\steamapps\\common\\Team Fortress 2\\bin\\hammerplusplus.exe" failed, status c0000135

These errors imply I'm missing some files (which were indeed missing from the windows depot from steam), but I do have them in there now, because I replaced them with the ones I have from a previous install of windows I have where hammer++ was working fine. Still the same error.

what do
how fix
 

HalloIhr

L1: Registered
Apr 10, 2023
11
0
It seems like you put hammerplusplus.exe into Team Fortress 2/bin, but since the 64 bit update it's supposed to go into Team Fortress 2/bin/x64. For more info read the H++ README.

(Also according to steamdb the dlls should be in the windows depot 232251, so I would recommend re-downloading it just in case, so that you have every file)
 

Atasco

L2: Junior Member
Aug 7, 2017
60
2
It seems like you put hammerplusplus.exe into Team Fortress 2/bin, but since the 64 bit update it's supposed to go into Team Fortress 2/bin/x64. For more info read the H++ README.

(Also according to steamdb the dlls should be in the windows depot 232251, so I would recommend re-downloading it just in case, so that you have every file)

Aha! Okay, well, it didn't fix it, but that did cause different errors than before, which is progress :0 !

Code:
[computer_haver]@jeff:~/.steam/steam/steamapps/common/Team Fortress 2/bin/x64$ wine hammerplusplus.exe
003c:err:service:process_send_start_message service L"PlugPlay" failed to start
0054:err:sync:RtlpWaitForCriticalSection section 00006FFFFFCBD4A0 "dlls/ntdll/loader.c: loader_section" wait timed out in thread 0054, blocked by 0064, retrying (60 sec)
003c:err:service:process_send_command receiving command result timed out
010c:err:module:import_dll Library tier0.dll (which is needed by L"Z:\\home\\[computer_haver]\\.steam\\steam\\steamapps\\common\\Team Fortress 2\\bin\\x64\\hammerplusplus.exe") not found
010c:err:module:import_dll Library vstdlib.dll (which is needed by L"Z:\\home\\[computer_haver]\\.steam\\steam\\steamapps\\common\\Team Fortress 2\\bin\\x64\\hammerplusplus.exe") not found
010c:err:module:loader_init Importing dlls for L"Z:\\home\\[computer_haver]\\.steam\\steam\\steamapps\\common\\Team Fortress 2\\bin\\x64\\hammerplusplus.exe" failed, status c0000135
[computer_haver]@jeff:~/.steam/steam/steamapps/common/Team Fortress 2/bin/x64$ wine: Unhandled page fault on execute access to 00006FFF00000000 at address 00006FFF00000000 (thread 003c), starting debugger...
003c:err:seh:start_debugger Couldn't start debugger L"winedbg --auto 56 64" (1115)
Read the Wine Developers Guide on how to set up winedbg or another debugger
 

HalloIhr

L1: Registered
Apr 10, 2023
11
0
010c:err:module:import_dll Library tier0.dll (which is needed by L"Z:\\home\\[computer_haver]\\.steam\\steam\\steamapps\\common\\Team Fortress 2\\bin\\x64\\hammerplusplus.exe") not found
010c:err:module:import_dll Library vstdlib.dll (which is needed by L"Z:\\home\\[computer_haver]\\.steam\\steam\\steamapps\\common\\Team Fortress 2\\bin\\x64\\hammerplusplus.exe") not found
010c:err:module:loader_init Importing dlls for L"Z:\\home\\[computer_haver]\\.steam\\steam\\steamapps\\common\\Team Fortress 2\\bin\\x64\\hammerplusplus.exe" failed, status c0000135

You still seem to be missing the dlls. Try downloading the windows depot for tf2 and putting the files into your normal tf2 install.

Also (for me at least) wine has some issues with H++. I would recommend adding H++ as a non-steam game with proton and
PROTON_USE_WINED3D=1 %command%. (Although wine is probably easier for debugging right now since you directly see the error messages)