
Without assets from the official releases, this decompilation will not run.
For tutorials on how to find the game assets from your legally obtained copy of the game(s), see this tutorial for Android or this tutorial for iOS.
You can get the official releases of Sonic 1 & Sonic 2 from:
Even if your platform isn't supported by the official releases, you must buy or officially download it for the assets (you don't need to run the official release, you just need the game assets).
If you want to transfer your save(s) from the official mobile version(s), the Android pre-forever file path is Android/data/com.sega.sonic1 or 2/SGame.bin (other versions may have different file paths). Copy that file into the decompilation's folder with the name SData.bin.
settings.ini file that the game uses to load all settings, similar to Sonic Mania.ESC key if enabled in the config.F12 pause, F11 step over & fast forward debug features from Sonic Mania have all been ported and are enabled if devMenu is enabled in the config.F1 will load the first scene in the Presentation stage list (usually the title screen).F2 and F3 will load the previous and next scene in the current stage list.F5 will reload the current scene, as well as all assets and scripts.F8 and F9 will visualize touch screen and object hitboxes.F10 will activate a palette overlay that shows the game's 8 internal palettes in real time.pacman -Syuu in the prompt and hit Enter.Y when it asks if you want to update packages. If it asks you to close the prompt, do so, then restart it and run the same command again. This updates the packages to their latest versions.pacman -S pkg-config make git mingw-w64-i686-gcc mingw-w64-x86_64-gcc mingw-w64-x86_64-SDL2 mingw-w64-x86_64-libogg mingw-w64-x86_64-libvorbis mingw-w64-x86_64-glewgit clone --recursive https://github.com/Rubberduckycooly/Sonic-1-2-2013-Decompilation.gitcd Sonic-1-2-2013-Decompilation.make -f Makefile.msys2 CXX=x86_64-w64-mingw32-g++ CXXFLAGS=-static -j4.
Data.rsdk file into Sonic1Decomp.UWP or Sonic2Decomp.UWP depending on the game, then build and deploy via RSDKv4.UWP.sln.sudo apt install build-essential git libsdl2-dev libvorbis-dev libogg-dev libglew-dev libtheora-dev
libgbm-dev and libdrm-dev.sudo pacman -S base-devel git sdl2 libvorbis libogg glew libtheoragit clone --recursive https://github.com/Rubberduckycooly/Sonic-1-2-2013-Decompilation.gitcd Sonic-1-2-2013-Decompilation.make -j5.
LIBS=-lstdc++fs.android/app/jni are correct. If not, fix them with the following on Windows:
mklink /D src ......mklink /D SDL ......dependenciesandroidSDLandroid/ in Android Studio, install the NDK and everything else that it asks for, and build.Follow the installation instructions in the readme of each branch.
Because these branches are unofficial, we cannot provide support for them and they may not be up-to-date.
Currently the only supported platforms are the ones listed above, however the backend uses libogg, libvorbis & SDL2 to power it (as well as tinyxml2 for the mod API and asio for networking), so the codebase is very multiplatform. If you're able to, you can clone this repo and port it to a platform not on the list.
The multiplayer server requires Python 3.8 or later. You can download Python here.
To use the server, open Command Prompt in the folder Server.py is located in, then run the command py -3 Server.py [local IPv4 address] [port] debug. You can find your local IPv4 address using the command ipconfig.
Note that the CPP server found in the Server folder in the repo has been deprecated and no longer works. It has been kept in the repo for reference purposes.
A: Try turning on VSync in settings.ini.
A: Submit an issue in the issues tab and we might fix it in the main branch. Don't expect any future releases, however.
A: I already have! You can find it here.
A: No. Sonic Mania is much bigger and requires that I'd decompile not only how the (far more complex) RSDKv5 works, but also all 600+ objects work.
Join the Retro Engine Modding Discord Server for any extra questions you may need to know about the decompilation or modding it.