<!-- Canonical page: https://reversedwithai.com/p/recettear-an-item-shop-s-tale-49abe480 -->
Canonical page: https://reversedwithai.com/p/recettear-an-item-shop-s-tale-49abe480

# Reimplemented the Recettear Win32 engine in C as OpenRecet

> An open-source, clean-room C reimplementation of the Recettear game engine.

OpenRecet is a clean-room C reimplementation of the Recettear engine. It uses AI-driven test recordings to verify game logic and state against the original retail binary, achieving bit-identical results on covered paths while remaining an unfinished, educational project.

## Key facts

- Target: Recettear: An Item Shop's Tale
- Category: Games and mods
- Platform: Windows
- Models: Claude
- Tools: mingw-w64, rhost, rd
- Outcome: Partial
- Time spent (author-reported): 1964 s per test run
- Cost (author-reported): €240 per month of compute
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: Francesco149
- Added: 2026-11-28
- Updated: 2026-11-28
- Sources reviewed: 2026-11-30 (automated reviewer)

## What was done

OpenRecet is a clean-room C reimplementation of the Azumanga engine used in Recettear: An Item Shop's Tale. The project aims to provide a drop-in replacement for the original executable, requiring users to provide their own legitimate game assets. Development is AI-assisted and maintainer-directed, with Claude Opus 5.5 credited as a co-author on recent commits. Verification relies on a custom test host that runs the original game and the port against deterministic input recordings. The port is considered playable but unfinished, with many functions currently implemented as stubs or shortcuts. The project maintains a suite of gate checks to ensure the port matches the retail binary's state, random-number generation, and save file output. As of November 2026, the project reports 222 of 222 gates passing in specific scenarios. The author notes that verification is limited to paths reached by recordings, and bugs may exist outside these tested areas. Documentation and source code are available at [https://raw.githubusercontent.com/francesco149/openrecet/HEAD/README.md](https://raw.githubusercontent.com/francesco149/openrecet/HEAD/README.md).

## Human work and limitations

The project uses a rigorous testing methodology where AI agents generate input recordings that are replayed by both the original binary and the port to ensure 1:1 state parity. The repository explicitly warns that the project is not finished and that coverage is limited to tested paths.

## Reproduce it

nix develop; make -C src; make -C tests run

## AI use in the original source

- "Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>" ([source](https://github.com/francesco149/openrecet/commits.atom))

Excerpts checked against the source on 2026-11-25.

## Sources

- [Repository](https://github.com/Francesco149/openrecet)

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: Francesco149 (2026). Reimplemented the Recettear Win32 engine in C as OpenRecet. Reversed with AI. https://reversedwithai.com/p/recettear-an-item-shop-s-tale-49abe480
