SRD
Type | Reference Format |
---|---|
System | Steam |
Applicable Titles | Danganronpa V3: Killing Harmony |
Credit | yukinogatari/Danganronpa-Tools |
Default Signedness | Unsigned |
Default Endianness | Both Little-Endian and Big-Endian |
Implementation Status | 80% |
SRD (Or Spike Reference Descriptor as it is theorised to stand for) is a file format that stores information about an object, typically models. Each entry in the file has a different piece of information about the end product.
SRD "archives" themselves are very simple; they're simply a collection of SRD entries, one after another.
SRD entries all follow a simple pattern; a 4 byte string (although it could be read as a number) for the data type. This is followed by a 4 byte Big Endian int for the data length, then a 4 byte BE int for the subdata length, then a 4 byte padding number.
Alignment
All "blocks" in a SRD file and entry are aligned to 16 bytes. This means, if a entry is only 10 bytes, there will be 6 bytes of padding. If the entry is 125 bytes, then there will be 3 bytes of padding. Both the main data block and subdata block are subjected to this padding.
Entry Types
TXI (Texture Information)
This entry contains information about textures, put bluntly.