Difference between revisions of "AFS"
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...") |
|||
Line 3: | Line 3: | ||
[[Category:Files]] | [[Category:Files]] | ||
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 11: | ||
! 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 |
Revision as of 19:29, 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 |