Skip to content

Commit

Permalink
Update code.bin
Browse files Browse the repository at this point in the history
  • Loading branch information
Xzonn committed Jun 14, 2024
1 parent 1417c9d commit 71f1cca
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 23 deletions.
3 changes: 2 additions & 1 deletion scripts/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

CONTROL_PATTERN = re.compile(r"(\[[0-9A-F]{2}(?: [0-9A-F]{2})*\]|\n)")
TRASH_PATTERN = re.compile(
r"^(?:|.*(?:0x|_|※|(仮)|ダミーメッセージ|ダミーMSG|ダミー枠|RESERVE|リザーブ|ダ\[(?:n|e|f(?: \d+)+)\]ミ\[(?:n|e|f(?: \d+)+)\]ー|★未使用|・未使用|未使用・|MSG|これが出るとバグです|バッファ).*|ダミー\d*|<声のみ>ダミー|会話ダミー|ダミ-|ブランク|未使用|ダミー 使用禁止)$",
r"^(?:|.*(?:0x|_|※|(仮)|ダミーメッセージ|ダミーMSG|ダミー枠|RESERVE|リザーブ|ダ\[(?:n|e|f(?: \d+)+)\]ミ\[(?:n|e|f(?: \d+)+)\]ー|★未使用|・未使用|未使用・|MSG|これが出るとバグです|バッファ).*|ダミー\d*|<声のみ>ダミー|会話ダミー|ダミ-|ブランク|未使用|ダミー 使用禁止|%s|?+)$",
re.DOTALL,
)
KANA_PATTERN = re.compile(r"[\u3040-\u309F\u30A0-\u30FF]+")
Expand Down Expand Up @@ -77,6 +77,7 @@
}

