mirror of
https://github.com/Virtual-World-RE/NeoGF.git
synced 2024-11-15 11:45:33 +01:00
Update README.md
This commit is contained in:
parent
876f22e7cf
commit
8e3760a061
12
README.md
12
README.md
|
@ -94,11 +94,11 @@ All offsets and indexes are stored in hexadecimal with **0x** prefix: 0xabcdef.
|
||||||
|
|
||||||
**files_rebuild_strategy**: auto, index, offset or mixed
|
**files_rebuild_strategy**: auto, index, offset or mixed
|
||||||
|
|
||||||
files_rebuild_strategy is used to organise files (indexes, offsets, packed name if there is a FD) in AFS. The strategy use informations in **afs_rebuild.csv** autogenerated during unpack. 4 strategies are available:
|
**files_rebuild_strategy** is used to organise files (indexes, offsets, packed name if there is a FD) in the AFS. The strategy use informations in **afs_rebuild.csv** autogenerated during unpack. If the **root** file is not present in the **afs_rebuild.csv** then all value will be auto set. 4 strategies are available:
|
||||||
* auto: Rebuild all files indexes and offsets with packed packed_filename if there is a FD or else unpacked_filename. afs_rebuild.csv indexes and offsets will be ignored.
|
* **auto**: Auto-rebuild of all files indexes and offsets (using packed packed_filename if there is a FD). Indexes and offsets will be ignored.
|
||||||
* index: Keep the specified index for designated files. afs_rebuild.csv offsets will be ignored.
|
* **index**: Keep the specified index for designated files (using packed packed_filename if there is a FD). afs_rebuild.csv offsets will be ignored.
|
||||||
* offset: Keep the specified offset for designated files. afs_rebuild.csv indexes will be ignored.
|
* **offset**: Keep the specified offset for designated files (using packed packed_filename if there is a FD). afs_rebuild.csv indexes will be ignored.
|
||||||
* mixed: Keep the specified offset and index for afs_rebuild.csv entries where a value is specified.
|
* **mixed**: Keep the specified offsets and indexes (using packed packed_filename if there is a FD).
|
||||||
|
|
||||||
**filename_directory**: True when there is a FD and False when there is none. If set to True then it must have a \[FilenameDirectory\] section.
|
**filename_directory**: True when there is a FD and False when there is none. If set to True then it must have a \[FilenameDirectory\] section.
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ files_rebuild_strategy is used to organise files (indexes, offsets, packed name
|
||||||
* unknown: Don't know yet what it represent.
|
* unknown: Don't know yet what it represent.
|
||||||
|
|
||||||
### afs_rebuild.csv
|
### afs_rebuild.csv
|
||||||
afs_rebuild.csv contains entries describing how to pack files in the AFS. All offsets and indexes are stored in hexadecimal with 0x prefix: 0xabcdef. Use auto 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 files in the AFS. All offsets and indexes are stored in hexadecimal with 0x prefix: 0xabcdef. Use auto 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".
|
||||||
|
|
||||||
When rebuilding, remove all files without constraints from afs_rebuild.csv. Then put auto 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.
|
When rebuilding, remove all files without constraints from afs_rebuild.csv. Then put auto 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