.RSDK

RSDK File

Retro Engine Data Archive (Retro SDK Archive)
Ask a question
QUICK ANSWER

An .rsdk file is a Retro Engine data archive: a single container that holds most of a game's assets, such as sprites, level layouts, audio and configuration files. It is the format used by Christian Whitehead's Retro Engine in titles like Sonic CD (2011), Sonic Mania and Sonic Origins. The game loads it automatically, so you rarely open one by hand, but modders unpack it with community tools such as RetroED or RSDKv5Extract on Windows.

Developer: Christian Whitehead (Retro Engine); SEGA Category: Game Files MIME: application/octet-stream
OPENS ON Windows macOS Linux
Related: .OBB · .PAK · .ROFL · .PACKAGE

On this page

19k+ extensions indexed
Last reviewed Aug 10, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the RSDK file format?

A file with the .rsdk extension is a Retro Engine data archive. It bundles most of a game's assets into one container: character sprites, tile sets, stage layouts, object data, configuration files and Ogg music. The format comes from RSDK, the Retro Software Development Kit built by Christian Whitehead and later used by SEGA for official classic-Sonic releases. You will find these archives, usually named Data.rsdk, in Sonic CD (2011), the Sonic 1 & 2 mobile remasters, Sonic Mania and Sonic Origins.

The engine went through several revisions, and the archive format changed with each. RSDKv1 and v2 date to early fangame builds, v3 shipped with the 2011 Sonic CD remaster, v4 with the 2013 mobile remasters, and v5 (plus a v5U variant) with Sonic Mania and Sonic Origins. In an RSDKv5 file the header starts with the text RSDKv5, followed by a file count and a table of entries. Filenames are stored as MD5 hashes rather than readable paths, and most file contents are scrambled with a custom XOR cipher.

Security & safety

RISK: LOW

An .rsdk file is passive game data, not an executable, so opening or extracting it does not run code. The main practical risk is legal and technical: the assets are copyrighted by SEGA, and repacking a datapack incorrectly can corrupt a game install, so keep a backup of the original Data.rsdk before editing.

Format details

in a nutshell
FULL NAMERetro Engine Data Archive (Retro SDK Archive)aka Retro Engine datapack, Data.rsdk
DEVELOPERChristian Whitehead (Retro Engine); SEGAsince 2011 (Sonic CD remaster, RSDKv3); RSDK lineage from 2007
CATEGORYGame Files
MIME TYPEapplication/octet-stream
TYPEBinary game asset archive (container)
This extension is also used by…
  • Renoise Instrument (older builds) - Some legacy references map .rsdk-style names to sampler data, but this is unrelated to the Retro Engine archive and is not the dominant meaning.
MAGIC BYTES · FILE SIGNATURE
OFFSET
000102030405
HEX
5253444B7635
ASCII
RSDKv5
The ASCII string 'RSDKv5' marks a version 5 archive (Sonic Mania). The version digit changes between engine revisions, so a single fixed signature does not cover every .rsdk file; older versions (RSDKv1 through RSDKv4) use different or minimal headers.

Programs that open RSDK files

Windows4 apps
RetroED / RetroED2 Open-source Open RetroED and use Tools > RSDK Unpacker to extract a Data.rsdk datapack into an editable Data folder, choosing the file list that matches the game.
RSDKv5Extract Open-source Run this command-line tool to unpack and repack RSDKv5 archives such as Sonic Mania's Data.rsdk.
RSDKv5_Extract_Plus Open-source Use this improved extractor to unpack RSDKv5 and v5U datapacks, including Sonic Origins content.
RSDK-Reverse libraries Open-source Build against these libraries to parse RSDKv1 through v5 archives programmatically when writing your own tooling.
macOS1 app
RSDKv5Extract Open-source Run this cross-platform Python extractor to unpack an RSDKv5 datapack on macOS.
Linux1 app
RSDKv5Extract Open-source Run this Python script to decrypt and extract the files stored inside an RSDKv5 .rsdk archive.

Technical details

deep spec
EncodingBinary
Byte orderLittle-endian
ContainerSingle-file archive holding an entire game's data tree
CompressionPer-file; individual assets keep their own encoding (image data, Ogg audio, binary configs). RSDKv5 does not ZIP-wrap the whole archive.
EncryptionRSDKv5 obfuscates file contents with a custom XOR cipher keyed from the MD5 of the uppercase filename and the MD5 of the file-size string, plus nibble swapping and rotating key indices. Not a standard cipher.
StructureRSDKv5 layout: 6-byte 'RSDKv5' magic, 2-byte little-endian file count, then one 0x18-byte entry per file (16-byte endian-swapped MD5 of the internal path, 4-byte offset, 4-byte size with bit 31 flagging encryption), followed by the raw/encrypted file data. Filenames are stored as MD5 hashes, so a filename list is needed to recover original paths.
IntegrityMD5 hashes of the internal file paths act as lookup keys for each entry.
Typical sizeTens of megabytes to over a gigabyte, depending on the game
PlatformsWindows, macOS, Linux, Android, iOS, Nintendo Switch, PlayStation, Xbox
NotesProduced by the Retro Engine (originally Retro Sonic Development Kit, 'RSDK'), created by Christian Whitehead. Used by Sonic CD (2011), Sonic 1 & 2 mobile remasters, Sonic Mania and Sonic Origins. Versions RSDKv1 through v5/v5U each differ in header and packing; extraction tools require the matching version and a file list.
Released2011 (Sonic CD remaster, RSDKv3); RSDK lineage from 2007
Latest versionRSDKv5 / RSDKv5U (Sonic Mania, Sonic Origins). Newer titles use later revisions.
Specificationgithub.com

RSDK conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with RSDK files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about RSDK files.

Frequently asked questions

What is a .rsdk file?
It is a Retro Engine data archive, the single container that holds most of a game's assets (sprites, levels, audio and config) for titles like Sonic CD, Sonic Mania and Sonic Origins.
How do I open a .rsdk file?
Use a community tool that matches the engine version, such as RetroED or RSDKv5Extract on Windows, to unpack the archive into an editable Data folder. The game itself loads the file automatically during play.
Can I just rename .rsdk to .zip and unzip it?
No. RSDKv5 uses a custom container with hashed filenames and XOR-encrypted contents, so standard archive tools cannot read it. You need a dedicated RSDK extractor.
Why are the filenames missing after extraction?
RSDKv5 stores file paths as MD5 hashes rather than plain text. Extractors rely on a known file list for the specific game to restore the original names; picking the wrong list produces generic 'File #.bin' entries.
Which games use .rsdk files?
Games built on Christian Whitehead's Retro Engine, including Sonic CD (2011), the Sonic 1 & 2 mobile remasters, Sonic Mania and Sonic Origins.
Is editing a .rsdk file legal?
Extracting for personal modding of a game you own is common in the community, but the assets remain copyrighted by SEGA, so redistributing them is not allowed.

References

1RSDK-Reverse (RSDK file-format libraries)github.com
2koolkdev/rsdkv5_extract source (format + encryption)github.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.EXEWindows Executable (Portable Executable)
5.M4AMPEG-4 Audio File
6.DATProgram Data File (generic)
7.MDMarkdown Document
8.JSONJavaScript Object Notation file
9.NOMEDIAAndroid No-Media Marker File
10.JPGJPEG Image

Related extensions

.OBBAndroid Opaque Binary Blob (APK Expansion File)
.PAKGame Resource Package (PAK)
.ROFLLeague of Legends Replay
.PACKAGEThe Sims / Maxis DBPF Package (game content & mods) - dominant meaning
.XSBXACT Sound Bank
.SAVSaved Game File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z