Don't want to see articles from a certain category? When logged in, go to your User Settings and adjust your feed in the Content Preferences section where you can block tags!
Soldier of Fortune OpenGL error
Page: «3/3
  Go to:
mos May 30, 2020
It even works with https://hg.libsdl.org/sdl12-compat/ (after some light tinkering with its source)

PS maybe this topic should be moved out of wine subforum? given the direction it's eventually taken
whizse May 30, 2020
Man, I really admire your tenacity!.

What changes were needed in sdl12-compat?
mos May 30, 2020
Quoting: whizseMan, I really admire your tenacity!.

What changes were needed in sdl12-compat?
the chase is better than the catch ;) Every native game matters!

sof-bin expects a couple of symbols - XSet-something to be present in libsdl. They are actually defined in Xlib.h and aren't getting their way into compat's shim. So I just nuked them from Xlib.h and added the void stubs to compat)
rea987 May 31, 2020
Quoting: moshttps://youtu.be/JJpxEnPU6R0?t=48
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.

Wow, it even works with the resolution hack and osspd. It would be nice if there's a higher FOV option.

https://dusted.dk/pages/sof-resolution/

Anyway, thanks a lot!
mos May 31, 2020
Quoting: rea987Wow, it even works with the resolution hack and osspd. It would be nice if there's a higher FOV option.

https://dusted.dk/pages/sof-resolution/

Anyway, thanks a lot!
Well, the res hack works allright by itself, regardles of sound issues or sdl version. I didn't mention it cos I guess the max native resolution of 1600x1200 gotta be enough really (and no bothering if everything is rendered correctly plus the text is already very small).
The game is meh tho) Rich sound fx (if anything, worth getting it to work), not too bad (and dynamic as well) music and really impressive animations (and gore!) for its time but thats about it. Not sure where all yhe popularity came from, the shock effect wears down after first couple of levels, and there's hardly anything new on offer afterwards (besides some more equally impressive gore animations).
Raven did about the same with Q4 - sans the sound, gore, and music)))

Last edited by mos on 31 May 2020 at 2:50 pm UTC
rea987 May 31, 2020
Quoting: mos
Quoting: rea987Wow, it even works with the resolution hack and osspd. It would be nice if there's a higher FOV option.

https://dusted.dk/pages/sof-resolution/

Anyway, thanks a lot!
Well, the res hack works allright by itself, regardles of sound issues or sdl version. I didn't mention it cos I guess the max native resolution of 1600x1200 gotta be enough really (and no bothering if everything is rendered correctly plus the text is already very small).

Well, max available resolution in the vanilla game doesn't natively support widescreen which results either black bars at sides of the screen or stretched graphics. Hack works okay but during the mission briefings, the player needs to downgrade to a 4:3 res to be able to pick weapons from the list. Aside from that, the game works just fine with hack, bbsd.so.0 and osspd. The game itself becomes repetitive after a while but its gore was the big deal when it was released. Shame, we will never get a proper source port of this despite being based on id Tech 2. I wonder, how hard would be to convert Platinum Edition on GOG to Linux native?
mos May 31, 2020
Quoting: rea987Well, max available resolution in the vanilla game doesn't natively support widescreen which results either black bars at sides of the screen or stretched graphics. Hack works okay but during the mission briefings, the player needs to downgrade to a 4:3 res to be able to pick weapons from the list. Aside from that, the game works just fine with hack, bbsd.so.0 and osspd. The game itself becomes repetitive after a while but its gore was the big deal when it was released. Shame, we will never get a proper source port of this despite being based on id Tech 2. I wonder, how hard would be to convert Platinum Edition on GOG to Linux native?
what's the problem ppl are having w/black bars? It's the content that should dictate the form not the other way round (what's displayed vs the display). Never understood this obsession.

For me it's become repetitive after level one lol
SiN, NOLF, AvP, HL (if you will) were FAR superior to this half-arsed junk... Incredibly SiN came out almost 1.5 years before SoF and was 5 times the game. Only bugged as hell of course..

Last edited by mos on 31 May 2020 at 8:36 pm UTC
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!
Login / Register


Or login with...
Sign in with Steam Sign in with Google
Social logins require cookies to stay logged in.