Repository navigation
Home
MS2Recomp is a work-in-progress recompilation of the MapleStory 2 client (KMS2 development build, x64, April 2022). Functions recovered from the original executable are rewritten as C++ and compiled into a replacement executable. Most recovered functions match the original machine code byte for byte. The project also builds a development proxy DLL that redirects calls into the recovered code.
The full executable can be built in Visual Studio with the required toolchain and SDKs, without needing the original client executable. The repository does not include the client, game assets, Gamebryo source, or other SDKs; consult the build guide for prerequisites.
The table below is regenerated on each publish, along with the progress image.
| Area | Functions | Matched | Equivalent | Done |
|---|---|---|---|---|
| Game · ms2 | 176,763 | 176,615 (99.9%) | 144 (0.1%) | 100.0% |
| Runtime & middleware | 24,708 | 23,947 (96.9%) | 643 (2.6%) | 99.5% |
| Gamebryo engine | 16,765 | 16,717 (99.7%) | 27 (0.2%) | 99.9% |
| Game framework · egf | 12,890 | 12,878 (99.9%) | 11 (0.1%) | 100.0% |
| Libraries | 6,703 | 6,345 (94.7%) | 22 (0.3%) | 95.0% |
| Foundation | 13,015 | 13,009 (100.0%) | 4 (0.0%) | 100.0% |
| Imports | 782 | 780 (99.7%) | 1 (0.1%) | 99.9% |
| Total | 251,626 | 250,291 (99.5%) | 852 (0.3%) | 99.8% |
Link aliases: 261 left: 5 /alternatename lines in the no-exe build's data/fullexe/plain/alias.rsp and 256 #pragma comment(linker, "/alternatename:...") lines in 40 source files of the same build. The linker uses an alias to send a call that the recovered code makes under a placeholder name or signature to the real function, or to bind a placeholder data name to the real object. An alias goes away once every user takes the real declaration; the goal is 0. The glue file held 19,884 on 2026-10-31. Part of the drop since then is aliases moved into the sources, not removed, which is why both places are counted.
The totals exclude Nexon Messenger functions, which are stubbed by design. See the repository's README for the full breakdown and notes on functions that are not counted as missing.
- How Matching Works — matching terminology, symbols, and compiler setup.
- Codegen Patterns — practical clues for recovering source shapes from compiler output.
- Schema Atlas — index for generated game data, packet, and type references.
Project documentation: README · Building · Contributing.