Ger_Pa
Posts: 40
Joined: Thu Mar 09, 2017 7:00 pm

XASH3D

Sun Jun 10, 2018 3:00 am

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

“Building
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 https://github.com/FWGS/xash3d
Move to the Xash3D folder:
cd xash3d
Clone Half Life 1 SDK with git:
git clone https://github.com/ValveSoftware/halflife hlsdk/
OR you can use vgui-dev repository with just ripped off VGUI headers and library. Clone it using git:
git clone https://github.com/FWGS/vgui-dev 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
“HOME/user/.steam/steam/steamapps/common/Half-Life/”

Be aware that if you copy the files from a windows installation, you will need compile two extra files dlls/hl.so and cl_dll/client.so
For that just follow the instructions here https://github.com/FWGS/hlsdk-xash3d

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

Ike11
Posts: 6
Joined: Tue Jan 23, 2018 12:00 pm

Re: XASH3D

Sun Jul 08, 2018 1:21 pm

hello,

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 ?

Ger_Pa
Posts: 40
Joined: Thu Mar 09, 2017 7:00 pm

Re: XASH3D

Sun Jul 08, 2018 1:37 pm

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".

Ike11
Posts: 6
Joined: Tue Jan 23, 2018 12:00 pm

Re: XASH3D

Sun Jul 08, 2018 7:41 pm

thanks,
but the complete executable file and valve folder is already in 777 permission
so this is not the problem?

Ike11
Posts: 6
Joined: Tue Jan 23, 2018 12:00 pm

Re: XASH3D

Sun Jul 08, 2018 8:12 pm

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

Ike11
Posts: 6
Joined: Tue Jan 23, 2018 12:00 pm

Re: XASH3D

Mon Jul 09, 2018 9:44 am

hello,

can you send your folder please ?

thank you

my mail : [email protected]

Ger_Pa
Posts: 40
Joined: Thu Mar 09, 2017 7:00 pm

Re: XASH3D

Mon Jul 09, 2018 8:34 pm

Doesn't seem to be an issue with the game folder or the files. What drivers are you using???

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 4 guests