Skip to content

Offset list archive

ProgSys edited this page Apr 9, 2024 · 8 revisions

Offset list archives are a result of decompressing a IMY compressed archive, like START.DAT, SCRIPT.DAT, FACE.DAT or ANM**.DAT inside [SUBDATA.DAT] (PSPFS_V1). They can contain a variety of files, like textures (.TX2), sprite sheets (.SH) and game scripts. The position of the files in the archive are hard coded, as the names of the files are not saved, making it also hard to identify the files.

Compressed archives can be replaced with decompressed versions (in PSPFS_V1 archives), the game will recognize them.

File structure

Type Size Description
uInt 4 byte Number of files
  • For each file:
Type Size Description
uInt 4 byte Pointer to file (file size: nextPointer-currentPointer)
  • For each file:
  • Data of each file, no padding in between

Exceptions

Of course, how could it be any other way, the pointers to the scripts in SCRIPT.DAT don't include the header size.