Skip to content

About

Native offline analysis, modeling, and solver components for Touhou 08

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

th08-solver

Note

Native score attack: Extra 3,308,826,050 · complete Lunatic 6,653,194,550. Scarlet Team, No Miss / No Bomb, with verified exported replays. Targets: 4B Extra · 7B complete Lunatic, using stage/spell strategy composition. Scoring is paused after the latest batch handoff.

Wine and Native shadow planning loop, animated schematic by Claude.

C++17 Touhou 08 solver. Capture the real Wine seed, search Native trajectories for the declared no-miss/bomb/capture goal and higher scores, then export .rpy files for retail replay validation. Scoring uses source attack timing, item collection and form control. Bomb permission and capture requirements are independent CLI controls. How it works.

Verified Native routes

Best published complete runs by route and shot. All are NMNB (No Miss, No Bomb); captures are optional. Lunatic covers 1 → 2 → 3 → 4A → 5 → Final B. Each score links to its exact replay.

Route Shot Score Captures
Extra Scarlet — Sakuya/Remilia 3,308,826,050 14/14
Extra Magic — Marisa/Alice 3,013,913,970 14/14
Complete Lunatic Scarlet — Sakuya/Remilia 6,653,194,550 36/37
Complete Lunatic Magic — Marisa/Alice 5,550,599,270 36/37

These have original-entry fresh execution and natural replay agreement, with player name ysopwnab. Scarlet's story times out card 10; Magic's times out card 47. The separate Magic all-capture story is 5,107,553,670, 37/37. All selected progress replays preserve original seeds, input lineage, verification tasks and hashes, including earlier records.

The October 27 all-shot human references are 3,178,460,830 Extra and 7,053,332,460 Lunatic, both solo Youmu. Native Extra is 130,365,220 above its human reference; complete Lunatic is 346,805,450 below the next 7B milestone. Historical same-shot references remain in Status. All shots may be explored; Scarlet has priority.

Original Wine results

These are the completed original-game validations. Newer Native scores above have their own verification scope and do not inherit an earlier retail result.

Route Shot Execution Score Captures
Extra Scarlet Exported replay playback 3,179,193,860 14/14
Complete Lunatic Magic Online controller 2,189,965,070 33/37
Extra Magic Online controller 1,166,969,620 14/14

All three are NMNB. Scarlet playback uses no online controller; its exact score and all 14 captures pass original Wine checks 1343/1367. Validation and provenance · Original recordings with game audio. Online solving is paused. Scoring experiments use offline Native planning; the owner-requested handoff also leaves that queue stopped.

Follow the exploration

The stage/spell search journal records source/human replay analysis, solo Sakuya trials, complete combinations and failures, including Native-reward-ranked survival gains and early-road income negatives. The experiment index links every task's parameters, actual bombs/captures, costs and provenance. Local phase scores become route records only after complete execution and fresh replay checks. Composition/search issue 12 tracks the approach; Status owns current work and next steps.

Start here

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel 2
ctest --test-dir build --output-on-failure

This default build covers the asset-free libraries and tests. Enable TH08_HEADLESS for the Native game tools as described in Validation. Some record-setting scene profiles remain frozen local experiments; the supplied replays can be checked without reproducing their private search.

Requires CMake 3.16+, C++17 and OpenSSL development libraries. Native game execution also needs SDL2/image/ttf, Fontconfig and your own ignored th08.dat. Build, replay verification and scoring commands.

Document Purpose
Experiment journal Per-task hypotheses, parameters, provenance, costs, failures and decisions
Status / handoff Current state, experiment rules, resource limits and resumption plan
Planner Policy mechanisms, Native safety and online protocol
Validation Reproduction, selected replay provenance and tests
Architecture · Scenarios Code ownership, checkpoints and terminal contracts
Evidence index Published historical artifacts and their producers
Engineering rules · Third-party notices Contribution and attribution rules

Extra scoring issue · Online story milestone tag

The legacy subset catalog has a separate scope from Native scoring. New run artifacts and preparations stay local; selected replays are published with explicit provenance.

About

Native offline analysis, modeling, and solver components for Touhou 08

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages