• Stars
    star
    122
  • Rank 292,031 (Top 6 %)
  • Language
  • Created almost 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Sonic 1/2 2013 Script Decompilation

A full decompilation for the scripts in Sonic 1 & 2's 2013 mobile remakes.

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

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

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 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 Sonic 1/2'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.

More Repositories

1

Sonic-1-2-2013-Decompilation

A complete decompilation of Sonic 1 & Sonic 2 (2013) & Retro Engine (v4)
C++
913
star
2

Sonic-Mania-Decompilation

A complete decompilation of Sonic Mania (2017)
C
596
star
3

Sonic-CD-11-Decompilation

A Full Decompilation of Sonic CD (2011) & Retro Engine (v3)
C++
579
star
4

RSDKv5-Decompilation

A complete decompilation of Retro Engine (v5)
C++
379
star
5

Sonic-CD-2011-Script-Decompilation

117
star
6

RSDK-Reverse

A collection of libraries for the RSDK (Retro Engine Software Development Kit) file formats
C#
50
star
7

Sonic-Nexus-Decompilation

a Decompilation of the 2008 Retro-Sonic Engine Demo of Sonic Nexus
C++
33
star
8

RSDKv5-Example-Mods

A set of example mods using RSDKv5
C
30
star
9

GameAPI

Sonic Mania Modding API
C++
25
star
10

RetroED

a general purpose editor for all RSDK versions below RSDKv5
C#
20
star
11

Retro-Engine-Animation-Editor

a tool to edit the animation files for every Retro Engine/Retro Sonic Engine game!
C#
17
star
12

Sonic-1-2-Save-Editor

A save file editor for the Retro Engine Sonic 1 & 2 Remasters
C#
16
star
13

Sonic-Mania-Shader-Decompilation

a decompilation of each of mania's shaders back into HLSL 3.0
GLSL
10
star
14

SonicCD-SaveEditor

A Save file Editor for Sonic CD (2011)
C#
9
star
15

ModelManiac

Importer and exporter for RSDK model formats
C#
8
star
16

ConfigManiac

an editor for RSDKv5 Config files
C#
7
star
17

LinkAPI

a simple-to-use api for developing DLL mods for sonic mania
C
7
star
18

Tile-Maniac

RSDKv5 Collision Editor
C#
7
star
19

PDN-RSDK-GFX-Plugin

A Paint.net plugin that allows direct editing of the RSDK's .gfx files
C#
6
star
20

ObjectTypeFixer

A simple tool to `re-align` Object Types for incase gameconfig object count was changed
C#
4
star