Install Zandronum on Ubuntu: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 57: | Line 57: | ||
: Download FMOD 4.24.16 32-bit or 64-bit and extract libfmodex64-4.24.16.so or libfmodex-4.24.16.so to ~/zandronum_local/zandronum directory: | : Download FMOD 4.24.16 32-bit or 64-bit and extract libfmodex64-4.24.16.so or libfmodex-4.24.16.so to ~/zandronum_local/zandronum directory: | ||
cd "$HOME"/zandronum_local && \ | cd "$HOME"/zandronum_local && \ | ||
a='' && [ "$(uname -m)" = x86_64 ] && a=64 ; \ | |||
wget -nc <nowiki>http://zandronum.com/essentials/fmod/fmodapi42416linux"$a".tar.gz</nowiki> && \ | wget -nc <nowiki>http://zandronum.com/essentials/fmod/fmodapi42416linux"$a".tar.gz</nowiki> && \ | ||
tar -xvzf fmodapi42416linux"$a".tar.gz -C zandronum --strip-components=3 \ | tar -xvzf fmodapi42416linux"$a".tar.gz -C zandronum --strip-components=3 \ | ||
Line 92: | Line 88: | ||
: Copy zandronum, zandronum.pk3, skulltag_actors.pk3, liboutput_sdl.so, zandronum-server and libfmodex64-4.24.16.so or libfmodex-4.24.16.so to /usr/games/zandronum: | : Copy zandronum, zandronum.pk3, skulltag_actors.pk3, liboutput_sdl.so, zandronum-server and libfmodex64-4.24.16.so or libfmodex-4.24.16.so to /usr/games/zandronum: | ||
cd "$HOME"/zandronum_local/zandronum && \ | cd "$HOME"/zandronum_local/zandronum && \ | ||
a='' && [ "$(uname -m)" = x86_64 ] && a=64 ; \ | |||
sudo cp -v zandronum zandronum.pk3 skulltag_actors.pk3 \ | sudo cp -v zandronum zandronum.pk3 skulltag_actors.pk3 \ | ||
liboutput_sdl.so zandronum-server libfmodex"$a"-4.24.16.so /usr/games/zandronum | liboutput_sdl.so zandronum-server libfmodex"$a"-4.24.16.so /usr/games/zandronum | ||
Line 121: | Line 113: | ||
=== Remove System-Wide Installation === | === Remove System-Wide Installation === | ||
: Remove /usr/games/zandronum directory and all its files: | : Remove /usr/games/zandronum directory and all its files: | ||
sudo rm -rfv /usr/games/zandronum | |||
: Remove zandronum script: | : Remove zandronum script: | ||
sudo rm -fv /usr/bin/zandronum | |||
: Remove zandronum-server script: | : Remove zandronum-server script: | ||
sudo rm -fv /usr/bin/zandronum-server | |||
= Troubleshooting = | = Troubleshooting = |