||2 years ago|
|.github/workflows||2 years ago|
|RSDKv3||2 years ago|
|RSDKv3 ios.xcodeproj||2 years ago|
|RSDKv3.vita||2 years ago|
|RSDKv3.xcodeproj||2 years ago|
|RSDKv3UWP||2 years ago|
|android||2 years ago|
|dependencies||2 years ago|
|props||2 years ago|
|resources||2 years ago|
|.clang-format||3 years ago|
|.gitignore||2 years ago|
|.gitmodules||2 years ago|
|Android.mk||2 years ago|
|LICENSE.md||2 years ago|
|Makefile||2 years ago|
|Makefile.3ds||2 years ago|
|README.md||2 years ago|
|RSDKv3.sln||2 years ago|
|RSDKv3SDL1.sln||2 years ago|
|RSDKv3UWP.sln||2 years ago|
|header.png||2 years ago|
SUPPORT THE OFFICIAL RELEASE OF SONIC CD
Without assets from the official release this decompilation will not run.
You can get the official release of Sonic CD from:
Even if your platform isn't supported by the official releases, you must buy it for the assets (you dont need to run the official release, you just need the game assets)
- Complete stereoscopic 3D (HW build only)
- Video playback support courtesy @Oreo639's 3ds-theoraplayer
- Built-in mod support, accessible from the Dev Menu
- There is now a settings.ini file that the game uses to load all settings, similar to Sonic Mania
- Dev menu can now be accessed from anywhere by pressing the SELECT button if enabled in the config
devMenuis enabled in the config, pressing the R button will activate a palette overlay that shows the game's 8 internal palettes in real time
How to build:
- Set up a working 3DS Homebrew Environment. You can find more information on this here.
- Make sure
RetroEngine.hppas necessary depending on what version of the port you want to build. If you want to build the software rendered version, set
make -f Makefile.3ds. Run
make -f Makefile.3ds ciato build a
Q: What's the difference between HW and SW builds?
A: SW builds use software rendering, using the same basic rendering backend that the PC/console ports of Sonic CD used. Rendering is more accurate, and all effects like scanline deformation and realtime palettes are supported. However, its rather CPU-intensive, and requires a N3DS to run at full-speed. HW builds use a completely custom Citro2D-based backend, using the 3DS's PICA200 to get graphics on-screen, and thus can run at full-speed on O3DS systems, in addition to supporting features like stereosopic 3D, however, certain features like realtime palettes aren't supported. tl;dr use HW if on O3DS or if you care about 3D, use SW if on N3DS.
Q: Why is the port separated into HW and SW builds?
A: Because that's how the base decomp was set up initially, at the time the port was started. I plan on integrating both backends into a single build eventually, however, this probably won't happen until the HW backend is complete.
Q: Why dont 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 callbacks, and I just didnt feel like going through the effort to decompile all that, since its not really worth it
Q: I found a bug/I have a feature request!
A: Submit an issue in the issues tab and I'll fix/add it (if possible). Keep in mind, however, I won't fix bugs that aren't exclusive to the 3DS port; if the issue also occurs on the base decomp (i.e. on PC), you're better off submitting the issue to the main branch.
Q: Is there a port of the Sonic 1/Sonic 2 decompilation?
A: Yes! You can check out @JeffRuLz's RSDKv4 port here.
Q: Why is video playback so slow?
A: You're going to want to scale down your videos for them to run well on 3DS. You can find pre-scaled versions of the videos here.
- Rubberduckycooly: For decompiling CD in the first place, as well as helping me out with a few aspects of the port.
- JeffRuLz: For implementing frame limiting and helping out with the SW backend, as well as for porting OpenHCL to the 3DS, which helped immensely in developing the Citro2D backend.
- Oreo639: For helping out with the Makefile, as well as being behind 3ds-theoraplayer, which the port uses to play back videos.
Join the Retro Engine Modding Discord Server for any extra questions you may need to know about the decompilation or modding it. My Discord is saturnsh2x2#3840, and while I'm not the most active on there, ping me if you have a question and I'll see what I can do.