Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Sonic the Hedgehog (Mobile Decompilation)

From PCGamingWiki, the wiki about fixing PC games

This page is for the decompiled port of the 2013 mobile port. For the 2010 emulated release, see Sonic the Hedgehog.

Sonic the Hedgehog (Mobile Decompilation)
Sonic the Hedgehog (Mobile Decompilation) cover
Original Sonic Team
Remaster Christian Whitehead
Remaster Headcannon
Windows Rubberduckycooly
macOS (OS X) Sappharad
Original Sega
Retro Engine
Release dates
Windows January 17, 2021
macOS (OS X) January 17, 2021[1]
Linux TBA
Monetization Free-to-play
Modes Singleplayer
Pacing Real-time
Perspectives Scrolling, Side view
Controls Direct control
Genres Platform
Art styles Cartoon, Pixel art
Series Sonic the Hedgehog
Sonic the Hedgehog (Mobile Decompilation) on HowLongToBeat
Sonic the Hedgehog (Mobile Decompilation) guide on StrategyWiki
Sonic the Hedgehog (Mobile Decompilation) on MobyGames
Sonic the Hedgehog (Mobile Decompilation) on Wikipedia
Sonic the Hedgehog fangames (series)
Sonic CD 1995
Sonic's Schoolhouse 1996
Sonic 3D Blast (series)
Sonic & Knuckles Collection 1997
Sonic R (series)
Sonic Adventure (series)
Sonic Heroes 2004
Sonic Mega Collection Plus 2006
Sonic Riders 2006
Sonic Racing (series)
Sonic the Hedgehog 2010
Dr. Robotnik's Mean Bean Machine 2010
Sonic Spinball 2010
Sonic the Hedgehog 2 2011
Sonic 3 & Knuckles 2011
Sonic Generations 2011
Sonic CD (2012) 2012
Sonic the Hedgehog 4: Episode I 2012
Sonic the Hedgehog 4: Episode II 2012
Sonic Dash 2014
Sonic Lost World 2015
Sonic Mania 2017
Sonic Forces 2017
Sonic the Hedgehog (Mobile Decompilation) 2021
Sonic the Hedgehog 2 (Mobile Decompilation) 2021
Sonic Colors: Ultimate 2021
Sonic Origins 2022
Sonic Frontiers 2022
The Murder of Sonic the Hedgehog 2023

Sonic the Hedgehog (Mobile Decompilation) is a cartoon side view platform game in the Sonic the Hedgehog series. It is an open-source decompilation of the 2013 Retro Engine remaster of Sonic the Hedgehog originally developed by Christian Whitehead and Headcannon and published by Sega for Android and iOS devices. It has been ported to various platforms by Rubberduckycooly and other contributors.

The 2013 Retro Engine remasters of Sonic the Hedgehog and Sonic the Hedgehog 2 were initially developed for Android and iOS devices. They became ad-supported and free-to-play in 2017 with other Sega Forever branded apps, but unlike the 2012 Retro Engine remaster of Sonic CD, it remained exclusive to mobile platforms for many years. Rubberduckycool, along with assistance from RMGRich, have developed this open-source decompilation port to allow the game to be played natively on other platforms but requires the Data.rsdk file extracted from the mobile version's APK to run. The initial Windows release of the decompilation port was released on January 17, 2021 and a fork for macOS was also released by Sappharad. The decompilation port initially only featured a basic developer interface to navigate through the game's menus and settings and it also introduced various issues not seen in previous releases of the game such as the bumpers in Spring Yard Zone causing players to get stuck in certain places, crashes during the credits, or the game freezing when attempting to access the developer menu. Many of these issues has been addressed in later updates of the decompilation port.

The decompilation port currently features the ability to toggle screen filters, configurable settings through its configuration file similarly to Sonic Mania, and features a built-in mod loader. An official port of the 2013 Retro Engine remaster is featured in Sonic Origins.

General information

Sonic Retro - A huge fan site for everything Sonic the Hedgehog. Mods for all the series can also be found here.


Source DRM Notes Keys OS
Developer website
macOS fork by Sappharad.
macOS (OS X)
Linux version requires building from the source code.

Game data

Configuration file(s) location

