Giter Club home page Giter Club logo

Comments (7)

YaLTeR avatar YaLTeR commented on June 29, 2024 1

Try with the "legacy" beta on Half-Life.

from openag.

krangm avatar krangm commented on June 29, 2024 1

Can confirm Linux OpenAG launches fine with libSDL2-2.0.so.0 preloaded.

from openag.

SmileyAG avatar SmileyAG commented on June 29, 2024 1

adding LD_PRELOAD=/usr/lib32/libSDL2-2.0.so.0 %command% to launch parameters solve the problem

Let me note that it is not necessary to use the system one libSDL2-2.0.so.0, you can also use it from steam runtime, the only important is that it must be preloaded:

LD_PRELOAD=$STEAM_RUNTIME/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0 %command% -game ag

from openag.

SmileyAG avatar SmileyAG commented on June 29, 2024

According to error, might be this has something to do that with the release of the 25th anniversary version, they removed the libSDL2 libs from the Half-Life folder for Linux depot: https://steamdb.info/depot/8/history/?changeid=M:2809540380682473923

Although the latest version of the engine is still dynamically linked to the libSDL2, it's just borrows version now from steam runtime (from info sharedlibrary in gdb):

0xf5c6cda0  0xf5d8d978  Yes (*)     /home/smileyag/.steam/debian-installation/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0

from openag.

Lamborge avatar Lamborge commented on June 29, 2024

I did run Half-Life with Native Runtime. So, as i understand, if just install libSDL2 or move .so file of libSDL2 to Half-Life folder, problem will solve?

from openag.

Lamborge avatar Lamborge commented on June 29, 2024

adding LD_PRELOAD=/usr/lib32/libSDL2-2.0.so.0 %command% to launch parameters solve the problem

from openag.

krangm avatar krangm commented on June 29, 2024

adding LD_PRELOAD=/usr/lib32/libSDL2-2.0.so.0 %command% to launch parameters solve the problem

Let me note that it is not necessary to use the system one libSDL2-2.0.so.0, you can also use it from steam runtime, the only important is that it must be preloaded:

LD_PRELOAD=$STEAM_RUNTIME/usr/lib/i386-linux-gnu/libSDL2-2.0.so.0 %command% -game ag

Have not tested after 25th anniversary update, but historically HL was shipped with badly outdated libSDL2 so it is recommended to replace game-shipped lib with the one from the system. Otherwise mouse rawinput is wrong and acceleration exists despite of config values. Some other bugs may happen too.

from openag.

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.