The following article is a ROM map for Yggdra Union: We'll Never Fight Alone (PlayStation Portable).
General
This game uses CRIWARE. It is unknown if .afs files are CRIWARE archives.
The main archive file is data0.afs. The full path is PSP_GAME\USRDIR\Data\data0.afs.
All offsets below are absolute (i.e., relative to the start of the file) unless otherwise noted.
AFS File Format (main game data archives)
This fork of Puyo Tools will extract the files using the format INDEX-FILENAME (where INDEX is the zero-padded index of the file) when the "Prepend" option is checked.
Header
Offset |
What
|
0x0 |
IDSTRING = "AFS\x00" (hex: 41 46 53 00)
|
0x4 |
Number of files
|
File offsets table
Offset |
What
|
Entry size |
0x8. Offsets below are offsets within each entry.
|
0x0 |
Offset
|
0x4 |
File size
|
After this is 0x8 bytes with the location and size of the file information table.
Offset |
What
|
0x0 |
Position of file information table
|
0x4 |
Size of file information table
|
File information table
Offset |
What
|
Entry size |
0x30. Offsets below are offsets within each entry.
|
0x0 |
File name and extension padded with nulls. Some files don't have a name.
|
0x20 |
File information. The function of the values is unknown.
|
FCT (archive file)
Samples:
- data0.afs/0000-ExiData.zlb (after decompressing)
- data0.afs/0524-B
Header
Offset |
What
|
0x0 |
IDSTRING = "FCT\x00" (hex: 70 67 84 00)
|
0x4 |
Number of files
|
0x8 |
File offsets table offset
|
0xC |
0
|
File offsets table
Offset |
What
|
Entry size |
0x8. Offsets below are offsets within each entry.
|
0x0 |
Offset
|
0x4 |
File size
|