From 65d54bee661103ee8d146915ef033849f80282b4 Mon Sep 17 00:00:00 2001 From: nmlgc Date: Thu, 30 Aug 2018 23:53:01 +0200 Subject: [PATCH] Locate more hardcoded strings, covering the Music Room and the Result screen in all supported versions. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit And even in some versions that aren't supported yet. Some of those trials for older games don't even have the safe sprintf() hacks yet, which are necessary for translated versions to show up in the first place, heh. Oh, and while I'm at it: • Don't cover the "th?? JP" string unless there is a good reason. This string is typically only used for the human-readable section of replay files, which we shouldn't translate in order to not introduce incompatibilities. • "th08 Music Room spoiler 5" just consists of a single U+3000 IDEOGRAPHIC SPACE, and isn't meaningfully used in later games. … yeah, we *really* need thpatch/thcrap#38. --- base_tsa/th11/stringlocs.v0.02a.js | 12 ++++++++++++ base_tsa/th11/stringlocs.v1.00a.js | 5 ++++- base_tsa/th12/stringlocs.v0.02a.js | 10 ++++++++++ base_tsa/th12/stringlocs.v1.00b.js | 3 +++ base_tsa/th128/stringlocs.v1.00a.js | 8 +++++++- base_tsa/th13/stringlocs.v0.01a.js | 10 ++++++++++ base_tsa/th14/stringlocs.v0.01b.js | 1 + base_tsa/th14/stringlocs.v0.01bp.js | 10 ++++++++++ base_tsa/th14/stringlocs.v1.00a.js | 20 +++++++++++++++++++- base_tsa/th14/stringlocs.v1.00bp.js | 27 +++++++++++++++++++++++++++ base_tsa/th15/stringlocs.js | 20 +++++++++++++++++++- base_tsa/th15/stringlocs.v0.01a.js | 8 +++++++- base_tsa/th15/stringlocs.v0.01b.js | 8 +++++++- base_tsa/th15/stringlocs.v1.00a.js | 21 --------------------- base_tsa/th15/stringlocs.v1.00b.js | 20 -------------------- base_tsa/th16/stringlocs.v0.01a.js | 2 +- base_tsa/th16/stringlocs.v1.00a.js | 2 +- 17 files changed, 138 insertions(+), 49 deletions(-) create mode 100644 base_tsa/th11/stringlocs.v0.02a.js create mode 100644 base_tsa/th12/stringlocs.v0.02a.js create mode 100644 base_tsa/th13/stringlocs.v0.01a.js create mode 100644 base_tsa/th14/stringlocs.v0.01bp.js create mode 100644 base_tsa/th14/stringlocs.v1.00bp.js delete mode 100644 base_tsa/th15/stringlocs.v1.00a.js delete mode 100644 base_tsa/th15/stringlocs.v1.00b.js diff --git a/base_tsa/th11/stringlocs.v0.02a.js b/base_tsa/th11/stringlocs.v0.02a.js new file mode 100644 index 00000000..be37214b --- /dev/null +++ b/base_tsa/th11/stringlocs.v0.02a.js @@ -0,0 +1,12 @@ +{ + "Rx901a0": "Sans-serif font", + "Rx901b0": "Serif font", + "Rx8fea4": "Music Room Unknown Title", + "Rx8fbf8": "th10 Music Room spoiler 1", + "Rx8fbc0": "th10 Music Room spoiler 2", + "Rx8fb94": "th10 Music Room spoiler 3", + "Rx8fb5c": "th10 Music Room spoiler 4", + "Rx8fb24": "th10 Music Room spoiler 5", + "Rx8fdc0": "th10 Result Known Spell", + "Rx8fdd4": "th10 Result Unknown Spell" +} diff --git a/base_tsa/th11/stringlocs.v1.00a.js b/base_tsa/th11/stringlocs.v1.00a.js index 9dce3421..cbd15d66 100644 --- a/base_tsa/th11/stringlocs.v1.00a.js +++ b/base_tsa/th11/stringlocs.v1.00a.js @@ -1,9 +1,12 @@ { "0x496654": "Sans-serif font", "0x496664": "Serif font", + "Rx96358": "Music Room Unknown Title", "0x496040": "th10 Music Room spoiler 1", "0x496008": "th10 Music Room spoiler 2", "0x495fdc": "th10 Music Room spoiler 3", "0x495fa4": "th10 Music Room spoiler 4", - "0x495f6c": "th10 Music Room spoiler 5" + "0x495f6c": "th10 Music Room spoiler 5", + "Rx96274": "th10 Result Known Spell", + "Rx96288": "th10 Result Unknown Spell" } diff --git a/base_tsa/th12/stringlocs.v0.02a.js b/base_tsa/th12/stringlocs.v0.02a.js new file mode 100644 index 00000000..0f384c8c --- /dev/null +++ b/base_tsa/th12/stringlocs.v0.02a.js @@ -0,0 +1,10 @@ +{ + "Rx9fb88": "th10 Result Known Spell", + "Rx9fb9c": "th10 Result Unknown Spell", + "Rx9fc6c": "Music Room Unknown Title", + "Rx9f8d8": "th10 Music Room spoiler 5", + "Rx9f910": "th10 Music Room spoiler 4", + "Rx9f94c": "th10 Music Room spoiler 3", + "Rx9f978": "th10 Music Room spoiler 2", + "Rx9f9b0": "th10 Music Room spoiler 1" +} diff --git a/base_tsa/th12/stringlocs.v1.00b.js b/base_tsa/th12/stringlocs.v1.00b.js index 176d1d7f..5d8e9572 100644 --- a/base_tsa/th12/stringlocs.v1.00b.js +++ b/base_tsa/th12/stringlocs.v1.00b.js @@ -5,6 +5,9 @@ "Rxa0df4": "th10_ascii_stage_4", "Rxa0dfc": "th10_ascii_stage_3", "Rxa0fc4": "th10_ascii_ranking", + "Rxa1fc4": "th10 Result Known Spell", + "Rxa1fd8": "th10 Result Unknown Spell", + "Rxa20a8": "Music Room Unknown Title", "Rxa1cb8": "th10 Music Room spoiler 5", "Rxa1cf0": "th10 Music Room spoiler 4", "Rxa1d2c": "th10 Music Room spoiler 3", diff --git a/base_tsa/th128/stringlocs.v1.00a.js b/base_tsa/th128/stringlocs.v1.00a.js index d6ce9e04..0bb20d80 100644 --- a/base_tsa/th128/stringlocs.v1.00a.js +++ b/base_tsa/th128/stringlocs.v1.00a.js @@ -1,3 +1,9 @@ { - "Rxa46a8": "Music Room Unknown Title" + "Rxa36c8": "th10_ascii_ranking", + "Rxa46a8": "Music Room Unknown Title", + "Rxa4340": "th10 Music Room spoiler 1", + "Rxa4308": "th10 Music Room spoiler 2", + "Rxa42dc": "th10 Music Room spoiler 3", + "Rxa42a0": "th10 Music Room spoiler 4", + "Rxa4268": "th10 Music Room spoiler 5" } diff --git a/base_tsa/th13/stringlocs.v0.01a.js b/base_tsa/th13/stringlocs.v0.01a.js new file mode 100644 index 00000000..15071d8d --- /dev/null +++ b/base_tsa/th13/stringlocs.v0.01a.js @@ -0,0 +1,10 @@ +{ + "Rxa7578": "Music Room Unknown Title", + "Rxa7494": "th10 Result Known Spell", + "Rxa74a8": "th10 Result Unknown Spell", + "Rxa72c0": "th10 Music Room spoiler 1", + "Rxa7288": "th10 Music Room spoiler 2", + "Rxa725c": "th10 Music Room spoiler 3", + "Rxa7220": "th10 Music Room spoiler 4", + "Rxa71e8": "th10 Music Room spoiler 5" +} diff --git a/base_tsa/th14/stringlocs.v0.01b.js b/base_tsa/th14/stringlocs.v0.01b.js index dcdcadc3..1cbdbbc8 100644 --- a/base_tsa/th14/stringlocs.v0.01b.js +++ b/base_tsa/th14/stringlocs.v0.01b.js @@ -1,4 +1,5 @@ { + "Rxbc92c": "Music Room Unknown Title", "0x4bc808": "th10 Music Room spoiler 1", "0x4bc844": "th10 Music Room spoiler 2", "0x4bc87c": "th10 Music Room spoiler 3", diff --git a/base_tsa/th14/stringlocs.v0.01bp.js b/base_tsa/th14/stringlocs.v0.01bp.js new file mode 100644 index 00000000..a4b2aa83 --- /dev/null +++ b/base_tsa/th14/stringlocs.v0.01bp.js @@ -0,0 +1,10 @@ +{ + "Rxbd4ec": "Music Room Unknown Title", + "Rxbd3c8": "th10 Music Room spoiler 1", + "Rxbd404": "th10 Music Room spoiler 2", + "Rxbd43c": "th10 Music Room spoiler 3", + "Rxbd468": "th10 Music Room spoiler 4", + "Rxbd4a4": "th10 Music Room spoiler 5", + "Rxbd2ec": "th10 Result Known Spell", + "Rxbd300": "th10 Result Unknown Spell" +} diff --git a/base_tsa/th14/stringlocs.v1.00a.js b/base_tsa/th14/stringlocs.v1.00a.js index b757356c..7f0c99a9 100644 --- a/base_tsa/th14/stringlocs.v1.00a.js +++ b/base_tsa/th14/stringlocs.v1.00a.js @@ -1,9 +1,27 @@ { + "Rxc10cc": "Music Room Unknown Title", "0x4c0fa8": "th10 Music Room spoiler 1", "0x4c0fe4": "th10 Music Room spoiler 2", "0x4c101c": "th10 Music Room spoiler 3", "0x4c1048": "th10 Music Room spoiler 4", "0x4c1084": "th10 Music Room spoiler 5", "0x4c0ed0": "th10 Result Known Spell", - "0x4c0ee4": "th10 Result Unknown Spell" + "0x4c0ee4": "th10 Result Unknown Spell", + "Rxc10ec": "th13 spell nothing", + "Rxc1138": "th13 Spell Practice Unknown", + "Rxc1158": "th13_ascii_spell_score", + "Rxc1188": "th13_ascii_spell_unknown", + "Rxc116c": "th13_ascii_spell_game", + "Rxc0854": "th14_ascii_bonus", + "Rxc0860": "th14_ascii_no_bonus", + "Rxbffb4": "th10_ascii_stage_1", + "Rxbffbc": "th10_ascii_stage_2", + "Rxbffc4": "th10_ascii_stage_3", + "Rxbffcc": "th10_ascii_stage_4", + "Rxbffd4": "th10_ascii_stage_5", + "Rxbffdc": "th10_ascii_stage_6", + "Rxbffe4": "th10_ascii_stage_clear", + "Rxc0f58": "th10_ascii_score_empty", + "Rxc0140": "th10_ascii_ranking", + "Rxc019c": "th13_ascii_credit" } diff --git a/base_tsa/th14/stringlocs.v1.00bp.js b/base_tsa/th14/stringlocs.v1.00bp.js new file mode 100644 index 00000000..216d8c2d --- /dev/null +++ b/base_tsa/th14/stringlocs.v1.00bp.js @@ -0,0 +1,27 @@ +{ + "Rxc0d7c": "Music Room Unknown Title", + "Rxc0c58": "th10 Music Room spoiler 1", + "Rxc0c94": "th10 Music Room spoiler 2", + "Rxc0ccc": "th10 Music Room spoiler 3", + "Rxc0cf8": "th10 Music Room spoiler 4", + "Rxc0d34": "th10 Music Room spoiler 5", + "Rxc0b80": "th10 Result Known Spell", + "Rxc0b94": "th10 Result Unknown Spell", + "Rxc0d9c": "th13 spell nothing", + "Rxc0de8": "th13 Spell Practice Unknown", + "Rxc0e08": "th13_ascii_spell_score", + "Rxc0e38": "th13_ascii_spell_unknown", + "Rxc0e1c": "th13_ascii_spell_game", + "Rxc0504": "th14_ascii_bonus", + "Rxc0510": "th14_ascii_no_bonus", + "Rxbfbcc": "th10_ascii_stage_1", + "Rxbfbd4": "th10_ascii_stage_2", + "Rxbfbdc": "th10_ascii_stage_3", + "Rxbfbe4": "th10_ascii_stage_4", + "Rxbfbec": "th10_ascii_stage_5", + "Rxbfbf4": "th10_ascii_stage_6", + "Rxbfbfc": "th10_ascii_stage_clear", + "Rxc0c08": "th10_ascii_score_empty", + "Rxbfd58": "th10_ascii_ranking", + "Rxbfdb4": "th13_ascii_credit" +} diff --git a/base_tsa/th15/stringlocs.js b/base_tsa/th15/stringlocs.js index 46f98a8b..5c9a8dc5 100644 --- a/base_tsa/th15/stringlocs.js +++ b/base_tsa/th15/stringlocs.js @@ -1,4 +1,5 @@ { + "Rxce168": "Music Room Unknown Title", "Rxcdef0": "th15 Result Known Spell", "Rxcdf08": "th15 Result Unknown Spell", "Rxcdec4": "th15 Full-width 0", @@ -10,5 +11,22 @@ "Rxcdedc": "th15 Full-width 6", "Rxcdee0": "th15 Full-width 7", "Rxcdee4": "th15 Full-width 8", - "Rxcdee8": "th15 Full-width 9" + "Rxcdee8": "th15 Full-width 9", + "Rxce044": "th10 Music Room spoiler 1", + "Rxce080": "th10 Music Room spoiler 2", + "Rxce0b8": "th10 Music Room spoiler 3", + "Rxce0e4": "th10 Music Room spoiler 4", + "Rxce120": "th10 Music Room spoiler 5", + "Rxcd08c": "th10_ascii_stage_1", + "Rxcd094": "th10_ascii_stage_2", + "Rxcd09c": "th10_ascii_stage_3", + "Rxcd0a4": "th10_ascii_stage_4", + "Rxcd0ac": "th10_ascii_stage_5", + "Rxcd0b4": "th10_ascii_stage_6", + "Rxcd0bc": "th10_ascii_stage_clear", + "Rxcd1c0": "th10_ascii_ranking", + "Rxcdf80": "th10_ascii_score_empty", + "Rxcd21c": "th13_ascii_credit", + "Rxcd8dc": "th14_ascii_bonus", + "Rxcd8e8": "th14_ascii_no_bonus" } diff --git a/base_tsa/th15/stringlocs.v0.01a.js b/base_tsa/th15/stringlocs.v0.01a.js index bead5f86..33c17ed4 100644 --- a/base_tsa/th15/stringlocs.v0.01a.js +++ b/base_tsa/th15/stringlocs.v0.01a.js @@ -1,4 +1,10 @@ { "Rxc85e0": "th10 Result Known Spell", - "Rxc85f4": "th10 Result Unknown Spell" + "Rxc85f4": "th10 Result Unknown Spell", + "Rxc8858": "Music Room Unknown Title", + "Rxc8734": "th10 Music Room spoiler 1", + "Rxc8770": "th10 Music Room spoiler 2", + "Rxc87a8": "th10 Music Room spoiler 3", + "Rxc87d4": "th10 Music Room spoiler 4", + "Rxc8810": "th10 Music Room spoiler 5" } diff --git a/base_tsa/th15/stringlocs.v0.01b.js b/base_tsa/th15/stringlocs.v0.01b.js index f679588f..148a18a8 100644 --- a/base_tsa/th15/stringlocs.v0.01b.js +++ b/base_tsa/th15/stringlocs.v0.01b.js @@ -1,4 +1,10 @@ { "Rxcb660": "th10 Result Known Spell", - "Rxcb674": "th10 Result Unknown Spell" + "Rxcb674": "th10 Result Unknown Spell", + "Rxcb8d8": "Music Room Unknown Title", + "Rxcb7b4": "th10 Music Room spoiler 1", + "Rxcb7f0": "th10 Music Room spoiler 2", + "Rxcb828": "th10 Music Room spoiler 3", + "Rxcb854": "th10 Music Room spoiler 4", + "Rxcb890": "th10 Music Room spoiler 5" } diff --git a/base_tsa/th15/stringlocs.v1.00a.js b/base_tsa/th15/stringlocs.v1.00a.js deleted file mode 100644 index 4740beb3..00000000 --- a/base_tsa/th15/stringlocs.v1.00a.js +++ /dev/null @@ -1,21 +0,0 @@ -{ - "Rxce168": "Music Room Unknown Title", - "Rxcd08c": "th10_ascii_stage_1", - "Rxcd094": "th10_ascii_stage_2", - "Rxcd09c": "th10_ascii_stage_3", - "Rxcd0a4": "th10_ascii_stage_4", - "Rxcd0ac": "th10_ascii_stage_5", - "Rxcd0b4": "th10_ascii_stage_6", - "Rxcd0bc": "th10_ascii_stage_clear", - "Rxcd1c0": "th10_ascii_ranking", - "Rxcdf80": "th10_ascii_score_empty", - "Rxcd21c": "th13_ascii_credit", - "Rxcd53c": "th15 JP", - "Rxcd8dc": "th14_ascii_bonus", - "Rxcd8e8": "th14_ascii_no_bonus", - "Rxce044": "th10 Music Room spoiler 1", - "Rxce080": "th10 Music Room spoiler 2", - "Rxce0b8": "th10 Music Room spoiler 3", - "Rxce0e4": "th10 Music Room spoiler 4", - "Rxce120": "th10 Music Room spoiler 5" -} diff --git a/base_tsa/th15/stringlocs.v1.00b.js b/base_tsa/th15/stringlocs.v1.00b.js deleted file mode 100644 index 60adee7c..00000000 --- a/base_tsa/th15/stringlocs.v1.00b.js +++ /dev/null @@ -1,20 +0,0 @@ -{ - "Rxcd08c": "th10_ascii_stage_1", - "Rxcd094": "th10_ascii_stage_2", - "Rxcd09c": "th10_ascii_stage_3", - "Rxcd0a4": "th10_ascii_stage_4", - "Rxcd0ac": "th10_ascii_stage_5", - "Rxcd0b4": "th10_ascii_stage_6", - "Rxcd0bc": "th10_ascii_stage_clear", - "Rxcd1c0": "th10_ascii_ranking", - "Rxcd21c": "th13_ascii_credit", - "Rxcd53c": "th15 JP", - "Rxcd8dc": "th14_ascii_bonus", - "Rxcd8e8": "th14_ascii_no_bonus", - "Rxcdeec": "th08 Music Room spoiler 5", - "Rxce044": "th10 Music Room spoiler 1", - "Rxce080": "th10 Music Room spoiler 2", - "Rxce0b8": "th10 Music Room spoiler 3", - "Rxce0e4": "th10 Music Room spoiler 4", - "Rxce120": "th10 Music Room spoiler 5" -} diff --git a/base_tsa/th16/stringlocs.v0.01a.js b/base_tsa/th16/stringlocs.v0.01a.js index deff110a..25b58e25 100644 --- a/base_tsa/th16/stringlocs.v0.01a.js +++ b/base_tsa/th16/stringlocs.v0.01a.js @@ -9,9 +9,9 @@ "Rx8c6a4": "th15 Full-width 7", "Rx8c6a8": "th15 Full-width 8", "Rx8c6ac": "th15 Full-width 9", - "Rx8c6b0": "th08 Music Room spoiler 5", "Rx8c6b4": "th15 Result Known Spell", "Rx8c6cc": "th15 Result Unknown Spell", + "Rx8c93c": "Music Room Unknown Title", "Rx8c818": "th10 Music Room spoiler 1", "Rx8c854": "th10 Music Room spoiler 2", "Rx8c88c": "th10 Music Room spoiler 3", diff --git a/base_tsa/th16/stringlocs.v1.00a.js b/base_tsa/th16/stringlocs.v1.00a.js index c011fd5e..eb426a25 100644 --- a/base_tsa/th16/stringlocs.v1.00a.js +++ b/base_tsa/th16/stringlocs.v1.00a.js @@ -28,10 +28,10 @@ "Rx9334c": "th15 Full-width 7", "Rx93350": "th15 Full-width 8", "Rx93354": "th15 Full-width 9", - "Rx93358": "th08 Music Room spoiler 5", "Rx9335c": "th15 Result Known Spell", "Rx93374": "th15 Result Unknown Spell", "Rx933f0": "th16_ascii_score_empty", + "Rx935e0": "Music Room Unknown Title", "Rx934bc": "th10 Music Room spoiler 1", "Rx934f8": "th10 Music Room spoiler 2", "Rx93530": "th10 Music Room spoiler 3",