SPC

From Spiral Framework
Jump to navigation Jump to search
SPC
TypeArchive Format
SystemVita & Steam
Applicable TitlesDanganronpa V3: Killing Harmony (Vita & Steam)
Credityukinogatari
Default SignednessUnsigned
Default EndiannessLittle-Endian
Implementation Status100% (Still tinkering)

SPC files are a new archive type introduced in Danganronpa V3: Killing Harmony, likely as an alternative to PAK files. They contain one or more subfiles, each of which has its own name and header describing its compressed/uncompressed size, and whether the data is currently compressed or not.

Specification

SPC File
Offset Size Data Type Function Example Value Notes
0x00 4 Bytes String/Data Magic Number "CPS." or 0x43 0x50 0x53 0x2E
0x04 36 Bytes Data Padding 0x00 0x00 0x00 0x00 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Untested as to if other values work
0x28 4 Bytes Int File Count 4
0x2C 4 Bytes Int Unknown 4 Untested as to if other values
0x30 16 Bytes Data Padding 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Untested as to if other values work
0x40 4 Bytes String/Data Magic "Root" or 0x52 0x6F 0x6F 0x74
0x44 12 Bytes Data Padding 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 Untested as to if other values work