r/Metin2 • • 2d ago

Discussion [Open Source] Full Native-Like Gamepad Support for Metin2 (In-Game F8 Menu, Smart Inventory Grid & Live HUD)

Hey everyone,

I’ve been working on a side project to make playing Metin2 with a controller feel as smooth and natural as a modern action RPG, without relying on clunky external key-mappers like JoyToKey or Steam Input.

I’m releasing it completely open-source on GitHub. It works via lightweight proxy DLLs (dinput8.dll and d3d9.dll), meaning it doesn't touch or modify any of your game's root or locale pack files.

Key Features:

  • Seamless Hybrid Switching (Gamepad + Classic Mode): You don't have to commit to one input method. Moving your mouse or pressing a key instantly switches back to Classic Mode and brings up the cursor. Touching your controller immediately switches back to Gamepad Mode.
  • Smooth 8-Way Movement & Camera: Left stick handles jitter-free movement with hysteresis, while the right stick controls the camera (with separate X/Y sensitivity sliders).
  • Smart Inventory Grid Navigation: When you open your inventory, the right stick automatically snaps between grid slots—and it’s smart enough to recognize and skip over 2-slot and 3-slot items properly. L1/R1 cycles through inventory tabs.
  • L2 Modifier Layers & Humanized Input: Holding L2 unlocks a second layer of shortcuts (zooming, extra skills, etc.). Held actions use randomized human-like intervals rather than robotic macro timings.
  • Metin2-Themed In-Game Menu (F8): Press F8 anytime in-game to rebind buttons, tweak sensitivities, toggle the live HUD overlay, or send feedback directly.

Installation:

  1. Download the latest .zip from the Releases tab on GitHub.
  2. Drop dinput8.dll and d3d9.dll directly into your main Metin2 directory (next to metin2client.exe).
  3. Launch the game and press F8 to configure your layout.

GitHub Repository & Source Code:
https://github.com/whoisayata/Metin2-Gamepad-Support

Feel free to check out the code, open an issue if you run into bugs on specific private servers, or let me know what features you'd like to see added!

0 Upvotes

0 comments sorted by