-
Notifications
You must be signed in to change notification settings - Fork 0
File Tool CLI
Jerome Canler edited this page Jun 3, 2020
·
7 revisions
- bankinfo: gives information about a BNK file
- unpack: extracts all contents from BNK file, respecting embedded hierarchy
- repack: puts extracted contents back to BNK file.
- jsonify: converts a supported TDU file to JSON file, allowing it to be edited
- applyjson: writes a json back to TDU file.
Both operations above need a file structure, respectively to understand binary file format or to generate binary file.
Structure is provided via JSON file :
- when executing operation, by specifying
-s <xxxxxx-map.json file>
argument - when executing operation without argument, thus telling FileTool to use default structure:
- either by picking for you the right file in structures directory of TDUF install (the ones you may modify)
- or by using internal structures, which are embedded into TDUF library (intented to always be read-only).
To learn more about structures, head to Reverse Engineering Structure article.
- encrypt: transform file contents with XTEA algorithm - used by some (db, btrq, playersave...)
- decrypt: make XTEA encrypted TDU file readable again.