diff --git a/README.md b/README.md index e3ed6b2..8367e35 100644 --- a/README.md +++ b/README.md @@ -80,9 +80,11 @@ 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 -When there is a FD with duplicated filenames, extracted files with duplicated names use "filename **(N)**.ext" with N:Integer. Pack doesn't change the FD filenames. This file is used during pack to match unpacked_filenames to their index in the TOC/FD even if their are different from the original name. +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) . It 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. -Each lines of this csv contains a couple of "index/unpacked_filename". If there is no FD in the AFS, files are named with their index, for instance: "00000000" for the first file. You can use the resolver to rename unpacked files using the TOC index like this: "0/my_new_filename.ext". Then during pack afstool.py will auto detect the unpacked_file and put it at the right index. +Each lines of this csv contains a couple of "index/unpacked_filename". You can use it to rename unpacked files, for instance: "0/my_new_filename.ext". ### afs_rebuild.conf All offsets and indexes are stored in hexadecimal with 0x prefix: 0xabcdef. Use auto when it's possible.