5 Commits

Author SHA1 Message Date
BearddOddity 309bfbedfc docs: list every RECOMP_* switch in one page, and link it from the index
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>
2026-10-21 04:59:55 -05:00
Claude 49ee7466de docs: what bringing up X-Men Legends found, and an index
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>
2026-09-27 08:45:02 +00:00
sp00nz 8013525629 Release v0.12.0 -- "Never Taken"
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-27 01:03:48 -07:00
DarthSidious666 d12e466e8d runtime+tools: derive layout/imports/version from the XBE instead of hardcoding Burnout 3
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.
2026-08-29 11:42:55 +01:00
sp00nz ef5ad3a734 Initial release: Xbox static recompilation toolkit
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>
2026-03-06 02:27:26 -08:00