ptitSeb / box86

Box86 - Linux Userspace x86 Emulator with a twist, targeted at ARM Linux devices
https://box86.org
MIT License
3.35k stars 232 forks source link

Half Life 1 Single Player / SteamCMD #107

Open gjorm opened 4 years ago

gjorm commented 4 years ago

Hi, I didn't want to hijack the other issue for Half-Life/Steam, but I was trying to run HL1 Single Player. After getting dynamic links setup and running steamcmd with the -no-browser option, steamcmd works great and is able to download HL1. However, I am unable to run it from within steamcmd:

Game update: AppID 70 "", ProcID 14077, IP 0.0.0.0:0 Warning: Cannot dlopen("/home/ubuntu/Steam/steamservice.so"/0x89636b10, 6) Warning: Cannot dlopen("steamservice.so"/0x89636b10, 6) Game removed: AppID 70 "", ProcID 14077 Warning: Cannot dlopen("/home/ubuntu/Steam/steamservice.so"/0x89639878, 6) Warning: Cannot dlopen("steamservice.so"/0x89639878, 6)

And I am unable to run HL1 from its folder as it gives me this error:

[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed. [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll. Failed to initalize authentication interface. Exiting...

I thought I read somewhere that box86 was able to run HL1, but I'm stuck at this point. And my old CD of HL1 is looooong gone.

I'm on a Raspberry Pi 4 with Ubuntu 18.04 server running Xfce.

Thanks

ptitSeb commented 2 years ago

HalfLife (1) worked at some point with box86, but I suspect the game has been updated and now it doesn't work anymore. I need to debug the issue.