GRAF:AFS AFS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Mr.Mouse
m (AFS AFS moved to GRAF:AFS AFS)
imported>Dinoguy1000
No edit summary
Line 1: Line 1:
== AFS ==
{{GRAFPageHeader}}


* ''' Format Type ''':    Archive <br>
== AFS ==
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>
{{GRAFPageMisc|date_posted=20:39, December 11, 2005}}


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


=== Format Specifications ===
{{Blue| // for each file }}
: uint32 {4} &nbsp; - Offset
: uint32 {4} &nbsp; - Length


<tt><b>
uint32 {4} &nbsp; - Filename Directory Offset<br>
char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Header <font color="purple">(AFS + null)</font> <br>
byte {X} &nbsp;&nbsp;&nbsp; - File Data
uint32 {4}&nbsp;&nbsp; - Number Of Files <br>
 
<br>
{{Blue| // Filename Directory }}
<font color="blue"> ''' // for each file ''' </font> <br>
: {{Blue| // for each file }}
: uint32 {4}&nbsp;&nbsp; - Offset <br>
:: char {32} &nbsp;&nbsp; - Filename {{Purple|(null)}}
: uint32 {4}&nbsp;&nbsp; - Length <br>
:: uint32 {4} &nbsp; - File Type ID
<br>
:: uint16 {2} &nbsp; - {{Unknown}}
uint32 {4}&nbsp;&nbsp; - Filename Directory Offset <br>  
:: uint16 {2} &nbsp; - {{Unknown}}
byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>
:: uint16 {2} &nbsp; - {{Unknown}}
<br>
:: uint16 {2} &nbsp; - {{Unknown}}
<font color="blue"> ''' // Filename Directory ''' </font> <br>
:: uint32 {4} &nbsp; - Junk {{Green|(matches each value in the directory, including offsets and sizes, in order)}}}}
: <font color="blue"> ''' // for each file ''' </font> <br>
 
:: char {32}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>
=== Notes and Comments ===
:: uint32 {4}&nbsp;&nbsp; - File Type ID <br>
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.
:: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
 
:: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
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.
:: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
:: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>
:: uint32 {4}&nbsp;&nbsp; - Junk <font color="purple">(matches each value in the directory, including offsets and sizes, in order)</font> <br>
<br>
</b></tt>


=== MultiEx BMS Script ===  
=== 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 ;
<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 ;
ImpType Standard ;
Line 43: Line 42:
Log "" FO FS FOO FSO ;
Log "" FO FS FOO FSO ;
Next T ;
Next T ;
</bms><br><br>
</bms>


=== Notes and Comments ===  
=== Supported by Programs ===  
 
* {{ProgramSupportMexcom}}
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.
* {{ProgramSupportGameExtracter}}
<br>
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.
<br>


=== Compatible Programs ===  
=== Links ===
None


* [[MultiEx Commander]]
=== Games ===
* [[Game Extractor|Game Extractor]]<br>
* [[50 Cent: Bulletproof (PS2)]] [[AFS|*.afs]]
<br>
* [[DragonBall Z: Budokai 3 (PS2)]] [[AFS|*.afs]]
* [[Grandia 2]] [[AFS|*.afs]]
* [[Grandia 2 (Dreamcast)]] [[AFS|*.afs]]
* [[House of the Dead 3]] [[AFS|*.afs]]
* [[Leisure Suit Larry: Manga Cum Laude]] [[AFS|*.afs]]
* [[Mortal Kombat Shaolin Monks (PS2)]] [[AFS|*.afs]]
* [[Phantasy Star Online (XBox)]] [[AFS|*.afs]]
* [[Pro Evolution Soccer 5]] [[AFS|*.afs]]
* [[Silent Hill 3]] [[AFS|*.afs]]


=== Other Games ===
{{GRAFPageFooter}}


These games also use this file format<br>
[[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]]
* 50 Cent: Bulletproof (PS2) *.afs
* DragonBall Z: Budokai 3 (PS2) *.afs
* Grandia 2 (PC,DC) *.afs
* Leisure Suit Larry: Manga Cum Laude *.afs
* Mortal Kombat Shaolin Monks (PS2) *.afs
* Phantasy Star Online *.afs
* Pro Evolution Soccer 5 *.afs
* Silent Hill 3 *.afs

Revision as of 04:35, 11 December 2006

Back to index | Edit this page

AFS

Format Specifications

char {4}     - Header (AFS + null)

uint32 {4}   - Number Of Files

// for each file

uint32 {4}   - Offset
uint32 {4}   - Length

uint32 {4}   - Filename Directory Offset
byte {X}     - File Data

// Filename Directory

// for each file
char {32}    - Filename (null)
uint32 {4}   - File Type ID
uint16 {2}   - Unknown
uint16 {2}   - Unknown
uint16 {2}   - Unknown
uint16 {2}   - Unknown
uint32 {4}   - Junk (matches each value in the directory, including offsets and sizes, in order)

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