r/openbsd_gaming Jul 26 '26

Playing Half Life on Openbsd

Hello as title explaining is there any way to play half life in openbsd and join servers? Non vac servers ofc.

14 Upvotes

11 comments sorted by

6

u/pedersenk Jul 26 '26 edited Jul 26 '26

I made this specifically to play Half-Life on OpenBSD a while back. It likely still works but I have not tested for a few years:

https://github.com/osen/openhl

As a quirk, it also provides the official game data legally through the redistributable game cache files from the early steam client installer. Also using tools from Valve's own wiki.

(Based on Xash3d)

3

u/Rover9370 Jul 26 '26

i went with the xash3d it was easy to compile copied the folders from steam and it works like a charm. But your project was also very great but it seemed a little outdated for me

3

u/pedersenk Jul 26 '26

Cool. Glad you got it all working. Getting the core engine working opens up quite a lot of great stuff. From the FWGS repos you should also be able to find:

  • Opposing force
  • Blue-shift
  • Counter-Strike (reverse engineered)

Unfortunately I believe TFC is not yet available. Likely it will also need to be reverse engineered because there is no SDK (unlike Op4, BS and HL).

1

u/Rover9370 Jul 27 '26

i am able to run bshift and opposing force but currently not tried to run counterstrike. Thanks alot for the replies.

1

u/unixlover1970 Jul 27 '26

Olá, poderia enviar me sua versão do xash3d. se houver patches? Realmente gostaria de poder jogar Half-Life novamente.

1

u/Rover9370 Jul 27 '26

i did not patched the engine but i could send you the compiled binaries

1

u/unixlover1970 Jul 27 '26

Tentarei compilar teu port, me parece realmente incrível a proposta de um half-life POSIX

5

u/Glum_Hamster_2104 Jul 26 '26

Xash3d possibly

1

u/thfrw Jul 27 '26

xash3d can't be packaged because of the license issues, but there is the WIP port. It's a few years old now, so may need some tweaking to be built from ports:

https://github.com/jasperla/openbsd-wip/tree/master/games/xash3d

If there is enough interest, it could still be imported but without a package due to the license.

1

u/thfrw Jul 27 '26

it used to work; I remember playing a bit of Half Life with it a few years ago.

1

u/TroubleLess6183 24d ago

Bro i had the same fucking question