How to build and setup on Arch.md - tx00100xt/SeriousSamClassic GitHub Wiki

How to build and setup on Arch Linux.

To build under Arch Linux, you should use the package serioussam from AUR.

Installing dependencies

sudo pacman -S --needed base-devel
sudo pacman -S cmake git wget sdl2 nasm zlib libogg libvorbis vulkan-headers vulkan-validation-layers

Download serioussam snapshot

wget https://aur.archlinux.org/cgit/aur.git/snapshot/serioussam.tar.gz

Unpack and build

tar -xzvpf serioussam.tar.gz
cd serioussam
makepkg
sudo pacman -U serioussam-1.10.5-2-x86_64.pkg.tar.zst

Download serioussam-alpha snapshot

wget https://aur.archlinux.org/cgit/aur.git/snapshot/serioussam-alpha.tar.gz

Unpack and build

tar -xzvpf serioussam-alpha.tar.gz
cd serioussam-alpha
makepkg
sudo pacman -U  serioussam-alpha-1.5-2-x86_64.pkg.tar.zst

Game resources

To start the game, you'll need the original resurces of a licensed copy of Serious Sam: The First Encounter and Serious Sam: The Second Encounter.

Steam version.

If you have a digital copy of the game on Steam then the resources can be found in ~/.local/share/Steam/steamapps/common/Serious Sam Classic The Second Encounter/ (the default Steam game installation directory on Linux).

sudo cp -vfr "$HOME/.local/share/Steam/steamapps/common/Serious Sam Classic The First Encounter/"{*.gro,Levels,Help} /usr/share/serioussam
sudo cp -vfr "$HOME/.local/share/Steam/steamapps/common/Serious Sam Classic The Second Encounter/"{*.gro,Levels,Help} /usr/share/serioussamse

GOG version.

If you bought a digital on GOG, you can unpack the resources with the innoextract CLI tool. To install innoextract via your package manager, run:

sudo pacman -S innoextract

Copy files "setup_serious_sam_the_first_encounter_2.0.0.10.exe" and "setup_serious_sam_the_second_encounter_2.1.0.8.exe" to a home directory and run the following commands:

innoextract --gog setup_serious_sam_the_first_encounter_2.0.0.10.exe
sudo cp -vfr "app/"{*.gro,Levels,Help} /usr/share/serioussam
rm setup_serious_sam_the_first_encounter_2.0.0.10.exe
rm -rf app
rm -rf tmp
innoextract --gog setup_serious_sam_the_second_encounter_2.1.0.8.exe
sudo cp -vfr "app/"{*.gro,Levels,Help} /usr/share/serioussamse
rm setup_serious_sam_the_first_encounter_2.0.0.10.exe
rm -rf app
rm -rf tmp
rm -rf commonappdata

Physical version.

If you bought a physical copy of the game and you have an ISO of your disk, you can unpack the resources with the any archive manager. Game resources are located in the Install directory of the disk. Just copy all content from there to directories /usr/share/serioussam and /usr/share/serioussamse, respectively, for games Serious Sam: The First Encounter and Serious Sam: The Second Encounter.

Launching the game.

After installation, shortcuts for launching games will appear in the menu,

menu