thpatch / thcrap

Touhou Community Reliant Automatic Patcher
https://www.thpatch.net
The Unlicense
573 stars 42 forks source link

thcrap_tsa: Support spell card translation #11

Closed nmlgc closed 11 years ago

nmlgc commented 11 years ago

Spell cards

Description

Basically, "everything translatable in an ECL file" - also includes the spell card comments in th08, but not in th095 or th125.

Prerequisites

ID-based lookup table, accessed via breakpoints. No reason to start parsing and patching ECLs here, and also nicely works around can include a different fix for the "in the result screen, spell cards appear in the language they were last encountered in" issue.

Translated names will be stored in game_dir/spells.js, comments in game_dir/spellcomments.js.