<!-- Canonical page: https://reversedwithai.com/p/moorhuhn-adventure-2-der-fluch-des-goldes-b5fb28ed -->
Canonical page: https://reversedwithai.com/p/moorhuhn-adventure-2-der-fluch-des-goldes-b5fb28ed

# Recompiled Moorhuhn Adventure 2: Der Fluch des Goldes into a native Linux engine

> A static recompiler and modern OpenGL 3.3 engine for Moorhuhn Adventure 2.

This project provides a native Linux port of Moorhuhn Adventure 2 using a custom x86-32 to x86-64 static recompiler and an OpenGL 3.3 engine, eliminating the need for Wine or emulators.

## Key facts

- Target: Moorhuhn Adventure 2: Der Fluch des Goldes
- Category: Games and mods
- Platform: Linux
- Models: Claude
- Tools: SDL2, SDL2_ttf, FFmpeg, OpenGL 3.3, Python 3
- Outcome: Works
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: Mag1cByt3s
- Added: 2026-11-29
- Updated: 2026-11-29
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

The project implements a native Linux engine for the game Moorhuhn Adventure 2: Der Fluch des Goldes. It features a custom x86-32 to x86-64 static recompiler that processes the original mha2.exe binary without requiring Ghidra or Windows DLLs. The engine utilizes OpenGL 3.3 Core, SDL2, and FFmpeg to provide modern features such as widescreen support, post-processing effects, and high-definition asset scaling. The recompiler automatically identifies over 8,100 functions and MSVC-specific structures. The engine includes an interactive in-game settings menu for display, audio, and control configurations, which are saved to an external .ini file. Regression testing is supported through headless input recording and replay tools. The developer reports that the engine resolves several original game bugs, including issues with spinlocks, savegame corruption, and audio clipping. The project documentation is available at [https://raw.githubusercontent.com/mag1cbyt3s/mha2-remastered/HEAD/README.md](https://raw.githubusercontent.com/mag1cbyt3s/mha2-remastered/HEAD/README.md).

## Human work and limitations

The project requires a legally acquired copy of the original game files to perform the extraction and recompilation process.

## Reproduce it

Extract game files using tools/extract_game.py, then run 'make lift' followed by 'make' to compile the native binary.

## Sources

- [Repository](https://github.com/Mag1cByt3s/mha2-remastered)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Mag1cByt3s (2026). Recompiled Moorhuhn Adventure 2: Der Fluch des Goldes into a native Linux engine. Reversed with AI. https://reversedwithai.com/p/moorhuhn-adventure-2-der-fluch-des-goldes-b5fb28ed
