Difference between revisions of "AFS"

From Wulinshu
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
[[Category:Shenmue II]]
[[Category:Shenmue II]]
[[Category:Files]]
[[Category:Files]]
[[Category:Containers]]
The AFS file is an container for storing various files.<br>
The AFS file is an container for storing various files.<br>
This format only has indices and the file offsets/sizes which need to be mapped with an [[IDX]] file to use them in the game.<br>
This format only has indices and the file offsets/sizes which need to be mapped with an [[IDX]] file to use them in the game.<br>

Latest revision as of 23:20, 10 November 2018

The AFS file is an container for storing various files.
This format only has indices and the file offsets/sizes which need to be mapped with an IDX file to use them in the game.
The files are aligned to an 2048 sector size.

Header

Position Length Type Description
0x00 0x04 string Identifier 0x41465300 (AFS )
0x04 0x04 uint Entry Count

Entry

Position Length Type Description
0x00 0x04 uint File offset (divisible by 2048)
0x04 0x04 uint File size in bytes