GRAF:AFS AFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
No edit summary
imported>Ikskoks
No edit summary
 
(17 intermediate revisions by 5 users not shown)
Line 2: Line 2:


== AFS ==
== AFS ==
{{GRAFPageMisc|date_posted=20:39, December 11, 2005}}  
{{GRAFPageMisc}}  


=== Format Specifications ===
=== Format Specifications ===
{{GRAFPageFormat|1=char {4} &nbsp;&nbsp;&nbsp; - Header {{Purple|(AFS + null)}}<br>
{{GRAFPageFormat|1=
uint32 {4} &nbsp; - Number Of Files
{{BlockDescription| // Archive Header }}
: char {4} &nbsp;&nbsp;&nbsp; - Header {{Constant|(AFS + null)}}<br>
: uint32 {4} &nbsp; - Number Of Files


{{Blue| // for each file }}
{{BlockDescription| // Table Of Contents (TOC) }}
: uint32 {4} &nbsp; - Offset
: {{BlockDescription| // for each file }}
: uint32 {4} &nbsp; - Length
:: uint32 {4} &nbsp; - Offset
:: uint32 {4} &nbsp; - Length
 
: uint32 {4} &nbsp; - Filename Directory Offset<br>
: uint32 {4} &nbsp; - Filename Directory Length<br>


uint32 {4} &nbsp; - Filename Directory Offset<br>
byte {X} &nbsp;&nbsp;&nbsp; - File Data
byte {X} &nbsp;&nbsp;&nbsp; - File Data


{{Blue| // Filename Directory }}
{{BlockDescription| // Filename Directory }}
: {{Blue| // for each file }}
: {{BlockDescription| // for each file }}
:: char {32} &nbsp;&nbsp; - Filename {{Purple|(null)}}
:: char {32} &nbsp;&nbsp; - Filename {{Constant|(null)}}
:: uint32 {4} &nbsp; - File Type ID
:: uint16 {2} &nbsp; - Year
:: uint16 {2} &nbsp; - {{Unknown}}
:: uint16 {2} &nbsp; - Month
:: uint16 {2} &nbsp; - {{Unknown}}
:: uint16 {2} &nbsp; - Day
:: uint16 {2} &nbsp; - {{Unknown}}
:: uint16 {2} &nbsp; - Hour
:: uint16 {2} &nbsp; - {{Unknown}}
:: uint16 {2} &nbsp; - Minute
:: uint32 {4} &nbsp; - Junk {{Green|(matches each value in the directory, including offsets and sizes, in order)}}}}
:: uint16 {2} &nbsp; - Second
:: uint32 {4} &nbsp; - File Length {{InlineComment|(matches this value in the TOC)}}}}


=== Notes and Comments ===
=== Notes and Comments ===
Line 53: Line 59:
=== Games ===  
=== Games ===  
* [[50 Cent: Bulletproof (PS2)]] [[AFS|*.afs]]
* [[50 Cent: Bulletproof (PS2)]] [[AFS|*.afs]]
* [[DragonBall Z: Budokai 2 (PS2)]] [[AFS|*.afs]]
* [[DragonBall Z: Budokai 3 (PS2)]] [[AFS|*.afs]]
* [[DragonBall Z: Budokai 3 (PS2)]] [[AFS|*.afs]]
* [[DragonBall Z: Budokai Tenkaichi 3 (PS2)]] [[AFS|*.afs]]
* [[Grandia 2]] [[AFS|*.afs]]
* [[Grandia 2]] [[AFS|*.afs]]
* [[Grandia 2 (Dreamcast)]] [[AFS|*.afs]]
* [[Grandia 2 (Dreamcast)]] [[AFS|*.afs]]
* [[House of the Dead 3]] [[AFS|*.afs]]
* [[House of the Dead 3]] [[AFS|*.afs]]
* [[Leisure Suit Larry: Manga Cum Laude]] [[AFS|*.afs]]
* [[Leisure Suit Larry: Magna Cum Laude]] [[AFS|*.afs]]
* [[Mortal Kombat Shaolin Monks (PS2)]] [[AFS|*.afs]]
* [[Mortal Kombat Shaolin Monks (PS2)]] [[AFS|*.afs]]
* [[Phantasy Star Online (XBox)]] [[AFS|*.afs]]
* [[Phantasy Star Online (XBox)]] [[AFS|*.afs]]
* [[Pro Evolution Soccer 5]] [[AFS|*.afs]]
* [[Pro Evolution Soccer 5]] [[AFS|*.afs]]
* [[Silent Hill 3]] [[AFS|*.afs]]
* [[Silent Hill 3]] [[AFS|*.afs]]
* [[Sonic Gems Collection]] [[AFS|*.afs]]


{{GRAFPageFooter}}
{{GRAFPageFooter}}


[[Category:Platform PC|AFS AFS]] [[Category:Platform Dreamcast|AFS AFS]] [[Category:Platform PS2|AFS AFS]] [[Category:Platform XBox|AFS AFS]] [[Category:Complete Almost Done|AFS AFS]] [[Category:Format Common|AFS AFS]] [[Category:CE None|AFS AFS]]
[[Category:Platform PC|AFS AFS]]
[[Category:Platform Dreamcast|AFS AFS]]
[[Category:Platform PS2|AFS AFS]]
[[Category:Platform XBox|AFS AFS]]
[[Category:Complete Almost Done|AFS AFS]]
[[Category:BMS New|AFS AFS]]
[[Category:BMS Author Mr.Mouse|AFS AFS]]
[[Category:Format Common|AFS AFS]]
[[Category:CE None|AFS AFS]]
[[Category:File Format]]

Latest revision as of 00:40, 3 January 2021

Back to index | Edit this page

AFS

Format Specifications

// Archive Header
char {4}     - Header (AFS + null)
uint32 {4}   - Number Of Files

// Table Of Contents (TOC)

// for each file
uint32 {4}   - Offset
uint32 {4}   - Length
uint32 {4}   - Filename Directory Offset
uint32 {4}   - Filename Directory Length

byte {X}     - File Data

// Filename Directory

// for each file
char {32}    - Filename (null)
uint16 {2}   - Year
uint16 {2}   - Month
uint16 {2}   - Day
uint16 {2}   - Hour
uint16 {2}   - Minute
uint16 {2}   - Second
uint32 {4}   - File Length (matches this value in the TOC)

Notes and Comments

Each file, and the directory, are padded to multiples of 2048 bytes using null bytes. So, the first file will start at offset 2048, or 4096, etc, and similarly with the next files.

Some games (for example Grandia 2) don't have a filename directory (all entries are zero); however, the rest of the format is the same.

MultiEx BMS Script

<bms ext="afs" games="'50 Cent: Bulletproof','DragonBall Z: Budokai 3','Leisure Suit Larry: Manga Cum Laude','Mortal Kombat Shaolin Monks','Phantasy Star Online','Pro Evolution Soccer 5','Silent Hill 3'" platforms="'PS2','PS2','PC','PS2','PC','PC','PC'" version="1.0" author="Mr.Mouse" verbose="no" silence="no">IDString 0 AFS ; ImpType Standard ; Get D Byte 0 ; Get FileNum Long 0 ; For T = 1 To FileNum ; SavePos FOO 0 ; Get FO Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; Log "" FO FS FOO FSO ; Next T ; </bms>

Supported by Programs

Links

None

Games

Navigation

Jump to a listing by...
All Formats - Common Formats - Standard Formats - Malformed Pages
Platforms
Microsoft:
Xbox
Xbox 360
Nintendo:
GameCube
DS
Desktop:
PC
Sega:
Dreamcast
Sony:
PlayStation
PlayStation 2
PlayStation 3
PlayStation Portable
Type
Animation - Archive - Audio - Image - Mesh - Miscellaneous - Model - Video
Endianness
Little-endian - Big-endian
BMS Scripts
Pages Without a BMS Script

All Pages with Scripts:
Recently Added Scripts

Program Support
No Known Support

MultiEx Commander - Game Extractor

Format Specification Completion
Work in Progress - Almost Done - Completed
Compression and Encryption
No Compression or Encryption Used - Unknown Compression or Encryption Used

One or Both Used:
Compression Used - Both Compression and Encryption Used