Skip to content

An updated 3DS port of the Sonic CD (2011) Decompilation

License

Notifications You must be signed in to change notification settings

Voxel9/Sonic-CD-11-3DS-Redux

 
 

Repository files navigation

A complete decompilation of Retro Engine v3.

SUPPORT THE OFFICIAL RELEASE OF SONIC CD

  • Without assets from the official release, this decompilation will not run.

  • You can get an official release of Sonic CD 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). Note that only FMV files from the original Steam release of the game are supported; mobile and Origins video files do not work.

3DS Port

Features

  • Built on recent decomp source, as of Feb 2025
  • Both Old and New 3DS supported
  • Fast hardware (GPU) rendering by default
  • (NEW) Software renderer supported, but slow special stages on N3DS, and slow in general on O3DS
  • (NEW) FMV playback (Currently slow on O3DS and choppy on N3DS, use ffmpeg to scale down OGVs)
  • (NEW) Mod support, set up and install them as you normally would
  • Stereoscopic 3D support (hardware renderer only)
  • Remappable keys in settings.ini (uses bitmasks from libctru)
  • Access dev menu at any time by pressing SELECT

Setup

  • Dump dspfirm.cdc from your 3DS, make sure it's at sdmc:/3ds/. This is necessary for audio to work.
  • For the best experience, use Data.rsdk from the official mobile version and place it at sdmc:/3ds/SonicCD/.
  • For the best experience, copy the decompiled scripts from here to sdmc:/3DS/SonicCD/Scripts/.
    • Make sure to set TxtScripts in settings.ini to true after doing this.
  • (Optional) To slightly improve loading times, extract Data.rsdk contents to sdmc:/3ds/SonicCD/Data/.
    • Make sure Data.rsdk itself is removed from sdmc:/3ds/SonicCD/ or set DataFile in settings.ini to blank.
  • (Optional) For FMV playback, copy the videos/ folder from the original Steam release to sdmc:/3ds/SonicCD/.
    • To ensure the best playback performance, scale down the OGV files to 400x240 using ffmpeg:
    • ffmpeg -i input.ogv -s 400x240 -c:v libtheora -q:v 7 -c:a libvorbis -q:a 4 output.ogv
  • (Optional) To set up mods, place any mod folders into sdmc:/3ds/SonicCD/mods/.
    • Also copy the decompiled scripts as instructed above if you haven't already, as most mods require them.

Building

  • Install devkitARM and 3ds-dev
  • Install the following packages: 3ds-sdl 3ds-libogg 3ds-libvorbisidec 3ds-libtheora
  • Clone/download this repository
  • cd to the RSDKv3.3DS folder
  • Run make

Acknowledgements

  • oreo639 - 3ds-theoraplayer code
  • Rubberduckycooly, st×tic, and RSDKv3-Decompilation contributors
  • Christian "Taxman" Whitehead - Original RSDKv3 author

Languages

  • C++ 81.5%
  • Java 16.6%
  • Makefile 1.4%
  • Other 0.5%