docs/INDEX.md stays the one index. Every page gets one navigation line under
its title that points back to it, and runtime/ gets a reference page for the
environment variables.
docs/runtime/environment-variables.md lists every RECOMP_* switch the runtime
and tools read: its default, its effect and the source file that reads it,
grouped as bring-up, kernel, pushbuffer executor, video, audio and input.
Fifty-one of them were not in the docs at all. docs/INDEX.md links it from
"Start Here".
No page is renamed, moved or rewritten, and no other index is added.
Checked: every RECOMP_* name read by getenv, env_on, apu_env_on, env_int or
xa2_env_int in src/, tools/, templates/ and include/ is on the page, and
every name on the page is in the source. All relative links in docs/ resolve
(0 broken, as at v0.16.0). The 34 existing pages change by insertion only:
68 lines added, none removed. docs/INDEX.md gains one line.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Folded into the existing guides:
- 02-disassembly: four ways the detector misses or merges functions,
each with the check for it
- 04-lifting: negative-index jump tables, privileged registers
- 05-runtime: thread-local registers in recomp_manual.c, replace vs
wrap, RECOMP_ABI_CHECK needing both halves
- 06-debugging: what the ABI checker always reports, guest registers
in cdb
- kernel-replacement: pseudo-handles, the 487 the CRT heap waits for,
a 64-bit call counter
- GETTING_STARTED: /m under Git Bash
New: docs/INDEX.md, every document in one place and again by symptom,
linked from the README. CONTRIBUTORS gains an entry.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Title-agnostic refactor across the runtime and tooling:
- kernel: read thunk-table ordinals from the mapped XBE table, keeping the
static list only as a no-XBE fallback; add xbox_kernel_set_version() for
per-title XDK version reporting; drop Burnout 3-specific version/hardware
values and code/key paths from the comments.
- nv2a: generic EnumWindows lookup for a "- Static Recompilation" window and
a menu-name table, replacing the Burnout 3 window-class/title strings.
- platform: GetWindowTextA/EnumWindows/WNDENUMPROC stubs backing the generic
window search.
- tools: func_id/disasm/recomp derive .text/.rdata/.data and XDK section
layouts from the XBE under analysis (configure_from_xbe), retaining the
old layout as reference fallback.
- docs: README + kernel-replacement notes updated for the neutral paths.
Complete toolchain for statically recompiling original Xbox (2001-2005) games
into native Windows executables. Includes:
- XBE parser, x86 disassembler, function identifier, and x86-to-C lifter
- 6-step pipeline documentation (parse, disassemble, identify, lift, runtime, debug)
- 8 technical deep dives (register model, memory layout, ICALLs, D3D, kernel, SEH, etc.)
- 3 Xbox format references (XBE, kernel exports, disc images)
- Runtime templates (recomp_types.h, xbox_memory.h, kernel_stubs.h)
- Candidate game analysis for future recompilation targets
Proven on Burnout 3: Takedown — 22,097 functions lifted from machine code to C.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>