Sonic Robo Blast 2 v2.1

Fork maintained by PASRC

    Building from source code

    1. Download and install all of the necessary components:

    sudo apt install make libsdl2-dev libsdl2-mixer-dev nasm libpng-dev zlib1g libupnp-dev libgme-dev libgme0 libopenmpt-dev upx-ucl libcurl4-gnutls-dev build-essential

    2. Download the SRB2 source code and access the directory its source code is in:

    git clone https://github.com/PandaSRC/srb2-legacy && cd srb2-legacy

    3. Build SRB2:

    If 32-bit:

    make -C src/ LINUX=1 LIBGME_LDFLAGS=-lgme LIBGME_CFLAGS=

    If 64-bit:

    make -C src/ LINUX64=1 LIBGME_LDFLAGS=-lgme LIBGME_CFLAGS=

    5. Access the directory the newly-compiled binary is in:

    If 32-bit:

    cd bin/Linux/Release

    If 64-bit:

    cd bin/Linux64/Release

    6. Move the binary to the default location for executable files:

    sudo mv srb2legacy /usr/local/bin/srb2legacy

    7. Create a local SRB2 directory where most of the SRB2 data will be stored:

    cd && mkdir ".srb2_21" && cd ".srb2_21"

    8. Download SRB2 libraries:

    wget https://nzarx.github.io/srb2/srb2.1.tar.xz

    9. Extract them and delete the tar.xz file:

    tar xf "srb2.1.tar.xz" && rm "srb2.1.tar.xz"

    10. Exit the directory and move the SRB2 icon to a specific directory so that it can be seen in the shortcut file:

    cd && mv srb2-legacy/srb2.png $HOME/.icons/srb2_21.png

    11. The source code folder is no longer needed, the command below deletes it:

    rm -r srb2-legacy

    12. Download the shortcut file:

    wget https://nzarx.github.io/srb2/srb2_21.desktop

    13. Move said shortcut file to the local shortcut directory:

    mv srb2-2.1.desktop .local/share/applications/srb2_21.desktop

That is all you need to do! You can now launch and play Sonic Robo Blast 2.
Go back