Skip to content

Commit

Permalink
Locate more hardcoded strings, covering the Music Room and the Result…
Browse files Browse the repository at this point in the history
… screen in all supported versions.

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.
  • Loading branch information
nmlgc committed Aug 30, 2018
1 parent 211497c commit 65d54be
Show file tree
Hide file tree
Showing 17 changed files with 138 additions and 49 deletions.
12 changes: 12 additions & 0 deletions base_tsa/th11/stringlocs.v0.02a.js
Original file line number Diff line number Diff line change
@@ -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"
}
5 changes: 4 additions & 1 deletion base_tsa/th11/stringlocs.v1.00a.js
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions base_tsa/th12/stringlocs.v0.02a.js
Original file line number Diff line number Diff line change
@@ -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"
}
3 changes: 3 additions & 0 deletions base_tsa/th12/stringlocs.v1.00b.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 7 additions & 1 deletion base_tsa/th128/stringlocs.v1.00a.js
Original file line number Diff line number Diff line change
@@ -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"
}
10 changes: 10 additions & 0 deletions base_tsa/th13/stringlocs.v0.01a.js
Original file line number Diff line number Diff line change
@@ -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"
}
1 change: 1 addition & 0 deletions base_tsa/th14/stringlocs.v0.01b.js
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
10 changes: 10 additions & 0 deletions base_tsa/th14/stringlocs.v0.01bp.js
Original file line number Diff line number Diff line change
@@ -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"
}
20 changes: 19 additions & 1 deletion base_tsa/th14/stringlocs.v1.00a.js
Original file line number Diff line number Diff line change
@@ -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"
}
27 changes: 27 additions & 0 deletions base_tsa/th14/stringlocs.v1.00bp.js
Original file line number Diff line number Diff line change
@@ -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"
}
20 changes: 19 additions & 1 deletion base_tsa/th15/stringlocs.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"Rxce168": "Music Room Unknown Title",
"Rxcdef0": "th15 Result Known Spell",
"Rxcdf08": "th15 Result Unknown Spell",
"Rxcdec4": "th15 Full-width 0",
Expand All @@ -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"
}
8 changes: 7 additions & 1 deletion base_tsa/th15/stringlocs.v0.01a.js
Original file line number Diff line number Diff line change
@@ -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"
}
8 changes: 7 additions & 1 deletion base_tsa/th15/stringlocs.v0.01b.js
Original file line number Diff line number Diff line change
@@ -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"
}
21 changes: 0 additions & 21 deletions base_tsa/th15/stringlocs.v1.00a.js

This file was deleted.

20 changes: 0 additions & 20 deletions base_tsa/th15/stringlocs.v1.00b.js

This file was deleted.

2 changes: 1 addition & 1 deletion base_tsa/th16/stringlocs.v0.01a.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion base_tsa/th16/stringlocs.v1.00a.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 65d54be

Please sign in to comment.