FWGS / xash3d

DEPRECATED in favor of https://github.com/FWGS/xash3d-fwgs. Only bugfixes are accepted.
https://xash.su
GNU General Public License v3.0
554 stars 107 forks source link

Running Xash after build results in error #224

Closed Jan200101 closed 7 years ago

Jan200101 commented 7 years ago

Ive build Xash3d on arm using cmake and make install at the end

now everytime I do xash3d I get this

pi@raspberrypi:~ $ xash3d /usr/local/bin/xash3d: 6: [: 32: unexpected operator /usr/local/bin/xash3d: 12: [: pi: unexpected operator /usr/local/bin/xash3d: 25: [: Linux: unexpected operator /usr/local/bin/xash3d: 28: [: Linux: unexpected operator /usr/local/bin/xash3d: 31: [: Linux: unexpected operator /usr/local/bin/xash3d: 36: [: Linux: unexpected operator /usr/local/bin/xash3d: 38: [: Linux: unexpected operator /usr/local/bin/xash3d: 40: [: Linux: unexpected operator /usr/local/bin/xash3d: 52: /usr/local/bin/xash3d: /usr/local/bin/: Permission denied

a1batross commented 7 years ago

Edit xash3d.sh script first line to #!/bin/bash and type make install again.

Jan200101 commented 7 years ago

A new error has appeared.

it is saying that it couldnt load client.so

a1batross commented 7 years ago

If you want to load Day of Defeat, Counter-Strike or Half-Life: Blue Shift, their client.so libraries are using new private interfaces of engine. They cannot be loaded at this moment.

Other client.so can be loaded. Please, write more about error.

mittorn commented 7 years ago

@a1batross, it seems to be an arm device

mittorn commented 7 years ago

You need to build client and server manually

Jan200101 commented 7 years ago

@a1batross @mittorn no I mean half life itself asks for it. Right I am trying it on a clean Ubuntu with steam and half life installed. Still the same error

sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/a1batross/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/xash3d-sdl.list" sudo apt-get update sudo apt-get install xash3d-sdl

also how would I make my own client files ?

mittorn commented 7 years ago

https://github.com/FWGS/xash3d/wiki/Building-and-running#building-game-mods https://github.com/FWGS/hlsdk-xash3d Use microndk or cmake. Do not forget to fix CFLAGS for you platform. for arm and microndk, set TARGET_ARCH_ABI to arm and correct cflags for your platform

a1batross commented 7 years ago

Not a bug?