某款遊戲的轉檔器
不是轉譜器!!!
翻譯文件及與語言選項
cue previewTime數值獲取 (未測試)
請參考使用到的工具,本程式除了python之外,必須使用deretore、Cri-Tools、Sonic Audio Tools進行acb的解密以及打包。
也需要準備好遊戲的hca key,17位十進制,這裡就不方便提供。
請先至setting.ini檔設定需要的外部程式路徑。
deretore:請指向deretore裡的hca.exe。
sat:請指向Sonic Audio Tool裡的AcbEditor.exe。
key:遊戲的acb、awb key。
WorksSort.xml_path:chara分類顯示需要,非常重要,可以從A000中拿(建議使用P版的)。請指向WorksSort.xml。
其他為功能開關,若有不需要的功能可在這裡關閉。
以下為範例:
[ToolPath]
;deretore:You need to point to hcaenc.exe in deretore.
deretore=D:\deretore\hcaenc.exe
;sat:You need to point to AcbEditor.exe in Sonic Audio Tools.
sat=D:/DeskTop/sat/AcbEditor.exe
;critool:You need to point to index.js in critool.
critool=D:\DeskTop\CriTools-master\src\index.js
;key:You need to set acb key(17 digits decimal).
key=00000000000000000
;WorksSort.xml_path:You need to point to WorkSort.xml.
WorksSort.xml_path=D:\Desktop\WorksSort.xml
[Switch]
;True=On False=Off
cue=True
chara=True
event=True
map=True
music=True
course=True
[Detail]
;True=On False=Off
chara_defaultHave=False
music_fix_firstLock=True
music_fix_disableFlag=True
請先確定安裝好lxml、beautifulsoup、ujson套件。
執行main.py。
python -u "d:\DeskTop\NP-File-Converter\main.py"
如果要直接進行轉換,可以直接輸入需要轉換的option資料夾位置,例如:
D:\Desktop\A999
如果不想要進行某些轉換,可以在ini中Switch的部分進行修改。