# LibreGrimrock: 64-bit reconstructions of the Legend of Grimrock engines

> LibreGrimrock reconstructs the engines of Legend of Grimrock and Legend of Grimrock 2 as native 64-bit C++ modules from their original executables. The work follows recovered compilation units, class layouts and Lua bindings, while adapting platform libraries and loading data from owners' game installations.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/morgothaufheroin88/LibreGrimrock>
- Primary source: <https://github.com/morgothaufheroin88/LibreGrimrock/blob/6d861f26eb4572083f2ffeddd0a006d55137c661/README.md>
- Catalog page: <https://awesomerea.org/resources/libregrimrock-case/>
- Record JSON: <https://awesomerea.org/resources/libregrimrock-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/libregrimrock-case/index.md)

## Requirements & limits

- **Prerequisites:** An owned copy of the relevant game supplies its data.
- **Prerequisites:** Building requires a C++17 compiler, CMake 3.20 or newer, SDL3, OpenAL, libvorbisfile, zlib, minizip, FreeType, GLEW and OpenGL.
- **Prerequisites:** LuaJIT 2.0.0-rc3 is required; the Steamworks SDK is optional.
- **Limits:** FBX/LWO/material import paths and the PhysX, FMOD, XAudio2 and Direct3D back ends are not reconstructed.
- **License:** GPL-3.0 license.

## Primary sources

1. <https://github.com/morgothaufheroin88/LibreGrimrock/blob/6d861f26eb4572083f2ffeddd0a006d55137c661/README.md>
2. <https://github.com/morgothaufheroin88/LibreGrimrock/blob/6d861f26eb4572083f2ffeddd0a006d55137c661/CMakeLists.txt>

## More in Games

- [Little King's Story: a Wii decompilation project](https://awesomerea.org/resources/little-kings-story-decomp-case/index.md) · Case study
- [Lufia II: portable semantic reconstruction of SNES game logic](https://awesomerea.org/resources/lufia2-semantic-decomp-case/index.md) · Case study
- [Luigi's Mansion (3DS): partial ARM source reconstruction](https://awesomerea.org/resources/luigis-mansion-3ds-decomp-case/index.md) · Case study
- [Luigi's Mansion: a four-version GameCube decompilation](https://awesomerea.org/resources/luigis-mansion-decomp-case/index.md) · Case study
- [Lunar 2: Eternal Blue Complete: a PlayStation decompilation](https://awesomerea.org/resources/lunar-2-psx-decomp-case/index.md) · Case study
- [Magiczna kula Papatki: reconstructing the game and Magnum Engine](https://awesomerea.org/resources/magiczna-kula-papatki-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
