While you're here, please consider supporting GamingOnLinux on:
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Reward Tiers: Patreon. Plain Donations: PayPal.
This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!
You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register
- Half-Life 2 free to keep until November 18th, Episodes One & Two now included with a huge update
- Linux GPU Configuration Tool 'LACT' adds NVIDIA support
- Hybrid gaming controller MoveMaster has a new website, shipping to the UK now available and 10% off
- Avowed from Obsidian gets a release date, and pre-orders with earlier access if you pay £80
- Get a fresh look at Half-Life 2 RTX in a new video plus the Steam page is now live
- > See more over 30 days here
-
Steam getting proper Season Pass support with clearer g…
- Purple Library Guy -
Steam getting proper Season Pass support with clearer g…
- Salvatos -
S.T.A.L.K.E.R. 2: Heart of Chornobyl review - works on …
- Xpander -
Dungeon Clawler will grab hold of your free time now it…
- rodvil -
itch.io store now requires AI generated content disclos…
- pleasereadthemanual - > See more comments
- Spare gog keys
- on_en_a_gros - What do you want to see on GamingOnLinux?
- dpanter - Our own anti-cheat list
- Liam Dawe - Nintendo-style gaming, without Nintendo!
- Talon1024 - Warhammer 40k Inquisitor Martyr - Hierophant class new dlc…
- Jarmer - See more posts
View PC info
Your current issue megalanya seems to relate to the game wanting to use a 16 bit colour mode. Some quick research indicates that setting Wine to emulate a virtual desktop through winecfg may help. You should also probably set the game to use Windows 98 compatibility wile you are there to.
View PC info
https://pcgamingwiki.com/wiki/Soldier_of_Fortune#Crashes_on_graphics_drivers_with_long_GL_EXTENSIONS_string
PCGamingWiki is your friend.
Because Loki Entertainment defunct in 2001. GNU/Linux version of this game is not available.
I have tried the suggestions you mentioned and many other suggestions already. But it didn't work, unfortunately. Discussion is here:
http://www.sof1.org/viewtopic.php?t=4311
New "ref_gl.dll" have already been made in "Soldier of Fortune Community Edition". It does not work.
I see you use an AMD card and an open source driver like myself.
"Soldier of Fortune: Community Edition" is available here:
http://www.sof1.org/sofdownload.php
If want to try, you can download it here.
* Install the Windows version of the game with Wine.
* Grab the modified installer for the Loki port (under beta) and extract it with unzip.
* Extract the resulting tar file for the linux port binaries.
* Grab game data files from Wine install.
* Symlink /usr/lib/i386-linux-gnu/libGL.so.1 (or wherever it lives on your system) to libGL.so in game dir.
* Start with ./sof +set gl_driver libGL.so
The game runs and is playable, the big gotcha is that sound doesn't work. Launching it with pasuspender results in a segfault here:
#0 0xf6d3f4f2 in sl_add () from /lib/i386-linux-gnu/libbsd.so.0
No symbol table info available.
#1 0xee110386 in _S_StartSound () from ./liboasnd.so
Seems to be working fine with MESA_EXTENSION_MAX_YEAR=2000 and gl_gentextures_broken "1" in config.cfg.
View PC info
The game used to run natively by using OSSPD just fine on Linux Mint 18.3 (Ubuntu 16.04 based). However, starting with Ubuntu 17.10, OpenAL compatibility seems to be messed up. As the game uses a custom libopenal-0.0.so and liboasnd.so libraries, the game crashes if executed with an OSS emulator that was not a case with Ubuntu releases prior to 17.10. As I tried renaming libopenal-0.0.so and linking system's own OpenAL library to game's directory as libopenal-0.0.so; it returns no sound. I will contact with Alan Swanson who seems to be the owner of Loki Compatibility Libraries.
I wrote a resolution hack, and that still works. I updated the page with additional information on how to fix a segmentation fault that occurs because of a too long extension list (what whizse suggest seems reasonable, but didn't work for me on Linux, so I found another way as detailed on the resolution hack page).
I'm having the same trouble as you, getting it to work with padsp.. Someone gives sl_add a bad parameter, probably _S_StartSound.. Now, I've not found the source for libaosnd.so (which provides _S_StartSound) but I've managed to get the modified alsa version from the Loki CD to build and that actually kinda works.. It will play ONE sound, after playback, it crashes, as described by rea987.
I wonder if the problem is that the poor _S_StartSound function ALSO gets unexpected data, in that case, it would get it from the alsa lib, which it loads. If that is the case, we may be able to modify the alsa lib to provide the expected parameters to _S_StartSound..
Anyone got updated info on this ? I'm very interested in knowing if rea987 were able to get hold of Alan and maybe obtain the source for the liboasnd ? :)
View PC info
Running the game with "+set logfile 2 +set gl_log", the ref_gl section of the log looks like this on my main system:
However on my old system it looks like this:
View PC info
The bug is likely purely user-space, possibly akin to the exported symbol problem.
But cool to have sound working via the OSS in 2020 =P
PS don't think ALSA has anything to do with the game at all, it has to be OSS only.
PPS liboasnd must be a proprietary lib, specific to SoF.,,
View PC info
Think this deserves a 3rd resurrect...
It's 3 in the morning, I'm wearing my glasses and I've finally got it.
An older libbsd did the trick (http://launchpadlibrarian.net/170117961/libbsd0_0.6.0-2ubuntu1_i386.deb)
LD_PRELOAD=./libbsd.so.0 ./sof (plus your favorite OSS emulator)
Damn it's so simple.
Last edited by mos on 29 May 2020 at 10:16 pm UTC