Metin2Zone
Source Code

Metin2 Source Code

Working from source is what separates a copy-paste server from a real development project. With the Metin2 source code you can fix bugs, add systems and compile your own binaries.

Metin2Zone gathers game source, database source, binary source, BGFX source and community open-source projects so you can build exactly the server you want.

Metin2 source components

A full Metin2 source is split across several code bases, each responsible for a different part of the stack.

  • Game Source

    The C++ core that runs gameplay, combat, maps and player logic.

  • DB Source

    The database daemon that handles accounts, players and persistence.

  • Binary Source

    The client-side C++ that compiles into the game executable.

  • BGFX Source

    The modern rendering backend source for a faster, more portable client.

  • Open Source Projects

    Community-maintained forks and toolkits that jump-start development.

Compiling Metin2 source

The server binaries are typically built on FreeBSD with the matching compiler and libraries, while the client is built on Windows from Python and C++ source.

Set up the correct toolchain and dependencies for your revision before you start, and compile in a clean environment. Our Compile Guide covers the full process end to end.

Metin2 Source Code FAQ

How do I compile Metin2 source?

Build the server (game and DB) binaries on FreeBSD with the correct toolchain, and build the client from its Python/C++ source on Windows. Follow the Compile Guide for an ordered walkthrough.

Do I need source code to run a server?

No — precompiled server files work out of the box. You only need source code to modify core behaviour or add systems that require recompiling.

Related Metin2 resources

Looking for more Metin2 resources?

Find thousands of additional Metin2 files, releases and development threads on the R10DEV Forum.

Visit R10DEV Forum
Built with v0