Multilib
If you are on an x86_64 machine you will need to make sure multilib is enabled. To find out if your computer is x86_64, run the following command. Note that commands with a $ before them can be ran as your normal user while commands with a # before them must be ran as root most likely with sudo.
uname -m
If your computer is x86_64, edit your /etc/pacman.conf file as root and uncomment the multilib repository. Note that there are both multilib and multilib testing repositories, you want just multilib, and not the testing repository.
Before installing packages, make sure repositories are all updated with the command:
pacman -Syy
Packages
Here is a list of packages required for both audiogame-manager and games installed by it to work optimally:
pacman -S curl dialog cabextract gawk dos2unix unzip w3m wine winetricks wine_gecko wine-mono sdl2 ncurses mpg123 libpulse libpng libjpeg-turbo gnutls alsa-plugins alsa-lib mesa openal xz gst-plugins-bad gst-plugins-good gst-plugins-ugly gst-libav p7zip sox sqlite3 translate-shell unrar xclip
In addition, if you are on an x86_64 machine, you will need the following lib32 packages:
pacman -S lib32-sdl2 lib32-ncurses lib32-mpg123 lib32-libpulse lib32-libpng lib32-libjpeg-turbo lib32-gnutls lib32-alsa-plugins lib32-alsa-lib lib32-mesa lib32-openal lib32-gst-plugins-good lib32-gst-plugins-bad lib32-gst-plugins-ugly lib32-gst-libav
Note: lib32-ffmpeg and lib32-chromaprint may require manual compilation (see below).
lib32-ffmpeg and lib32-chromaprint
These packages both fail for some people. If that happens, some of the older games especially and some of the newer ones will not work or at the very least will not have sound. Since these are audio games, not having sound is pretty much synonymous with not working.
To fix this problem, compile the packages by hand with makepkg. First get the PKGBUILDs:
yay -G lib32-ffmpeg lib32-chromaprint
Building lib32-chromaprint:
cd lib32-chromaprint
Edit the PKGBUILD and change:
-DBUILD_TESTS=ON
to:
-DBUILD_TESTS=OFF
Delete the line starting with -DGTEST_SOURCE_DIR
and remove the check()
function (6 lines starting with check() {
).
Then run makepkg:
makepkg -si
Building lib32-ffmpeg:
cd ../lib32-ffmpeg
Edit the PKGBUILD and change:
--enable-cuda-llvm
to:
--disable-cuda-llvm
Run makepkg:
makepkg -si
If it complains about missing packages, install them with yay and try makepkg again.
Note that you can delete the lib32-chromaprint and lib32-ffmpeg directories after the packages have installed. If you are doing updates and see these packages available, you may need to update them manually following the instructions above.
Getting audiogame-manager
Clone the repository:
git clone https://git.stormux.org/storm/audiogame-manager
cd audiogame-manager
Make it executable:
chmod +x audiogame-manager.sh
Check dependencies:
./audiogame-manager.sh -c