Giter Site home page Giter Site logo

Comments (9)

a1batross avatar a1batross commented on September 15, 2024

It sure shouldn't crash like that.

But can you re-run engine with -dev 2 -log and post engine.log file here?

from xash3d-fwgs.

drvptr avatar drvptr commented on September 15, 2024

It sure shouldn't crash like that.

But can you re-run engine with -dev 2 -log and post engine.log file here?

Sure
engine.log

from xash3d-fwgs.

a1batross avatar a1batross commented on September 15, 2024

There are few things.

  1. You need to compile HLSDK from hlsdk-portable repository to use it on FreeBSD, as FreeBSD isn't supported by Valve, so we have our custom port for it.

  2. It says in the log that Error: Couldn't initialize OpenGL: GLX is not supported. Do you run it under X11 with accelerated graphics enabled? If you're using Wayland, it might need SDL_VIDEODRIVER=wayland environment variable to be set.

from xash3d-fwgs.

nekonomicon avatar nekonomicon commented on September 15, 2024

tar -xvf HLCS_Linux.tar.xz
x HLCS/
x HLCS/cstrike.sh
x HLCS/game/
.......see more in fulllog.txt..
x HLCS/hl.sh
x HLCS/bshift.sh
x HLCS/oforce.sh

What is this?

from xash3d-fwgs.

nekonomicon avatar nekonomicon commented on September 15, 2024

You need to compile HLSDK from hlsdk-portable repository to use it on FreeBSD, as FreeBSD isn't supported by Valve, so we have our custom port for it.

Plus Valve's game libraries is 32-bit only.

from xash3d-fwgs.

drvptr avatar drvptr commented on September 15, 2024

tar -xvf HLCS_Linux.tar.xz
x HLCS/
x HLCS/cstrike.sh
x HLCS/game/
.......see more in fulllog.txt..
x HLCS/hl.sh
x HLCS/bshift.sh
x HLCS/oforce.sh

What is this?

This is the original valve resource - "valve" directory

from xash3d-fwgs.

drvptr avatar drvptr commented on September 15, 2024

I tried adding the hlsdk library. Now the xash3d stuck on "SV_AllocStringPool()"
user@ASUS_N56VB:~ % git clone --recursive https://github.com/FWGS/hlsdk-portable
Клонирование в «hlsdk-portable»...
remote: Enumerating objects: 29531, done.

...
Определение изменений: 100% (57/57), готово.
Submodule path 'vgui_support/vgui-dev': checked out '93573075afe885618ea15831e72d44bdacd65bfb'

user@ASUS_N56VB:~ % cd hlsdk-portable/
user@ASUS_N56VB:~/hlsdk-portable % ./waf configure -T release -8
Setting top to : /home/user/hlsdk-portable
Setting out to : /home/user/hlsdk-portable/build

...
<-- cl_dll : done
'configure' finished successfully (1.145s)

user@ASUS_N56VB:~/hlsdk-portable % ./waf
Build commands will be stored in build/compile_commands.json
Waf: Entering directory '/home/user/hlsdk-portable/build'
[ 1/170] Compiling dlls/nodes.cpp
[ 2/170] Compiling dlls/gauss.cpp

...
Waf: Leaving directory '/home/user/hlsdk-portable/build'
'build' finished successfully (16.636s)

user@ASUS_N56VB:~/hlsdk-portable % ./waf install --destdir=./result

user@ASUS_N56VB:~/hlsdk-portable/result/valve % cp cl_dlls/client_freebsd_amd64. so ~/xash3d-fwgs/build/installed/valve/cl_dlls/

user@ASUS_N56VB:~/hlsdk-portable/result/valve % cp dlls/hl_freebsd_amd64.so ~/x ash3d-fwgs/build/installed/valve/dlls/

user@ASUS_N56VB:~/hlsdk-portable/result/valve % cd ~/xash3d-fwgs/build/installed

user@ASUS_N56VB:~/xash3d-fwgs/build/installed % ./xash3d
^\Выход(core dumped)
image
engine.log
fulllog2.txt

from xash3d-fwgs.

drvptr avatar drvptr commented on September 15, 2024

after a long time
image

from xash3d-fwgs.

drvptr avatar drvptr commented on September 15, 2024

It launched, after 7 minutes, if build x86+disable-gl and start. I'll try to run it with debugging
image
engine.log

from xash3d-fwgs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.