// readme

BFME 2 Source Code

Goal: Source code that rebuilds BFME 2’s engine binary (game.dat) byte-for-byte, and game modernization improvements that you’ve only seen in your dreams.

Join our Discord to participate!

What?

  • We rewrote the game’s code one small piece at a time, and each piece turns back into the exact same bytes as the original game.dat (BFME 2, version 1.06). That stage, byte matching, is complete.
  • The work now (Phase 2) is making those pieces link into one program: closing the symbols the whole-program link still has to stub, merging the one-function files back into the source files the original was built from, giving every class one header, retiring recorded debt, and replacing generated and placeholder code with real C++ and real names.
  • The goal is a game that links with no stubs and no /FORCE, boots to the menu, plays a skirmish and saves and loads. Then the whole game is open source, and we can fix bugs and make mods.

How each figure is measured

Every figure is computed from the repository at a commit or read from a recorded link-census row (reverse/link_census_history.csv): no clock, no predictions. `python3…