6 Arch Linux
stormdragon2976 edited this page 2023-02-10 09:37:05 -05:00

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.

  • 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 packages. but first, a note about lib32-ffmpeg and lib32-chromaprint.

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 use yay -G to grab the PKGBUILDs.

yay -G lib32-ffmpeg lib32-chromaprint

Next, build lib32-chromaprint:

cd lib32-chromaprint

Edit the PKGBUILD and change this line:

-DBUILD_TESTS=ON

So that it reads:

-DBUILD_TESTS=OFF

Delete the next line, it starts with -DGTEST_SOURCE_DIR. Also, delete the check() function. It is 6 lines long and starts with:

check() {

After that, run makepkg:

makepkg -si

If it complains about missing packages, install them with yay and try makepkg again.

Next, change to the lib32-ffmpeg directory:

cd ../lib32-ffmpeg

edit the PKGBUILD for lib32-ffmpeg. Find the line that reads:

--enable-cuda-llvm

and change it 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.

lib32 package requirements

  • 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