Difference between revisions of "AFS"

From Wulinshu
Jump to navigation Jump to search
(Created page with "Category:Shenmue Category:Shenmue II Category:Files The AFS file is an container for storing various files.<br> This format only has indices and the file offsets/s...")
 
 
(2 intermediate revisions 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>
The files are aligned to an 2048 sector size.
The files are aligned to an 2048 sector size.


Line 11: Line 12:
! Position !! Length !! Type !! Description  
! Position !! Length !! Type !! Description  
|-
|-
| 0x00 || 0x04 || string || Identifier 0x41465300 (AFS ))
| 0x00 || 0x04 || string || Identifier 0x41465300 (AFS )
|-
|-
| 0x04 || 0x04 || uint || Entry Count
| 0x04 || 0x04 || uint || Entry Count

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