System Location
Windows <path-to-game>\settings.ini[Note 1]
<path-to-game>\mods\modconfig.ini[Note 1]
Linux $XDG_CONFIG_HOME/RSDKv4/settings.ini

Save game data location

System Location
Windows <path-to-game>\SData.bin[Note 1]
<path-to-game>\UData.bin[Note 1]


General settings.
General settings.

Graphics feature State Notes
Widescreen resolution
Scaled from 424x240; see Widescreen resolution.
Impossible due to various script issues.[2]
Impossible due to various script issues.[2]
4K Ultra HD
Scaled from 424x240 to desktop resolution in Fullscreen mode. Menus scale with screen width.[3]
Field of view (FOV)
Displayed in Windowed mode by default. Can be toggled by pressing F4. See Windowed to enable Fullscreen mode when launching the game.
Borderless fullscreen windowed
Only window borders can be disabled.
Anisotropic filtering (AF)
Anti-aliasing (AA)
Screen rotation is not anti-aliased.
Vertical sync (Vsync)
Disabled by default. See Vertical sync (Vsync).
60 FPS
120+ FPS
Game speed is tied to frame rate. Run at 60 FPS only.
High dynamic range display (HDR)

Widescreen resolution

This decompilation port is designed for a definition of 424x240, however, unlike Sonic Mania, only the screen width can be adjusted.
Set custom screen width in settings.ini[4]
  1. Open <path-to-game>\settings.ini.
  2. Adjust ScreenWidth= as needed.


Fullscreen may not work properly on integrated graphics.
Set fullscreen on launch in settings.ini[4]
  1. Open <path-to-game>\settings.ini.
  2. Change FullScreen=false to FullScreen=true.
    • If set to false, the window size can be multiplied with WindowScale=. The window decorations and desktop can be hidden by using IntegerScaler.

Vertical sync (Vsync)

Enabling Vsync in settings.ini[4]
  1. Open <path-to-game>\settings.ini.
  2. Change VSync=false to VSync=true.


Controller layout.
Controller layout.

Keyboard and mouse State Notes
Key bindings must be configured manually by editing settings.ini. Keycode bindings are based on SDL Scancode Lookup codes. Developer functions such as accessing the developer menu or visualizing touchscreen elements cannot be rebound.
Mouse acceleration
Mouse is not used in-game
Mouse sensitivity
Mouse input in menus
Only main menu and some parts of the game can be interacted with the mouse.[5]
Mouse Y-axis inversion
Controller support
Full controller support
Controller remapping
Controller mapping must be configured manually by editing settings.ini. Controller inputs are based on SDL Game Controller Button codes.
Controller sensitivity
Digital movement.
Controller Y-axis inversion
Controller types
XInput-compatible controllers
Xbox button prompts
Impulse Trigger vibration
DualShock 4 controllers
DualShock button prompts
Light bar support
Connection modes USB, Bluetooth, V1
Generic/other controllers
Button prompts
Additional information
Controller hotplugging
Haptic feedback
Simultaneous controller+KB/M


Audio feature State Notes
Separate volume controls
Music, Sound FX.
Surround sound
Closed captions
Mute on focus lost
See Mute on focus lost.

Mute on focus lost

If set to true, disables the game pausing when focus is lost.
Toggle focus pause[4]
  1. Open <path-to-game>\settings.ini.
  2. Change DisableFocusPause=false to DisableFocusPause=true


Language UI Audio Sub Notes
Set Language= to 0 in settings.ini.
Simplified Chinese
Set Language= to 9 in settings.ini.
Traditional Chinese
Set Language= to 10 in settings.ini.
Set Language= to 1 in settings.ini.
Set Language= to 3 in settings.ini.
Set Language= to 2 in settings.ini.
Set Language= to 5 in settings.ini.
Set Language= to 8 in settings.ini.
Set Language= to 6 in settings.ini.
Set Language= to 7 in settings.ini.
Set Language= to 4 in settings.ini.

Issues fixed

B button input opens the pause menu

This issue was introduced when the Sega Forever team attempted to remove the debug mode and level select feature in newer updates of the game.[8]
Install and enable Script Decompilation[9][10]
  1. Download the Sonic 1/2 2013 Script Decompilation.
  2. Extract its contents to its own folder in a convenient location on the computer.
  3. Go into the Sonic 1 folder, then copy the Scripts folder and paste it into <path-to-game>.
  4. Open settings.ini with a text editor, then change the value of TxtScripts= to true, and save the changes.

