File Formats - trigger-segfault/TriggersTools.CatSystem2 GitHub Wiki
File Formats
Pages marked with ✓ next to them have had the known extent of their file structure fully documented. There is also a small selection of slightly understood and documented PS Vita File Formats for CatSystem2.
The compression method used in files unless otherwise stated
Data types
These are the data types present when explaining file specifications.
Although most types are listed as uint32 in File Specifications, the TriggersTools.CatSystem2 C# implementation often uses int32 values instead to avoid unnecessary casting or unchecked blocks.
Type
Size
byte
1-byte unsigned integer
uint16
2-byte unsigned integer
uint32
4-byte unsigned integer
uint64
8-byte unsigned integer
int16
2-byte signed integer
int32
4-byte signed integer
int64
8-byte signed integer
bool32
4-byte boolean (0 or 1)
byte[n]
Array of n bytes
char[n]
String of nbytes of characters
string
Null-terminated string
Notes
All integer and boolean types are read in little-endian format.