Skip to content
PORTSNATIVE.
HomeCatalog
Web GamesEmulatorsToolsNews
PORTSNATIVE.

A catalog for discovering ports and related projects. We link to official sources and do not host original game files.

ExploreCatalogMy list
InformationAbout usSuggest a portSupportDonationsLegal notice
© 2026 PortsNative
Back to catalog
Sonic the Hedgehog (2013) (RSDKv4-Script-Decompilation)
PORTSNATIVE

Sonic the Hedgehog (2013) (RSDKv4-Script-Decompilation)

NATIVE PORTPLATFORMERWINDOWSALPHA

Sonic the Hedgehog (2013) (RSDKv4-Script-Decompilation)

Sonic the Hedgehog (2013)

TechnologyDecompilation and reconstruction in C/C++

Available forWindows

View official project

About the project

El término null, nulo o nil es a menudo utilizado en la computación para hacer referencia a la nada. Su significado y uso varía según el lenguaje de programación.

Official project information

Author's original READMEOpen on GitHub ↗

RSDKv4 Script Decompilation

A full decompilation for the scripts in Sonic 1 & 2's 2013 mobile remakes, and the Sega Classics port of Sonic CD for Amazon Fire TV.

These scripts have been manually reverted back to what the original scripts could've looked like. This means that:

  • Function IDs have been recoverted back to proper function names
  • Functions are in the proper order
  • Default aliases have been re-added where possible
  • Re-added static variables and tables
  • Added editor renders and variables for (almost) every object
  • Origins code has been included via the use of #platform: markers, for Sonic 1 and 2.

Some portions of the code have been slightly modified for compatibility purposes.


Sonic CD (Sega Classics)

The scripts included here are to be used with the 2018 Amazon Fire TV release of Sonic CD found in the Sega Classics app. However, running this version will require you to use a branch of RSDKv4 for optimal compatibility, which you can find here.


To use these scripts in mods:

  • RSDKv4/RSDKv5U Decompilation: Extract the Scripts folder to the exe's root directory: eg [rootdir]/Scripts/.
  • Sonic Origins (Requires Hedge Mod Manager):
    • Navigate to the game's executable directory. The easy way to get to it is by clicking Open Game Directory in the Settings tab of Hedge Mod Manager.
    • Once you're there, extract the Scripts folder into a folder named Sonic1u or Sonic2u in the exe's root directory: eg [rootdir]/Sonic1u/Scripts/.

Make sure you use the appropriate Scripts folder for the game you're trying to run. Mods are only required to include the scripts that have been changed.

For anyone curious about how RSDKv4's scripting language works, check out the handbook (RetroScript Handbook v4.pdf) we made to help get people into using RetroScript v4. We recommend downloading the handbook as it makes it easier to navigate.

View official project
CALIFICACIÓN
—
Loading votes…
Advertisement

PROJECT FILE

Project type
NATIVE PORT
Genre
Platformer
Status
alpha
Original platform
—
Technology
Decompilation and reconstruction in C/C++
Version
—
Updated
—

Target platforms 1

Windows
View on GitHub
Advertisement