How to build Sonic Robo Blast 2


From the official website:

Sonic Robo Blast 2 is a 3D open-source Sonic the Hedgehog fangame built using a modified version of the Doom Legacy port of Doom. SRB2 is closely inspired by the original Sonic games from the Sega Genesis, and attempts to recreate the design in 3D. While SRB2 isn't fully completed, it already features tons of levels, enemies, speed, and quite a lot of the fun that the original Sonic games provided.

First, simply follow the according instructions in the SRB2 Wiki. Then optionally install the generated binary to anywhere in your $PATH:

# install -Dm755 ./bin/lsdl2srb2 /usr/bin/srb2

Now download the latest 'Full' ZIP archive from the Releases GitHub page. It has the (required) resource files.

Extract the file. It will extract to your current directory, so be careful: unzip file.zip -d srb2

Then with the required permissions, enter the directory and install the resource files to /usr/share/games/SRB2:

# install -d /usr/share/games/SRB2
# install -m644 models.dat {player,music}.dta {srb2,zones,patch_music,patch}.pk3 /usr/share/games/SRB2
# cp -r models /usr/share/games/SRB2/models
	

Now remove the release ZIP and try to start the game.