Package Details: xash3d-fwgs-git r2278.ca3b0e62-1

Git Clone URL: https://aur.archlinux.org/xash3d-fwgs-git.git (read-only, click to copy)
Package Base: xash3d-fwgs-git
Description: A custom GoldSrc engine implementation
Upstream URL: http://xash.su/
Keywords: game hl xash3d
Licenses: GPL3
Conflicts: xash3d-git, xash3d-hlsdk
Provides: xash3d
Submitter: r4v3n6101
Maintainer: r4v3n6101
Last Packager: r4v3n6101
Votes: 4
Popularity: 0.013066
First Submitted: 2021-02-28 02:43 (UTC)
Last Updated: 2023-01-11 08:56 (UTC)

Latest Comments

r4v3n6101 commented on 2023-01-11 08:56 (UTC)

I've applied your patch. Thanks!

second2050 commented on 2023-01-01 20:30 (UTC)

I suggest changing the launch script to check if $XASH3D_BASEDIR is already set in the environment and use it as is, which will make it easier for the user to change the directory.

My personal changes are these: (it also checks if $XDG_DATA_HOME is set and make the default directory $XDG_DATA_HOME/xash3d/ if so.

diff --git a/xash3d b/xash3d
index d191981..19daae7 100644
--- a/xash3d
+++ b/xash3d
@@ -1,7 +1,13 @@
 #!/bin/sh

 export XASH3D_RODIR="/opt/xash3d/"
-export XASH3D_BASEDIR="$HOME/.xash3d/"
+if [ -z "$XASH3D_BASEDIR" ]; then
+    if [ -n "$XDG_DATA_HOME" ]; then
+        export XASH3D_BASEDIR="$XDG_DATA_HOME/xash3d/"
+    else
+        export XASH3D_BASEDIR="$HOME/.xash3d/"
+    fi
+fi
 export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:${XASH3D_RODIR}"

 if [ ! -d "$XASH3D_BASEDIR" ]; then

InFerNo commented on 2022-12-10 19:37 (UTC)

This works on Arch Linux ARM (aarch64) on Odroid C4, too, however to run HL1 you need to use xash3d-hlsdk and lift hl.so and client.so from the compiled folders (no need to actually install that package), after you copied the game files ("valve" folder) to ~/.xash3d/. Move them to ~/.xash3d/valve/dlls/ and ~/.xash3d/valve/cl_dlls/ and append _arm64 to their names (hl_arm64.so and client_arm64.so).

r4v3n6101 commented on 2022-07-30 21:52 (UTC)

Hello. I've fixed this. Have a try again please and thank you for reporting trouble

MindfulProtons commented on 2022-07-26 17:37 (UTC) (edited on 2022-07-26 17:38 (UTC) by MindfulProtons)

Hi, Please change line 41 of the PKGBUILD to:

    install -Dm 755 "vgui_support/vgui-dev/lib/vgui.so" "${pkgdir}/usr/local/lib/xash3d/vgui.so"

Otherwise, the PKGBUILD will always fail.

r4v3n6101 commented on 2022-02-08 18:12 (UTC)

Fixed, thanks to @xrayfur!

xrayfur commented on 2022-02-02 15:58 (UTC)

Hello,

Please fix startup script line 3 for correctness (missing column) and to be /bin/sh compliant (+= syntax is only guaranteed to work in /bin/bash):

-export LD_LIBRARY_PATH+="/usr/local/lib/xash3d/"
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/xash3d/"