-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
g/j2: Fill out
game options
menu (#3003)
- Loading branch information
Showing
20 changed files
with
1,358 additions
and
205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"1280": "1000", | ||
"1286": "1001", | ||
"1287": "1002", | ||
"1289": "1030", | ||
"128e": "1060", | ||
"128f": "100f", | ||
"1290": "1500", | ||
"1291": "1600", | ||
"1292": "1007", | ||
"1293": "160d", | ||
"1294": "1601", | ||
"1295": "1602", | ||
"1296": "1603", | ||
"1297": "1604", | ||
"1299": "160e", | ||
"129a": "160f", | ||
"129b": "1610", | ||
"129c": "1606", | ||
"129d": "1607", | ||
"129e": "1608", | ||
"129f": "1609", | ||
"1300": "1613", | ||
"1301": "1611", | ||
"1302": "160a", | ||
"1303": "160b", | ||
"1304": "160c", | ||
"1307": "1614", | ||
"1308": "1615" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Jak 2 shares many of the same custom menu strings as jak 1 obviously | ||
# this is to copy them over so they are already translated. | ||
|
||
# TODO - make it enumerate all languages | ||
|
||
import json | ||
|
||
|
||
with open("temp-text-id-mapping.json", "r", encoding="utf-8") as f: | ||
mapping = json.load(f) | ||
|
||
with open("./text/game_custom_text_en-US.json", "r", encoding="utf-8") as f: | ||
jak2_file = json.load(f) | ||
|
||
with open("../jak1/text/game_custom_text_en-US.json", "r", encoding="utf-8") as f: | ||
jak1_file = json.load(f) | ||
|
||
for jak2_id, jak1_id in mapping.items(): | ||
jak2_file[jak2_id] = jak1_file[jak1_id].title() | ||
|
||
with open("./text/game_custom_text_en-US.json", "w", encoding="utf-8") as f: | ||
json.dump(jak2_file, f, indent=2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.