# Lufia II: portable semantic reconstruction of SNES game logic

> Lufia2Decomp reconstructs Lufia II: Rise of the Sinistrals game logic as a portable C library for SNES recompilation consumers. Its CPU-state and memory adapters preserve observable routine behavior, and a resource tool decodes compressed data from an owner's ROM. The author reports 2,305 functions marked verified by original-ROM differential checks.

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

## Requirements & limits

- **Prerequisites:** The standalone library needs CMake 3.20 or newer and a C11 compiler.
- **Prerequisites:** Resource inspection and original-ROM differential comparisons use a supported ROM supplied by its owner.
- **Limits:** The project states that no compressor is provided for its decoded resource format.
- **License:** No licence file in the repository.

## Primary sources

1. <https://github.com/Cellenseres/Lufia2Decomp/blob/6fc15bb88d473c23de106d3d96047186c278af05/README.md>
2. <https://github.com/Cellenseres/Lufia2Decomp/blob/6fc15bb88d473c23de106d3d96047186c278af05/docs/ARCHITECTURE.md>

## More in Games

- [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
- [Manic Miner: ZX Spectrum disassembly](https://awesomerea.org/resources/manic-miner-disasm/index.md) · Case study
- [Mario Artist Paint Studio: a Nintendo 64DD decompilation](https://awesomerea.org/resources/mario-artist-paint-studio-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.
