This is the specifications for the archive file which is handled by the
Game Extractor plugin
Archive_PAC_2.
Endian Order: | Little Endian |
Compression: | none |
Encryption: | None |
This format is used by the following Games:
Summon Night 3 [PS2] | *.pac |
Black Matrix 2 [PS2] | *.pac |
Sacred Blaze [PS2] | *.pac |
Summon Night 4 [PS2] | *.pac |
Summon Night EX-Thesis [PS2] | *.pac |
Dragon Shadow Spell [PS2] | *.pac |
Summon Night Granthese [PS2] | *.pac |
This is the format specification information:
| // ARCHIVE (TYPE 0)
// Color Palettes are PS2-Striped
// HEADER
2 - Number of Entries
2 - Archive Type (0)
4 - Unknown (11)
// for each entry
2 - Offset [*2048]
2 - Length [*2048]
X - null Padding to a multiple of 2048 bytes
// BLOCK TYPE 1
2 - Block Type (1)
2 - null
4 - Unknown (16)
4 - Unknown (52)
4 - Unknown (88)
4 - Unknown (1)
4 - Unknown (8)
4 - Unknown (1)
4 - null
4 - Unknown (1)
4 - Unknown
4 - Image Data Offset (4096)
4 - Unknown
4 - null
4 - Unknown (1)
4 - Unknown (2)
4 - Unknown (1)
4 - Unknown (272)
4 - null
4 - Unknown
4 - Unknown
4 - Unknown
1964 - null Padding to a multiple of 2048 bytes
// IMAGE DATA (BLOCK TYPE 0)
2 - Block Type (0)
2 - Number of Images
4 - Pixel Data Offset (relative to the start of the Image Data block) (128)
4 - Color Palette Offset (relative to the start of the Image Data block)
// for each image
4 - Image ID (incremental from 0)
X - null padding to offset 128
// PIXEL DATA
4 - Number of Images
12 - null
// for each image
4 - Image Width
4 - Image Height
4 - Pixel Data Offset (relative to the start of the Pixel Data block)
4 - Unknown
4 - Unknown
12 - null
4 - Unknown
4 - Unknown
4 - Unknown (14)
8 - null
4 - Unknown
4 - Unknown (80)
12 - null
4 - Unknown (81)
4 - null
4 - Image Width
4 - Image Height
4 - Unknown (82)
12 - null
4 - Unknown (83)
4 - null
4 - Unknown
4 - Unknown
4 - Unknown (14)
4 - null
4 - Unknown
4 - Unknown (6)
4 - Unknown (6)
4 - null
// for each image
// for each pixel
1 - Palette Index
// PALETTE DATA
4 - Unknown (1)
12 - null
4 - Unknown (16)
4 - Unknown (16)
4 - Unknown (128)
4 - Unknown (64)
4 - Unknown (64)
12 - null
4 - Unknown
4 - Unknown
4 - Unknown (14)
8 - null
4 - Unknown
4 - Unknown (80)
12 - null
4 - Unknown (81)
4 - null
4 - Unknown (16)
4 - Unknown (16)
4 - Unknown (82)
12 - null
4 - Unknown (83)
4 - null
// for each color
4 - RGBA
X - null Padding to a multiple of 2048 bytes
// OTHER DATA
X - Other Data
// ARCHIVE (TYPE 1)
// Color Palettes are PS2-Striped
// HEADER
2 - Number of Entries
2 - Archive Type (1)
4 - Unknown (4)
// for each entry
4 - Offset [*16]
4 - Length [*16]
X - null Padding to a multiple of 16 bytes
// IMAGE DATA (BLOCK TYPE 0)
2 - Block Type (0)
2 - Number of Images
4 - Pixel Data Offset (relative to the start of the Image Data block) (128)
4 - Color Palette Offset (relative to the start of the Image Data block)
// for each image
4 - Image ID (incremental from 0)
X - null padding to offset 128
// PIXEL DATA
4 - Number of Images
12 - null
// for each image (144 bytes per entry)
4 - Image Width
4 - Image Height
4 - Pixel Data Offset (relative to the start of the Pixel Data block)
4 - Unknown
4 - Unknown
12 - null
4 - Unknown
4 - Unknown
4 - Unknown (14)
8 - null
4 - Unknown
4 - Unknown (80)
12 - null
4 - Unknown (81)
4 - null
4 - Image Width
4 - Image Height
4 - Unknown (82)
12 - null
4 - Unknown (83)
4 - null
4 - Unknown
4 - Unknown
4 - Unknown (14)
4 - null
4 - Unknown
4 - Unknown (6)
4 - Unknown (6)
4 - null
// for each image
// for each pixel
1 - Palette Index
// PALETTE DATA
4 - Unknown (1)
12 - null
4 - Unknown (16)
4 - Unknown (16)
4 - Unknown (128)
4 - Unknown (64)
4 - Unknown (64)
12 - null
4 - Unknown
4 - Unknown
4 - Unknown (14)
8 - null
4 - Unknown
4 - Unknown (80)
12 - null
4 - Unknown (81)
4 - null
4 - Unknown (16)
4 - Unknown (16)
4 - Unknown (82)
12 - null
4 - Unknown (83)
4 - null
// for each color
4 - RGBA
X - null Padding to a multiple of 16 bytes
// OTHER DATA
X - Other Data |
Game Extractor is able to read files of this type, as well as files from thousands of other games. To give it a try, download
Game Extractor (Basic Version) for
free, and see what it can do.
For further information on this format, refer to the source code on our
GitHub repository.