Sonic Mania Decompilation
Sonic Mania Decompilation emulates Sonic Mania. It reads 1 file, 1 of them required: without a required file it does not start games.
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 Mania 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 sonic-maniaOpen 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 sonic-maniaTechnical notes
Full RSDKv5 decompilation of Sonic Mania (Christian Whitehead / Headcannon, 2017). Links against the shared RSDKv5-Decompilation engine. Game code lives in SonicMania/ and the engine in the dependencies/RSDKv5 submodule, the upstream repository. The paths below are relative to that repository.
LoadDataPack reads an RSDK v5 container: a 4-byte "RSDK" signature,
the letter v and a version byte, a 16-bit file count, then an MD5 name
hash, offset and size per entry. The signature is the only validation.
The engine never hashes the full pack.
ref: RSDKv5/ (LoadDataPack)
Settings.ini key Game:dataFile overrides the default "Data.rsdk". If
the ini is absent the engine still calls LoadDataPack("Data.rsdk").
ref: RSDKv5/,557
When no pack opens, LoadFile reads the same paths as loose files under
Data/ and the dev menu is turned on.
ref: RSDKv5/,
RSDKv5/
1 file: 1 required, 0 optional.
By kind: 1 game data.
In this collection: 0 in repo and 1 missing.
Game data
Section titled “Game data”Data.rsdk required missing game data
- System: Sonic Mania
- Sonic Mania game assets (RSDK v5 container, "RSDK" signature). Shipped inside the official Sonic Mania release (Steam, Epic, consoles). Without the pack the engine only finds the game if the same files sit extracted under Data/.
Source
- Asked for by: upstream emulator
- Source:
RSDKv5/(Game:dataFile default) (upstream emulator),RSDK/ User/ Core/ UserCore.cpp:313 RSDKv5/(no Settings.ini) (upstream emulator),RSDK/ User/ Core/ UserCore.cpp:557 RSDKv5/(LoadDataPack signature check) (upstream emulator)RSDK/ Core/ Reader.cpp:107-121
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