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,605 (99.9%) | 152 (0.1%) | 100.0% |
| Runtime & middleware | 24,708 | 23,901 (96.7%) | 689 (2.8%) | 99.5% |
| Gamebryo engine | 16,755 | 16,688 (99.6%) | 29 (0.2%) | 99.8% |
| Game framework · egf | 12,892 | 12,878 (99.9%) | 12 (0.1%) | 100.0% |
| Libraries | 6,703 | 6,345 (94.7%) | 22 (0.3%) | 95.0% |
| Foundation | 13,023 | 13,007 (99.9%) | 4 (0.0%) | 99.9% |
| Imports | 782 | 780 (99.7%) | 1 (0.1%) | 99.9% |
| Total | 251,626 | 250,204 (99.4%) | 909 (0.4%) | 99.8% |
Link aliases: 38 left, down from 19,884 on 2026-10-31. An alias is a /alternatename line in the no-exe build's data/fullexe/plain/alias.rsp. The linker uses it to send a call that the recovered code makes under a placeholder name or signature to the real function. An alias goes away once every caller uses the real declaration; the goal is 0.
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.