HARDCODED_TEXTS = [
("プロローグ", "???"),
("剛毅", "女帝"),
("Aチーム", "P3女主人公"),
("謎解き", "採取"),
Expand Down
6 changes: 0 additions & 6 deletions texts/ja/camp/cmppoem.bf.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,3 @@
"CMPPOEM_SELECT_1_3","『おったまげバースデイ』","CMPPOEM_SELECT_1_3",""
"CMPPOEM_SELECT_1_4","『キソク』","CMPPOEM_SELECT_1_4",""
"CMPPOEM_SELECT_1_5","『七つの大罪』","CMPPOEM_SELECT_1_5",""
"CMPPOEM_SELECT_1_6","????","CMPPOEM_SELECT_1_6",""
"CMPPOEM_SELECT_1_7","????","CMPPOEM_SELECT_1_7",""
"CMPPOEM_SELECT_1_8","????","CMPPOEM_SELECT_1_8",""
"CMPPOEM_SELECT_1_9","????","CMPPOEM_SELECT_1_9",""
"CMPPOEM_SELECT_1_10","????","CMPPOEM_SELECT_1_10",""
"CMPPOEM_SELECT_1_11","????","CMPPOEM_SELECT_1_11",""
3 changes: 2 additions & 1 deletion texts/ja/code.bin.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
"source","target","id","developer_comments"
"offset_001aef58_0","プロローグ","offset_001aef58_0",""
"offset_001aef68_0","ひかり","offset_001aef68_0",""
"offset_00454e1c_0","剛毅","offset_00454e1c_0",""
"offset_00454e24_0","世界","offset_00454e24_0",""
"offset_00454e38_0","死神","offset_00454e38_0",""
Expand Down Expand Up @@ -114,7 +116,6 @@
"offset_00459b78_0","その他","offset_00459b78_0",""
"offset_00459b80_0","採取","offset_00459b80_0",""
"offset_0045a068_0","第%dエリア","offset_0045a068_0",""
"offset_0045a074_0","???","offset_0045a074_0",""
"offset_0045a07c_0","A.I.G.I.S","offset_0045a07c_0",""
"offset_0045a088_0","%d番街","offset_0045a088_0",""
"offset_0045a090_0","大衆の映画館街","offset_0045a090_0",""
Expand Down
3 changes: 0 additions & 3 deletions texts/ja/init/datskillhelp.bmd.csv
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,6 @@
自動:[颜色 05]敵からの先制攻撃を高確率で阻止[颜色 01]","skill_145_0",""
"skill_146_0","《情報支援専用・バトルサポート》
自動:[颜色 05]味方全体のHPを毎ターン5%回復[颜色 01]","skill_146_0",""
"skill_147_0","???","skill_147_0",""
"skill_148_0","???","skill_148_0",""
"skill_149_0","???","skill_149_0",""
"skill_14A_0","《情報支援専用・バトルサポート》
3ターン中[颜色 05]ターン終了時に全体のHPを中回復[颜色 01]","skill_14A_0",""
"skill_14B_0","《情報支援専用・ダンジョンサポート》
Expand Down
1 change: 0 additions & 1 deletion texts/ja/init/fcltable.bin_fclFesRootHelp.ftd.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"source","target","id","developer_comments"
"text_000_0","武器や防具、アイテムの売買ができます","text_000_0",""
"text_001_0","???","text_001_0",""
"text_002_0","特別上映のチケット発券や破棄ができます","text_002_0",""
"text_003_0","パーティを編成できます","text_003_0",""
"text_004_0","映画内の迷宮を探索できます","text_004_0",""
Expand Down
6 changes: 0 additions & 6 deletions texts/zh_Hans/camp/cmppoem.bf.csv
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,3 @@
“七大罪”

“七宗罪”"
"CMPPOEM_SELECT_1_6","????","CMPPOEM_SELECT_1_6",""
"CMPPOEM_SELECT_1_7","????","CMPPOEM_SELECT_1_7",""
"CMPPOEM_SELECT_1_8","????","CMPPOEM_SELECT_1_8",""
"CMPPOEM_SELECT_1_9","????","CMPPOEM_SELECT_1_9",""
"CMPPOEM_SELECT_1_10","????","CMPPOEM_SELECT_1_10",""
"CMPPOEM_SELECT_1_11","????","CMPPOEM_SELECT_1_11",""
9 changes: 8 additions & 1 deletion texts/zh_Hans/code.bin.csv
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
"source","target","id","developer_comments"
"offset_001aef58_0","序章","offset_001aef58_0","机翻辅助:

序章"
"offset_001aef68_0","光","offset_001aef68_0","机翻辅助:


光线"
"offset_00454e1c_0","力量","offset_00454e1c_0","机翻辅助:

力量"
Expand Down Expand Up @@ -346,7 +354,6 @@ P3女主人公"
第%d区域

第%d区"
"offset_0045a074_0","???","offset_0045a074_0",""
"offset_0045a07c_0","A.I.G.I.S","offset_0045a07c_0",""
"offset_0045a088_0","%d号街","offset_0045a088_0","机翻辅助:

Expand Down
3 changes: 0 additions & 3 deletions texts/zh_Hans/init/datskillhelp.bmd.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2162,9 +2162,6 @@

【情报支援专用·战斗支援】
自动:[颜色 05]己方全体HP每回合回复5%[颜色 01]"
"skill_147_0","???","skill_147_0",""
"skill_148_0","???","skill_148_0",""
"skill_149_0","???","skill_149_0",""
"skill_14A_0","“情报支援专用·战斗辅助”
3回合中[颜色 05]回合结束时恢复全体HP中量。[颜色 01]","skill_14A_0","机翻辅助:

Expand Down
1 change: 0 additions & 1 deletion texts/zh_Hans/init/fcltable.bin_fclFesRootHelp.ftd.csv
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
可以买卖武器、防具、物品

你可以买卖武器、防具和道具。"
"text_001_0","???","text_001_0",""
"text_002_0","可以发行特别上映的票或废弃票","text_002_0","机翻辅助:

可以发行特别上映的票或废弃票
Expand Down

0 comments on commit 71f1cca

Please sign in to comment.