Skip to content
riyu edited this page Nov 4, 2026 · 24 revisions

MS2Recomp

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.

Progress

The table below is regenerated on each publish, along with the progress image.

Area Functions Matched Equivalent Done
Game · ms2 177,182 176,940 (99.9%) 231 (0.1%) 100.0%
Runtime & middleware 22,011 20,792 (94.5%) 1,089 (4.9%) 99.4%
Gamebryo engine 16,771 16,699 (99.6%) 60 (0.4%) 99.9%
Game framework · egf 12,726 12,671 (99.6%) 36 (0.3%) 99.9%
Libraries 6,704 6,337 (94.5%) 30 (0.4%) 95.0%
Foundation 12,615 12,530 (99.3%) 65 (0.5%) 99.8%
Imports 782 778 (99.5%) 1 (0.1%) 99.6%
Total 248,791 246,747 (99.2%) 1,512 (0.6%) 99.8%

Link aliases: 3,358 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.

Guides

  • 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.

Clone this wiki locally