{
  "added_at": "2026-10-19",
  "additional_evidence_urls": [
    "https://github.com/RSDKModding/RSDKv4-Decompilation/blob/a7f5195e21fdad7b75e4587e249013feeea9e6f3/FAQ.md",
    "https://github.com/RSDKModding/RSDKv4-Decompilation/blob/a7f5195e21fdad7b75e4587e249013feeea9e6f3/LICENSE.md",
    "https://github.com/RSDKModding/RSDKv4-Decompilation/blob/a7f5195e21fdad7b75e4587e249013feeea9e6f3/CMakeLists.txt",
    "https://github.com/RSDKModding/RSDKv4-Decompilation/blob/a7f5195e21fdad7b75e4587e249013feeea9e6f3/.gitmodules",
    "https://github.com/RSDKModding/RSDKv4-Decompilation/tree/a7f5195e21fdad7b75e4587e249013feeea9e6f3/RSDKv4/NativeObjects",
    "https://github.com/RSDKModding/RSDKv4-Decompilation/blob/a7f5195e21fdad7b75e4587e249013feeea9e6f3/.github/workflows/build.yml",
    "https://github.com/RSDKModding/RSDKv4-Decompilation/releases/tag/1.3.3"
  ],
  "category": "reconstruction-cases",
  "description_en": "Decompiles Retro Engine (RSDK) v4, the engine behind Sonic the Hedgehog and Sonic the Hedgehog 2 (2013), together with the games’ natively coded menus, and builds it for Windows, Linux and Android. The engine runs the game scripts contained in the official releases’ data files, which users must supply. The project adds a script compiler, a mod loader and an experimental online mode for Sonic 2’s 2P VS; it is the predecessor of the same group’s RSDKv5 decompilation.",
  "description_zh": "反编译 Retro Engine（RSDK）v4——《索尼克》与《索尼克 2》（2013）所用的引擎——以及两款游戏中以原生代码实现的菜单，可构建 Windows、Linux 与 Android 版本。引擎运行官方发行版数据文件中的游戏脚本，这些文件需由使用者自备。项目增加了脚本编译器、模组加载器，以及《索尼克 2》双人对战的实验性联网模式；它是同一团队 RSDKv5 反编译项目的前身。",
  "entry_url": "https://awesomerea.org/resources/rsdkv4-sonic-1-2-decomp-case/",
  "entry_url_zh": "https://awesomerea.org/zh/resources/rsdkv4-sonic-1-2-decomp-case/",
  "evidence_url": "https://github.com/RSDKModding/RSDKv4-Decompilation/blob/a7f5195e21fdad7b75e4587e249013feeea9e6f3/README.md",
  "group": "cases",
  "id": "rsdkv4-sonic-1-2-decomp-case",
  "json_url": "https://awesomerea.org/resources/rsdkv4-sonic-1-2-decomp-case/record.json",
  "kind": "case-study",
  "markdown_url": "https://awesomerea.org/resources/rsdkv4-sonic-1-2-decomp-case/index.md",
  "markdown_url_zh": "https://awesomerea.org/zh/resources/rsdkv4-sonic-1-2-decomp-case/index.md",
  "name": "RSDKv4 Decompilation: Retro Engine v4 and the Sonic 1 & 2 (2013) menus",
  "name_zh": "RSDKv4 Decompilation：Retro Engine v4 与《索尼克》1、2（2013）菜单的反编译",
  "reconstruction_method": "decompilation",
  "record_type": "resource",
  "relationship": "independent-reconstruction",
  "requirement_facets": [
    "scope",
    "prerequisites",
    "prerequisites",
    "testing",
    "license"
  ],
  "requirements": [
    "Reviewed at the 2026-09-06 main head, 13 commits after release 1.3.3 (2025-11-02). README calls it a complete decompilation of Retro Engine v4 and the menus from Sonic 1 and 2 (2013); the licence says most code is meant to be functionally the same as the specified RSDK version. RETRO_REVISION defaults to 3 (Origins), and RETRO_ORIGINAL_CODE removes the project’s changes but, per CMake, cannot build a playable game.",
    "It will not run without assets from an official release of Sonic 1 or Sonic 2: README names Sonic Origins on Steam, the Epic Games Store and Switch, and the now-delisted iOS and Android releases. The FAQ notes that Origins data files are packed as RSDKv5 datapacks and lack the games’ music and sound effects, and that release builds and autobuilds disable the DLC and block Origins’ Amy; the repository ships no game data.",
    "Clone recursively, because GitHub’s source ZIPs omit the stb, tinyxml2, asio and Flatpak submodules. CMake 3.10+ builds use Visual Studio with vcpkg (GLEW, SDL2, libogg, libvorbis) on Windows, the listed GLEW, SDL2 and Ogg/Vorbis packages on Linux, and a separate Android guide; Xcode, UWP and Flatpak projects are included, while Vita, Switch, 3DS and WebAssembly ports are unofficial forks. Sonic 2’s online 2P VS needs a Python 3.8+ server that README calls a very unstable proof of concept.",
    "CI builds Windows x86 and x64, Android and Linux binaries with the Plus DLC disabled; it runs no tests, and the project publishes no comparison with the original engine binaries. The FAQ says bugs present in official releases will mostly not be fixed.",
    "The custom RSDKv3/v4 Decompilation Source Code License v2 requires distributed prebuilt executables to default to DLC off, forbids commercial use and distributing game assets other than unique modded ones, requires crediting the original RSDK author Christian “Taxman” Whitehead and the decompilation authors Rubberduckycooly and st×tic, and binds forks to the same terms."
  ],
  "requirements_zh": [
    "审阅对象为 2026-09-06 的 main 分支最新提交，比 1.3.3 发行版（2025-11-02）晚 13 个提交。README 称其为 Retro Engine v4 及 Sonic 1、2（2013）菜单的完整反编译；许可证说明大部分代码旨在与所指定 RSDK 版本功能一致。RETRO_REVISION 默认为 3（Origins）；RETRO_ORIGINAL_CODE 会移除项目自身的改动，但按 CMake 说明，这样无法构建出可玩的游戏。",
    "没有《索尼克》或《索尼克 2》官方发行版的素材就无法运行：README 列出了 Steam、Epic Games Store 和 Switch 上的 Sonic Origins，以及现已下架的 iOS 与 Android 版本。FAQ 指出 Origins 的数据文件以 RSDKv5 数据包格式打包，且不含游戏的音乐和音效；正式发行版和自动构建会禁用 DLC，并阻止使用 Origins 中的 Amy。仓库不附带任何游戏数据。",
    "需递归克隆，因为 GitHub 的源码 ZIP 不包含 stb、tinyxml2、asio 和 Flatpak 子模块。CMake 3.10+ 构建在 Windows 上使用 Visual Studio 与 vcpkg（GLEW、SDL2、libogg、libvorbis），在 Linux 上使用所列的 GLEW、SDL2 与 Ogg/Vorbis 软件包，Android 另有单独指南；仓库还包含 Xcode、UWP 和 Flatpak 工程，而 Vita、Switch、3DS 与 WebAssembly 移植均为非官方分支。《索尼克 2》的联网双人对战需要 Python 3.8+ 服务器，README 称其只是非常不稳定的概念验证。",
    "CI 在禁用 Plus DLC 的情况下构建 Windows x86 与 x64、Android 和 Linux 二进制；不运行测试，项目也未公布与原版引擎二进制的对比。FAQ 表示官方版本中已有的漏洞大多不会修复。",
    "自定义的 RSDKv3/v4 Decompilation Source Code License v2 要求分发的预构建可执行文件默认关闭 DLC，禁止商业使用，禁止分发除独有模组素材以外的游戏素材，要求注明原 RSDK 作者 Christian “Taxman” Whitehead 以及反编译作者 Rubberduckycooly 和 st×tic，并要求分支遵守同样条款。"
  ],
  "targets": [
    "game"
  ],
  "url": "https://github.com/RSDKModding/RSDKv4-Decompilation",
  "verification": "source-reviewed",
  "verified_at": "2026-10-19"
}