Other information


Executable 32-bit 64-bitARM Notes
The main project's files are 32- and 64-bit. The GitHub page's UWP build guide seem to result in an architecture-neutral (with ARM) app.[11]
macOS (OS X)
The macOS release pages mention it was "Tested on both Intel and Apple Silicon Macs", without elaborating further on if it supports ARM.[12]


Middleware Notes
Input SDL2 2.0.14.


As of v1.1.2, the mobile decompilation features a built-in mod loader, however, toggling activation and rearranging the load order of each mod either requires enabling developer mode in settings.ini or manually editing <path-to-game>\modconfig.ini (see this tutorial for more details). Some mods may not have been updated to newer versions of the mobile decompilation or its scripts, while many older mods may lack the necessary files and folder structure to use the mobile decompilation's mod loader feature. Other mods may not be compatible with each other unless stated otherwise. The mobile decompilation port's load order priority is bottom to top.
RSDK Mod Loader eases the installation and management of mods without replacing core data files. Decompilation ports of Sonic CD (RSDKv3), Sonic the Hedgehog 2 (RSDKv4), and Sonic Mania (RSDKv5/U) are also supported.

Featured mods


  • Press Start Fix - Fixes the "Press Button" text on each character's title screen leftover from the mobile version by replacing the game's title screen graphics.
  • Fixed "Press Start Button" Text - A mod that is similar to the above but it fixes the "Press Button" text through script editing instead.

Audio/visual enhancements

  • Hardware Accurate Colors - Restores the original color palette of the Sega Genesis version based on the video output from the BlastEm emulator.
  • Original Genesis Music - Replaces the remastered soundtrack with the original music from the Sega Genesis version.

Sonic the Hedgehog Forever

Sonic the Hedgehog Forever is a modified port of the mobile decompilation that uses a new menu system, adds options for abilities from Sonic CD and Sonic Mania, features visual and sound enhancements, a built-in Achievements system, restores elements from the Sega Genesis version, and other quality-of-life improvements. Due to the changes made to this port, mods and save data for the original mobile decompilation are not compatible with Sonic the Hedgehog Forever. It is available as a standalone port or a mod for the original mobile decompilation.

System requirements

Operating system (OS)
Processor (CPU)
System memory (RAM)
Hard disk drive (HDD)


  1. 1.0 1.1 1.2 1.3 When running this game without elevated privileges (Run as administrator option), write operations against a location below %PROGRAMFILES%, %PROGRAMDATA%, or %WINDIR% might be redirected to %LOCALAPPDATA%\VirtualStore on Windows Vista and later (more details).


  1. 1.0.0 Mac Build - Sappharad/Sonic-1-2-2013-Decompilation - last accessed on 2022-05-31
  2. 2.0 2.1 1.1.0 - Various issues with ultrawide resolutions. · Issue #164 · Rubberduckycooly/Sonic-1-2-2013-Decompilation
  3. Verified by User:AmethystViper on 2022-05-31
  4. 4.0 4.1 4.2 4.3 Verified by User:Keith on 2022-02-12
  5. Verified by User:AmethystViper on 2022-05-31
  6. Verified by User:AmethystViper on 2022-05-31
    Tested with a V1 controller,
  7. Verified by User:AmethystViper on 2022-05-31
    Tested with a Logitech F310 in DirectInput mode.
  8. S1,2&CD: Pressing B while in-game makes Sonic jump and pauses the game - Rubberduckycooly/Sonic-1-2-2013-Decompilation - last accessed on 2022-05-31
  9. S1,2&CD: Pressing B while in-game makes Sonic jump and pauses the game, reply from MegAmi24 - Rubberduckycooly/Sonic-1-2-2013-Decompilation - last accessed on 2022-06-01
  10. Verified by User:AmethystViper on 2022-06-01
    Tested without any mods installed.
  11. RSDKv4.UWP.sln - last accessed on 21 July 2022
  12. Releases • Sappharad/Sonic-1-2-2013-Decompilation - last accessed on 21 July 2022
  13. Package Details: sonic-1 - last accessed on 21 July 2022