Sonic 1 & 2 (2013) Decompilation
Sonic 1 & 2 (2013) Decompilation emulates Sonic the Hedgehog (2013) and Sonic the Hedgehog 2 (2013). It reads 2 files, 2 of them required: without a required file it does not start games. A required file is needed only by the machines that use it. Each file below cites the line of source code that reads it.
About this profile
Install this emulator's files
With Batocera, RetroBat or KNULLI: the installer finds Batocera, RetroBat or KNULLI and its BIOS folder, then downloads only the files Sonic 1 & 2 (2013) Decompilation reads there and checks each one.
Open Start. Type PowerShell, press Enter. Click Copy. Right-click to paste. Press Enter.
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator sonic2013Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator sonic2013Technical notes
Shared Retro Engine v4 decompilation driving the 2013 Christian Whitehead
mobile ports of Sonic the Hedgehog and Sonic the Hedgehog 2. One binary
per build. The game identity is derived from the GameConfig.bin inside
the loaded data pack (gameWindowText "Sonic 1" or "Sonic 2").
ref: RSDKv4/RetroEngine.cpp:423, RSDKv4/ModAPI.cpp:428
CheckRSDKFile opens the data pack and compares its first six bytes to
the "RSDKvB" signature. There is no checksum test. The engine falls
back to a loose Data/ + Bytecode/ tree if the pack is absent. When
GameConfig.bin cannot be loaded either way it writes a usage.txt that
asks for a pack named Engine.dataFile[0] (default "Data.rsdk").
ref: RSDKv4/Reader.cpp:25-102, RSDKv4/RetroEngine.cpp:296-331,
RSDKv4/Userdata.cpp:251-263, RSDKv4/RetroEngine.cpp:483-520
Up to four packs can be mounted (DataFile, DataFile2..4 in the Dev
section of settings.ini), and the extras default to Data2.rsdk, Data3.rsdk,
Data4.rsdk once declared.
ref: RSDKv4/Reader.hpp:38, RSDKv4/RetroEngine.cpp:324-331,
RSDKv4/Userdata.cpp:396-408
2 files: 2 required, 0 optional.
By kind: 2 game data.
In this collection: 0 in repo and 2 missing.
Game data
Section titled “Game data”Data.rsdk required for Sonic the Hedgehog (2013) missing game data
- System: Sonic the Hedgehog (2013)
- Sonic the Hedgehog (2013) assets. Shipped with the official Sonic Origins release and the delisted iOS/Android apps. The engine checks the six-byte signature only. Content identity is read from the embedded GameConfig.bin, not the pack hash.
Source
- Source:
RSDKv4/Userdata.cpp:251-252(default name),RSDKv4/Userdata.cpp:396-397(Dev:DataFile),RSDKv4/RetroEngine.cpp:316-321(CheckRSDKFile call),RSDKv4/Reader.cpp:38-46(signature check)
Data.rsdk required for Sonic the Hedgehog 2 (2013) missing game data
- System: Sonic the Hedgehog 2 (2013)
- Sonic the Hedgehog 2 (2013) assets. Shipped with the official Sonic Origins release and the delisted iOS/Android apps. Same default file name as Sonic 1. Dev:DataFile in settings.ini names another.
Source
- Source:
RSDKv4/Userdata.cpp:251-252(default name),RSDKv4/Userdata.cpp:396-397(Dev:DataFile),RSDKv4/RetroEngine.cpp:316-321(CheckRSDKFile call),RSDKv4/Reader.cpp:38-46(signature check)
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start