<!-- Canonical page: https://reversedwithai.com/p/th08-imperishable-night-decomp-agents -->
Canonical page: https://reversedwithai.com/p/th08-imperishable-night-decomp-agents

# Reconstructed Touhou 8 to 99.9 percent exact source with AI agents and made it playable

> The bullet hell has 459 thousand authored bytes, 99.92 percent matched.

N0zoM1z0 continues the GensokyoClub Imperishable Night reconstruction with AI agents doing the engineering: 1,106 of 1,107 authored functions accepted exact, plus playable Linux and browser ports.

## Key facts

- Target: Touhou Eiyashou: Imperishable Night (PC)
- Category: Games and mods
- Platform: Windows (x86) to Linux and browser
- Outcome: Partial
- License: MIT
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [N0zoM1z0](https://github.com/N0zoM1z0)
- Added: 2026-10-19
- Updated: 2026-10-19
- Sources reviewed: 2026-10-19 (editor)

## What was done

This repository continues the public reconstruction of Touhou Eiyashou: Imperishable Night (TH08), Japanese version 1.00d, which GensokyoClub moved into private development in response to AI decompilations. The original authorship stays in the history and the continuation carries the same MIT license. The goal is an exact reconstruction: C++ that, built with the original Visual C++ .NET 2002 toolchain, reproduces the executable's machine code, binary interfaces and layout. Playable ports are built on that recovered source.

### How it was done

The README says AI coding agents carry out the new engineering: reverse engineering, matching, semantic recovery, tooling, documentation and porting. The human maintainer sets direction, reviews releases and merges, and supplies the legally obtained target and game data. Agents work on bounded tasks from repository rules, ledgers and skills, and check conclusions against the verified target executable. Exact matching rebuilds the source under Wine, compares code and relocations with the target, and replays accepted units after any shared change. A semantic pass named the script protocol from the binary, with 184 primary script opcodes and 101 operand selectors.

### Status

All 1,107 authored functions have source, and 1,106 are accepted exact, covering 459,396 of 459,757 authored bytes (99.92 percent). The whole executable is still in progress: PE layout, linked runtime and library code and one near match remain.

### Playing it

You need your own TH08 game data. A browser port compiles the source to WebAssembly and runs it with WebGL 2, and takes th08.dat and thbgm.dat from your install in the launcher without storing them. A native Linux release (v0.2.0) has x86_64, i386 and experimental AArch64 packages, run with a script that is given your game directory. Windows and macOS ports are in progress. No game data is shipped.

Sources:
- https://github.com/N0zoM1z0/th08

## What the commit history shows

None of the 1,162 commits in the public repository credits an AI. Many tools add no credit, so this does not show the AI was not used.

Measured by this site from public git history.

## Questions about Touhou Eiyashou: Imperishable Night (PC)

### What is the Touhou Eiyashou: Imperishable Night (PC) project?

N0zoM1z0 continues the GensokyoClub Imperishable Night reconstruction with AI agents doing the engineering: 1,106 of 1,107 authored functions accepted exact, plus playable Linux and browser ports. It is listed under Games and mods for Windows (x86) to Linux and browser.

### Did the AI reverse engineering of Touhou Eiyashou: Imperishable Night (PC) work?

Its author reports that it partly works.

### Is the source code for Touhou Eiyashou: Imperishable Night (PC) available?

The entry links a repository, https://github.com/N0zoM1z0/th08, but does not record whether the code is public. Licence: MIT.

## Sources

- [Repository](https://github.com/N0zoM1z0/th08)

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: N0zoM1z0 (2026). Reconstructed Touhou 8 to 99.9 percent exact source with AI agents and made it playable. Reversed with AI. https://reversedwithai.com/p/th08-imperishable-night-decomp-agents
