From 368ea0e30c078e5b458c9a51918730bc5df71348 Mon Sep 17 00:00:00 2001 From: tmpz23 <28760271+tmpz23@users.noreply.github.com> Date: Wed, 2 Feb 2022 21:23:21 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 86028e8..eb6dc49 100644 --- a/README.md +++ b/README.md @@ -73,16 +73,22 @@ sys folder contains AFS system files of the game and generated files needed for All offsets and indexes are stored in hexadecimal with 0x prefix: 0xabcdef. Use auto when it's possible. #### \[Default\] section **AFS_MAGIC**: 0x41465300 or 0x41465320 + **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: * 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. * index: Keep the specified index for designated files. afs_rebuild.csv offsets will be ignored. * offset: Keep the specified offset for designated files. afs_rebuild.csv indexes will be ignored. * mixed: Keep the specified offset or index for afs_rebuild.csv entries where a value is specified. + **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. + #### \[FilenameDirectory\] section **toc_offset_of_fd_offset**: The TOC offset of the FD offset is at the end of the TOC. Some AFS use pad after the offsets/lengths serie. Use auto when it's possible. + **fd_offset**: The FD is at the end of the AFS. Use auto when it's possible. + **FD_last_attribute_type**: The type of the last 4 bytes of each FD entries. 4 values are available: * length: Use file length. * offset-length: Use offset length series.