Skip to content

MechWarrior 4: Mercenaries - Oracle Documentation

This site documents the oracle recompilation: a byte-identical reproduction of MW4Mercs.exe and the six code-bearing game DLLs, produced by transcribing the original machine code into MSVC6 inline assembly.

The target is the PR1 MW4Mercs.exe build identified by the SHA-256 in reference/SHA256.txt; see the build guide. The repository contains the transcribed source, the generated data sections, build/verification tooling, and research notes. It does not contain the original game executables, DLLs, art, audio, or maps. The default build does not need the game binaries.

Start here

Document Purpose
Architecture How the oracle recompilation is structured
Build guide Prerequisites, build order, module builds, troubleshooting
Verification Byte gates, diff/no-mask verification, hashes
Subsystem and module guides How each EXE subsystem and game DLL works, with key entry points
Shared VAs Helpers used by more than one subsystem
Oracle status Target inventory and completeness status

Reference

Document Purpose
Master index Exhaustive per-VA subsystem indexes
Subsystem seams Boundary calls and cross-system dependencies
Data annotation EXE data-section annotation index
Module data annotation Per-module data annotation indexes
Editor tools Shipped editor/config tool RE records
Game versioning Build/version identity and multiplayer version gates

Project

Document Purpose
FAQ Common questions
Legal Scope, copyright, and takedown information
Contributing How to submit documentation corrections
Changelog Repository changes

This site is built from docs/ with MkDocs and published through GitHub Pages. Edit the Markdown in a pull request; maintainers publish the merged changes with tools/publish_docs.ps1.