A full decompilation of Sonic CD 2011, based on the PC remake with improvements & tweaks from the mobile remakes. Ported to the Switch.
SUPPORT THE OFFICIAL RELEASE OF SONIC CDWithout assets from the official release, this decompilation will not run.
You can get the official release of Sonic CD from:
You can find downloads in releases.
/switch/scd2011
on your Switch's SD card. You will need the following files/folders:
NOTE: It is recommended to give the game full RAM access. This means you shouldn't launch hbmenu from the album applet when running this. With the latest Atmosphere build and its default config, you can hold R while starting any game to open hbmenu with full RAM access. If you have any issues make sure the game has full RAM access before reporting them; launching as an applet will not be supported.
Sections below are lifted directly from the source repository.
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)
Advantages over the PC version of Sonic CDESC
if enabled in the configF12
pause, F11
step over & fast forward debug features from Sonic Mania have all been ported and are enabled if devMenu
is enabled in the configdevMenu
is enabled in the config, pressing F9
will visualize hitboxes, and F10
will activate a palette overlay that shows the game's 8 internal palettes in real timeuseSteamDir
is set in the config, and the user is on Windows, the game will try to load savedata from Steam's userdata
directory (where the Steam version saves to)pacman -Syuu
in the prompt and hit Enter. Press 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-x86_64-gcc mingw-w64-x86_64-SDL2 mingw-w64-x86_64-libogg mingw-w64-x86_64-libvorbis mingw-w64-x86_64-libtheora mingw-w64-x86_64-glew
.git clone https://github.com/Rubberduckycooly/Sonic-CD-11-Decompilation.git
.cd Sonic-CD-11-Decompilation
.make -f Makefile.msys2 CXXFLAGS=-O2 CXX=x86_64-w64-mingw32-g++ STATIC=1 -j5
.
CXXFLAGS
option can be removed if you do not want optimizations.Data.rsdk
and videos
folder into the apps localstate folder.sudo apt install build-essential git libsdl2-dev libvorbis-dev libogg-dev libtheora-dev libglew-dev libtinyxml2-dev
sudo rpm install g++ SDL2-devel libvorbis-devel libogg-devel libtheora-devel glew-devel tinyxml2-devel
sudo pacman -S base-devel git sdl2 libvorbis libogg libtheora glew tinyxml2
git clone https://github.com/Rubberduckycooly/Sonic-CD-11-Decompilation.git
.cd Sonic-CD-11-Decompilation
.make CXXFLAGS=-O2 -j5
.
LIBS=-lstdc++fs
.CXXFLAGS
option can be removed if you do not want optimizations.android/app/jni
are correct. If not, fix them with the following on Windows:
mklink /D src ..\..\..
mklink /D SDL ..\..\..\dependencies\android\SDL
android/
in Android Studio, install the NDK and everything else that it asks for, and build.build.sh
from RSDKv3.vita
. If you are on Windows, WSL2 is recommended.
ux0:data/RSDKv3
to boot the game.Follow the installation instructions in the readme of each branch.
Because these branches are unofficial, we can't 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, libtheora & SDL2 to power it, 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.
Q: Why don't some buttons in the menu work?A: Buttons like leaderboards & achievements require code to be added to support online functionality & menus (though they are saved anyways), and other buttons like the controls button on PC or privacy button on mobile have no game code and are instead hardcoded through callback. I just didnt feel like going through the effort to decompile all that, since its not really worth it.
Q: Is the titlecard text slightly offset when using a PC datafile?A: Unfortunately, it's an error with the scripts. If you wanna go into TitleCards/R[X]\_TitleCard.txt
and fix it, be my guest, but the best fix is to set screenWidth
to 400, instead of 424 in the settings.ini file to match the PC version's resolution.
A: See above.
Q: The screen is tearing, how do I fix it?A: Try turning on VSync in settings.ini.
A: Submit an issue in the issues tab and we might fix it in the master branch. Don't expect any future releases, however.
Q: Will you do a decompilation for Sonic 1/Sonic 2?A: Yes! I've done a decompilation of RSDKv4 (the engine version that S1/S2 run on) and it can be found here!
Q: Will you do a decompilation for Sonic Mania?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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4