Skip to main content
GUIDEMetin2 4 views

[Guide] Metin2 Client Architecture: EterPack (.epk/.eix), Granny2 (.gr2) & Embedded Python 2.7

Whether you develop Metin2 private servers, custom UI modules, or security patches, understanding the client's modular C++ + Python 2.7 layout is essential.

Core C++ Libraries

  • `UserInterface` (`Client.exe`): Entry point, main window lifecycle, network loop, and binding of C++ subsystems into Python.
  • `EterBase` & `EterLib`: Memory/crypto utilities, input handling, and DirectX rendering wrappers (legacy DirectX 9, or DX9Ex/DX11 in modernized community forks).
  • `GameLib` & `ScriptLib`: Client actor/item/mob parsing and the C++/Python bridge.

Key File Systems & Subsystems

  • EterPack Virtual Filesystem (`.eix` + `.epk`): Client assets sit inside paired index (.eix, storing paths, offsets, and sizes) and payload (.epk, Zlib/LZO compressed and often header-obfuscated) archives mounted sequentially at startup.
  • Granny 3D (`EterGrnLib` / `.gr2`): Skeletal character meshes, mounts, and animations use RAD Game Tools' Granny 2 runtime.
  • Python 2.7 UI Layer (`EterPythonLib`): Almost every HUD panel, chat window, and inventory dialog runs in Python (.py / compiled .pyc) inside root and uiscript, interfacing with C++ modules such as net, player, item, chrmgr, and grp.
Open Sponsor Slot (IN THREAD)
Book Slot

0 replies

Log in to reply or react to threads.