Reusable knowledge for native game ports: static recompilation of console and PC executables, high-level emulation (HLE) of console kernels, Win32 and graphics, and macOS / Apple Silicon hosts. It's written for people and for AI coding agents.
The cases come from RetroNative's ports:
- ReCarbon: NFS: Carbon (Xbox 360) recompiled to native arm64 macOS on the SpeedBreaker runtime.
- reFrozen: an x86 Win32 game recompiled to native
arm64 macOS with x86recomp (plus reFrozen's patches) and a Win32 HLE runtime on SDL3. The
win32/notes and the x86 points ingeneral/come from it.
| Path | Scope |
|---|---|
INDEX.md |
Find a symptom, then go to the guide or case |
general/ |
Platform-agnostic: bring-up checklist, static recompilation, concurrency patterns |
xbox360/ |
Xbox 360 / Xenos GPU: EDRAM formats and the command ring |
win32/ |
Win32 guests: loader and DllMain contract, import accounting, waveOut on SDL audio |
recarbon/ |
ReCarbon case studies (m<milestone>-<topic>.md): symptoms → evidence → root cause → fix → tests → verification |
knowledge-graph/ |
A generated, machine-readable graph of the documents (graph.json), its allowlist and schema (README) |
general/tools/ |
The graph generator (kg_build.py) and its tests |
scripts/ |
The publication check run by CI and the optional pre-commit hook |
Every claim carries one of these labels:
- VERIFIED: observed and reproduced, with a regression test or measured runs, in committed upstream code. The source commit is cited.
- OBSERVED: seen directly (a stack sample, a log, a register dump), but there's no committed fix or test yet.
- HYPOTHESIS: inferred, not yet tested.
- FALSIFIED: tested and ruled out. Kept, so nobody re-chases it.
- UNRESOLVED: an open problem.
Commit hashes refer to the ReCarbon repository unless marked
"reFrozen" (reFrozen) or named as an upstream project.
Paths such as runtime/kernel/critical_section.h are relative to the repository named. "reFrozen's
x86recomp patch NNNN" is a patch file in reFrozen's patches/x86recomp/, applied to its x86recomp checkout.
No game data, decrypted images, generated code, binaries, secrets or machine-specific paths. Guest
addresses (sub_82…) appear only in recarbon/, as identifiers for one specific executable.
- Documents (all Markdown,
INDEX.mdand the generatedknowledge-graph/files): Creative Commons Attribution 4.0 International (CC BY 4.0), inLICENSE. - Code in
general/tools/andscripts/: GNU General Public License v3.0 or later (GPL-3.0-or-later), ingeneral/tools/COPYING.
Attribution: "RetroNative knowledge base (https://github.com/retronative/knowledge), CC BY 4.0", with a note of any changes.
Read CONTRIBUTING.md: what a case needs, the evidence labels, the exclusions and
the checks CI runs (scripts/publish_check.py and the knowledge-graph generator's --verify and tests).