Page 1 of 1


Posted: Sun Jun 10, 2018 3:00 am
by Ger_Pa
Hi i wanted to post a quick updated on XASH3D.
Using the latest version of raspbian with OpenGl enable (either Fake Kms or not) XASH3d works like a CHARM.
The only thing you have to do is follow the Instructions in FWGS git.
These are the instructions.

Code: Select all

CMake (recommended)
If you want to enable VGUI support, you need part of Half-Life 1 SDK to build vgui_support library.
NOTE: VGUI is exists only for Linux/MacOSX/Windows and only for x86. Disable it by -DXASH_VGUI=no if you are targetting non-supported architecture.
Clone Xash3D repository using git:
git clone --recursive
Move to the Xash3D folder:
cd xash3d
Clone Half Life 1 SDK with git:
git clone hlsdk/
OR you can use vgui-dev repository with just ripped off VGUI headers and library. Clone it using git:
git clone hlsdk/
Implying VGUI headers and library is cloned into hlsdk you should be able to build Xash3D as:
mkdir -p build
cd build
On 32 bit systems:
cmake -DHL_SDK_DIR=../hlsdk -DXASH_SDL=yes -DXASH_VGUI=yes ../ && make”

After the files are compiled, do a “make install” it will install all the files where they need to be.

To play the game you need some the Valve folder from your steam install, put that folder in

Be aware that if you copy the files from a windows installation, you will need compile two extra files dlls/ and cl_dll/
For that just follow the instructions here

I’m glad to say that games runs very smooth at 1024x768 and looks pretty nice


Posted: Sun Jul 08, 2018 1:21 pm
by Ike11

on my rpi 3,
I have used the instructions,
Ok, building pass

But when i run xash3d : error : segmentation fault,

With multiples source of folder valve from retail, update...

Do you have a solution ?


Posted: Sun Jul 08, 2018 1:37 pm
by Ger_Pa
Ike11 wrote:
Sun Jul 08, 2018 1:21 pm

With multiples source of folder valve from retail, update...

Do you have a solution ?
It's most likely that you don't permission to write/read the files you copied. Set all the files from Valve to be write and read by "anyone".


Posted: Sun Jul 08, 2018 7:41 pm
by Ike11
but the complete executable file and valve folder is already in 777 permission
so this is not the problem?


Posted: Sun Jul 08, 2018 8:12 pm
by Ike11
LIBGL_FB=1 LIBGL_BATCH=1 LD_LIBRARY_PATH=/opt/vc/lib:/opt/retropie/supplementary/library/glshimfull:. ./xash3d -console -debug

PuTTY X11 proxy: unable to connect to forwarded X server: Network error: Connection refused

[20:11:26] /home/pi/RetroPie/roms/ports/xash3d is working directory now

Xash3D FWGS (build 1193, Linux-arm) started at Jul08 2018 [20:11.26]
[20:11:26] Joystick: SDL GameController API
[20:11:27] 4 joysticks found:
[20:11:27] 0 : XInput Controller
[20:11:27] 1 : XInput Controller
[20:11:27] 2 : XInput Controller
[20:11:27] 3 : XInput Controller
[20:11:27] Pass +set joy_index N to command line, where N is number, to select active joystick
[20:11:27] Selected joystick: XInput Controller (0:0:0)
[20:11:27] Cannot load xashcomm.lst
[20:11:28] execing video.cfg
[20:11:28] gl_round_down is read only.
[20:11:28] execing opengl.cfg
[20:11:28] bpp 32
[20:11:28] R_ChangeDisplaySettings: Setting video mode to 1280x720 windowed
[20:11:28] Video: VideoCore IV HW
Segmentation fault


Posted: Mon Jul 09, 2018 9:44 am
by Ike11

can you send your folder please ?

thank you

my mail : [email protected]


Posted: Mon Jul 09, 2018 8:34 pm
by Ger_Pa
Doesn't seem to be an issue with the game folder or the files. What drivers are you using???