From 1d0905ba9631b88d25db1b4a4cf194d5fb48abbe Mon Sep 17 00:00:00 2001 From: tmpz23 <28760271+tmpz23@users.noreply.github.com> Date: Thu, 3 Feb 2022 10:26:25 +0100 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ea9f4c7..43f923a 100644 --- a/README.md +++ b/README.md @@ -68,10 +68,13 @@ sys folder contains AFS system files of the game and generated files needed for * filename_resolver.csv - Created when multiple files have the same name in the FD. * afs_rebuild.conf - Edit this file for rebuilding the AFS. * afs_rebuild.csv - Edit this file with correct values set in afs_rebuild.conf for rebuilding the AFS. +* ### filename_resolver.csv: -When there is a FD, new names use "filename (N).ext" format with N:Integer. Each line contains a couple of "index/unpacked_filename". If there is no FD in the AFS files are named with their index, for instance: "00000002" for the second file. You can use the resolver to rename files using the index like this: "2/my_new_filename.ext". Then during pack afstool.py will auto detect the file and put it at the right index. +When there is a FD, new names use "filename (N).ext" format with N:Integer. Each line contains a couple of "index/unpacked_filename". If there is no FD in the AFS, files are named with their index, for instance: "00000002" for the second file. You can use the resolver to rename files using the index like this: "2/my_new_filename.ext". Then during pack afstool.py will auto detect the file and put it at the right index. + ### afs_rebuild.conf: 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