-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Thanks for creating this guide and Lutris script. I did use your install script, but it broke for me at the padsp step. Here are all the problems I encountered and the changes I'd suggest to work through it.
BACKGROUND / ISSUES:
This command worked fine for me:
sudo apt-get install libstdc++5:i386
However, this package does not exist for 24.04/Noble:
sudo apt-get install libpulsedsp:i386
E: Unable to locate package libpulsedsp:i386
If I try running 'padsp', I get the following suggestion:
Command 'padsp' not found, but can be installed with:
sudo apt install pulseaudio-utils
As you noted in the instructions, we actually need the i386 version. This works for me:
sudo apt install pulseaudio-utils:i386
However, it does not create a padsp script in any executable search path. As a result, your Lutris script dies at the following step:
command: cp "$(which padsp)" "$GAMEDIR/padsp32"
Even after installing the above packages, /dev/dsp does not exist, so I still get the following error:
open /dev/[sound/]dsp: No such file or directory
I also had a problem with an invalid cdkey file being created. My display driver echos some text at runtime:
radeonsi: Forcing anisotropy filter to 16x
This text was somehow captured into System/cdkey on a line preceding the actual key, which subsequently caused a game crash. Fortunately there was a message in the Lutris log file stating that the cdkey was invalid, so this was easy to catch.
FIXES / WORKAROUNDS:
Although the install script died, it was late enough in the flow that the installation was salvageable.
I manually created $GAMEDIR/launch-ut2003.sh and then added to Lutris as a locally installed game.
I ran a find operation for padsp from /, which located a usable script here:
/snap/gnome-3-28-1804/198/usr/bin/padsp
I copied the above padsp to $GAMEDIR/padsp32 and modified the LD_PRELOAD as instructed. However, I had to change the .so name as follows:
if [ x"$LD_PRELOAD" = x ] ; then LD_PRELOAD="/usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-16.1.so" else LD_PRELOAD="$LD_PRELOAD /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-16.1.so" fi
To create /dev/dsp, I needed to install another package:
sudo apt install osspd
The cdkey issue was easy to fix. I just had to open the file in a text editor and delete the extra lines.
CONCLUSION:
After the above steps, I now have the game running well and with working audio.
I still have a few graphical things to tune up before I'd call it perfect, but for this issue I'm just focused on the showstoppers. I will share any additional optimizations as a separate issue.