For Steam Deck, Fedora Silverblue, etc.
Note: A build is already available on Flathub under the name of Maniatic Launcher. Install it using
flatpak install flathub io.github.santiagocezar.maniatic-launcherKnow that this doesn't have the Plus DLC enabled.
Make sure to have flatpak-builder installed (package has the same name on most distros).
Also install the GNOME SDK (the launcher is written in GTK):
flatpak install org.gnome.Sdk//42Clone the manifest repository:
git clone --branch rsdkv5u --recurse-submodules https://github.com/santiagocezar/flathub
cd flathubIf you want to enable the Plus DLC, remove the AUTOBUILD=1 line in the io.github.santiagocezar.maniatic-launcher.yaml file.
Then compile with flatpak-builder:
flatpak-builder --force-clean build-dir io.github.santiagocezar.maniatic-launcher.yaml
flatpak build-export repo build-dirFinally, install it with:
flatpak install --reinstall ./repo io.github.santiagocezar.maniatic-launcherIt'll be available as Maniatic Launcher in your application uh, launcher.
On Arch Linux:
sudo pacman -S --needed glew glfw libtheora zlib sdl2On Ubuntu or Debian:
# Note: The decompilation needs GLFW 3.3+, only available from Ubuntu 20.04 and Debian 11.
sudo apt install libglew-dev libglfw3-dev libtheora-dev zlib1g-dev libsdl2-devOn Fedora:
sudo dnf install glew-devel glfw-devel libtheora-devel zlib-devel SDL2-develClone the decompilation:
git clone --recurse-submodules https://github.com/Rubberduckycooly/Sonic-Mania-Decompilation
cd Sonic-Mania-Decompilation/dependencies/RSDKv5/Compile with make:
make -j$(nproc)See also: Make options
Copy the Data.rsdk into bin/Linux/GL3/ and then run it with:
cd bin/Linux/GL3/
./RSDKv5 # or ./RSDKv5Uthanks to awefour44
Note: If you're using Raspbian to compile from git you'll need version 11 or later, same as Debian. To compile the flatpak the version does not matter.
The RPi doesn't support the OpenGL version used by the decomp. To work around this, run the decomp with these env variables:
MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 ./RSDKv5On Flatpak you can permanently set these variables using flatpak override:
flatpak override --env=MESA_GL_VERSION_OVERRIDE=3.3 --env=MESA_GLSL_VERSION_OVERRIDE=330 io.github.santiagocezar.maniatic-launcher