ackthxbye

joined 1 year ago
[–] [email protected] 2 points 1 day ago

With the help of this forum post and a bit of persistence I managed to get it to work and I wanted to share how with future generations and/or my future self.

First Problem: libstdc++.so.5
dnf does not have libstdc++5 but apt does.
Solution: I installed Mint on a Virtual Machine ran sudo apt install libstdc++5 and then copied the library to my real machine into the system directory of UT2004. The game now starts. I know there must be a better way to solve this.

Second Problem: Game starts in a tiny window stuck in the top left corner
Alt+Enter switches it to a real window that makes the game useable, but setting a proper resolution and trying to make it fullscreen again crashes the game.
Solution: Open /home/odin/.ut2004/System/UT2004.ini, go to the [SDLDrv.SDLClient] section and set all lines with viewport to the desired resolution.

Third Problem: No sound
UT2004 uses the obsolete OSS sound system.
Solution: Run the game under a compatibility wrapper. Debian and derivatives have aoss available. Fedora and derivatives have padsp. Thus run the game with padsp "./ut2004-bin-linux-amd64" and the sound works.

[–] [email protected] 1 points 1 week ago

If all else fails I'll fall back to the Windows version, would make me very sad though.

[–] [email protected] 2 points 1 week ago

That helped. Thank you very much! Crashes everytime I try to switch to fullscreen though, I'll play around with it for a bit, hopefully I'll figure it out.

[–] [email protected] 2 points 1 week ago

The DVD includes SDL and OpenAL, but not libstdc++

[–] [email protected] 2 points 1 week ago (1 children)

Right. I tried that patch now, but it still wants libstdc++.so.5

[–] [email protected] 6 points 1 week ago

To be honest I'm having way less problems than I was expecting. I would never want to switch back.

[–] [email protected] 1 points 1 week ago (1 children)

Well yeah, but how do i figure out which version I need and where do I get that version?

[–] [email protected] 3 points 1 week ago (3 children)

Well obviously the version on the DVD is ancient. I did apply the latest available patch, but that is also ancient.

I assume the steam version the Lutris script uses was updated at some point after the last retail patch.

20
submitted 1 week ago* (last edited 1 day ago) by [email protected] to c/[email protected]
 

I recently switched to Nobara and I'm currently trying to get everything to work. I'll be a bit spammy here looking for help, I hope that's ok.

Today I would like to install my retail version of Unreal Tournament 2004 that came on a DVD. I got the installer for the native Linux version to run and copied over the latest patch. But when I try to run the game i get ./ut2004-bin-linux-amd64: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory

I tried to install libstdc++ through dnf and got

Package "libstdc++-15.1.1-2.fc42.x86_64" is already installed.
Package "libstdc++-15.1.1-2.fc42.i686" is already installed.

In /root/lib I habe a libstdc++.so.6

Does ".so.5" mean I need version 5. How do I get the version Unreal Tournament 2004 wants?

Or would it be easier to use the Windows version through Wine?

edit: managed to get the native version to run: https://feddit.org/post/15075302/7666396

 

Games I like tend to be written in Unity, or at least they were in the past. And usually I like to mod them.

How do I correctly set up Unity Mod Manager on Linux? Does it make a difference if the game comes from Steam or GOG?