maxvollmer / Half-Life-VR

VR mod for Half-Life
https://www.halflifevr.de/
246 stars 23 forks source link

HL cannot load client.dll #4

Closed mdovgialo closed 4 years ago

mdovgialo commented 7 years ago

I thought about trying to compile this mod and maybe helping a little, but I just couldn't make it work.

I've compiled it using Visual Studio 2017 under windows 10, with v141 toolset (as defined in project). Tried compiling in debug or release modes, x64 or x86.

Compiled every subproject and then put:

But every time I run Half Life using HLVRLauncher I get this: image

When I run hl.exe using console I get this:

$ ./hl.exe -game vr
Using breakpad crash handler
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561197996176914 [API loaded yes]
Steam_SetMinidumpSteamID:  Setting Steam ID:  76561197996176914

Is there anything I can check why this could be happening? Any tip or hint would be greatly appreciated.

formicsapien commented 7 years ago

Do you run the "Half-Life VR" game shortcut that was added to you steam after you reset steam?

Also, try either stopping or starting administrator mode?

I did a fresh install of half-life and I built the whole mod. Then I put all built files in their respective directories by what appeared in any "Debug" folder. Nothing happens when I use the "Half-Life VR" in Steam nothing happens, but if I add HLVRLauncher.exe as a non-steam shortcut, the game launches and I'm able to start a game. However, it says VModEnable isn't a valid command and it doesn't appear on my HMD.

mdovgialo commented 7 years ago

I didn't think it would work that way!

But when I run it like that I get authors disclaimer about no warranties, and when I click Yes I get this: image

mdovgialo commented 7 years ago

Also, when I try to copy opengl32.dll manually it's automatically deleted when I run Half-Life VR from Steam shortcut.

mdovgialo commented 7 years ago

However, it says VModEnable isn't a valid command and it doesn't appear on my HMD.

And no disclaimer?

I think client.dll was not loaded in you case.

formicsapien commented 7 years ago

This guy left some instructions that worked for him. These didn't work for me though. I agree, with the client.dll not loading. You know how to fix that?

maxvollmer commented 4 years ago

Closing as no longer relevant. If you still like to help, drop me a message on reddit or join the mod's discord.