mirror of
https://github.com/Virtual-World-RE/NeoGF.git
synced 2024-11-15 04:25:34 +01:00
Update README.md
This commit is contained in:
parent
32164d780c
commit
44b30a55ec
|
@ -32,7 +32,7 @@ afstool.py --stats path
|
|||
* afs_rebuild.csv - Edit this file according to the configuration used in afs_rebuild.conf for rebuilding the AFS.
|
||||
|
||||
## filename_resolver.csv
|
||||
Pack doesn't update the original FD names. This file is used during pack to auto detect unpacked renamed files in the '''root''' folder keeping their original index in the TOC (and FD) . This file is autogenerated when:
|
||||
Pack doesn't update the original FD names. This file is used during pack to auto detect unpacked renamed files in the **root** folder keeping their original index in the TOC (and FD) . This file is autogenerated when:
|
||||
* there is a FD with duplicated filenames, extracted files with duplicated names use "filename **(N)**.ext" with N:Integer,
|
||||
* there is no FD, files are named with their index, for instance: "00000000" for the first file.
|
||||
|
||||
|
@ -66,6 +66,14 @@ All offsets and indexes are stored in hexadecimal with **0x** prefix: 0xabcdef.
|
|||
* **unknown**: Don't know yet what it represent. Null value will be used.
|
||||
|
||||
## afs_rebuild.csv
|
||||
**afs_rebuild.csv** contains entries describing how to pack '''root''' files in the AFS. All offsets and indexes values are stored in hexadecimal with **0x** prefix: 0xabcdef. Use **auto** value for offsets or indexes when it's possible. Offsets have to be aligned to 0x800 (2048). Put one line per selected file that you wan't to constraint using the format: "unpacked_filename?index?offset?packed_filename", for instance: "dummy (5).bin?0x12?0x80000?dummy.bin". You can put auto to index or offset: "dummy (5).bin?auto?auto?dummy.bin". For an empty block add only offset/length couple with values aligned to 0x800, for instance: "0x80000?0x5000".
|
||||
**afs_rebuild.csv** contains entries describing how to pack **root** files in the AFS. All offsets and indexes values are stored in hexadecimal with **0x** prefix: 0xabcdef. Use **auto** value for offsets or indexes when it's possible. Offsets have to be aligned to 0x800 (2048).
|
||||
|
||||
When rebuilding, remove all files without constraints from '''afs_rebuild.csv'''. Then put '''auto''' value in indexes and offsets that doesn't have constraints. While rebuilding the AFS filename_resolver.csv will be removed but you can keep changes about filenames by adding entries with unpacked_filename+index (and packed_filename when there is a FD) into this file.
|
||||
Put one line per selected file that you wan't to constraint using the format:
|
||||
* unpacked_filename?index?offset?packed_filename
|
||||
* dummy (5).bin?0x12?0x80000?dummy.bin
|
||||
* dummy (5).bin?auto?auto?dummy.bin
|
||||
|
||||
For an empty block add only offset/length couple with values aligned to 0x800:
|
||||
* "0x80000?0x5000".
|
||||
|
||||
When rebuilding, remove all files without constraints from **afs_rebuild.csv**. Then put **auto** value in indexes and offsets that doesn't have constraints. While rebuilding the AFS filename_resolver.csv will be removed but you can keep changes about filenames by adding entries with unpacked_filename+index (and packed_filename when there is a FD) into this file.
|
||||
|
|
Loading…
Reference in New Issue
Block a user