Skip to content

AlphaKure/NP-File-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NP-File-Converter

某款遊戲的轉檔器

不是轉譜器!!!

目錄

  • 使用到的工具
  • 尚未完成的功能
  • 使用方法
  • 開發紀錄
  • English
  • 使用到的工具

  • CriTools
  • deretore
  • SonicAudioTools
  • python使用os、shutil、beautifulsoup、ujson、lxml套件
  • 尚未完成的功能

     翻譯文件及與語言選項

     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的部分進行修改。

    About

    某款遊戲的轉檔器

    Resources

    Stars

    Watchers

    Forks

    Packages

    No packages published

    Languages