<!-- Canonical page: https://reversedwithai.com/p/nocturne-1999-4718e50f -->
Canonical page: https://reversedwithai.com/p/nocturne-1999-4718e50f

# Recompiled Nocturne (1999) into a native x64 executable with pcrecomp

> A static recompilation of the Nocturne engine to run natively on Windows 11.

This project performs a static recompilation of the 1999 game Nocturne, lifting the original binary into readable C code to enable native execution on modern Windows systems.

## Key facts

- Target: Nocturne (1999)
- Category: Games and mods
- Platform: Windows 11
- Models: Claude
- Tools: pcrecomp, IDA, CMake, Ninja
- Outcome: Partial
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: sp00nznet
- Added: 2026-11-25
- Updated: 2026-11-25
- Sources reviewed: 2026-11-28 (editor)

## What was done

The project performs a static recompilation of the 1999 game Nocturne, lifting the original binary into readable C code to enable native execution on modern Windows systems. The author reports that 6,276 functions were lifted into a single native x64 executable. The process involved reverse-engineering the engine's 37-call renderer API from tridx7.dll and reimplementing it on Direct3D 9. The author notes that the engine currently boots, runs the main menu, and allows player control of the character in the Spookhouse HQ. The project relies on the pcrecomp toolchain, which required several fixes to address bugs in flag handling, PE loading, and stack management. The author reports that the renderer is functional but notes that testing was performed without a D3D9 hardware adapter, relying on the engine's software fallback. The project documentation is available at [https://raw.githubusercontent.com/sp00nznet/nocturne/HEAD/README.md](https://raw.githubusercontent.com/sp00nznet/nocturne/HEAD/README.md). Participation by Claude Opus 5.5 is documented in commit trailers.

## Human work and limitations

The project is a work-in-progress static recompilation. It successfully achieves in-game status but relies on a custom shim layer for DirectDraw and renderer APIs.

## Sources

- [Repository](https://github.com/sp00nznet/nocturne)

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: sp00nznet (2026). Recompiled Nocturne (1999) into a native x64 executable with pcrecomp. Reversed with AI. https://reversedwithai.com/p/nocturne-1999-4718e50f
