Yggdra Union: We'll Never Fight Alone (PlayStation Portable)/ROM map

From Data Crystal
< Yggdra Union: We'll Never Fight Alone (PlayStation Portable)
Revision as of 20:44, 2 June 2019 by Flame (talk | contribs) (Better outline, ID files and add CNS info)
Jump to navigation Jump to search

Chip tiny.png 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 Files (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. As an alternate method, the Python 3 code on the notes page can be used.

File List

Files in folder PSP_GAME\USRDIR\Data on the UMD or game image. data0 contains most game data, voiceDataEng and voiceDataJpn contain voice clips, 0flist function is unknown and bgmData contains music data.

Subfile Naming Convention

Some files in the data0 archive have the same name and other files have no name at all. Files will be referred to using one of three options:

  • A four-digit file number indexed by the order they appear in the archive (example: 0000 for the first file)
  • The same four digit number plus a dash plus the file name (example: 0000-ExiData.zlb)
  • The same four digit number plus a false extension based on the file type (example: 0354-Br.fct, note that the data0 file name for this file is simply Br)

File Format

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)

File List

The following list is not complete and counts only files whose top-level format is FCT. Additional FCT files are present within ZLB archives.

File ID
0001-SoundPack.fct
0354 through 0409 (filename = "Br")
0524-B
0614 through 0682
0614 through 0682
0826 through 0850 (filename = "Char_Status")
0852 through 0855 (filename = "Endi")
0856-Even
1309 through 1324 (various filenames)

File Format

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

CNS Files (unknown)

Unknown function and format. The ID string is "@CNS" (hex: 40 43 4E 53).

List of Files

File ID
0121 through 0194 (filename = "btlc")
1411-Char