Yeah, both the test-script that just echos and the real script I was trying to get to run now work.
I'm guessing when I run it from the terminal I'm already in the context of bash, so the script runs, but when Lutris runs the script I don't have this context?
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.
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.
That would be an Intel i5-3570, 8 Gigs of RAM, no SSD because I cannibalized it.
I tried Factorio with Nouveau and it couldn't even give me a decent Framerate on an empty map. Not sure if the driver doesn't like that card or I did something wrong.
Meh, I think it's severely held back on account of being an MMO.
Like most MMOs it's 99% facade and 1% substance.
What little character development there was got toned down over time to the point where the only real choice left is the subclass selection.
And while it's cool that you have different storylines, they are extremely railroady.
But of course it's cool that the game is still around, I guess I just don't like MMOs.
Yeah, both the test-script that just echos and the real script I was trying to get to run now work.
I'm guessing when I run it from the terminal I'm already in the context of bash, so the script runs, but when Lutris runs the script I don't have this context?