(WORK IN PROGRESS)
I am not sure how much of this is posted anywhere else, and right now I am just pulling information from my notes and will be adding more and more details as time goes on. If anyone already has this all broken down they are invited to fill in what they have. * DragonSire
PIGG File Structure (Header)
DataType
|
Size
|
Description
|
Notes
|
Integer/UInteger
|
4 Bytes
|
Identifier
|
This used to be 291, Not sure currently
|
Short/UShort
|
2 Bytes
|
Unknown1
|
2
|
Short/UShort
|
2 Bytes
|
Unknown2
|
2
|
Short
|
2 Bytes
|
Unknown3
|
16
|
Short/UShort
|
2 Bytes
|
Size of Directory Info
|
|
Integer/UInteger
|
4 Bytes
|
Number of Directories
|
|
*
|
LOOP
|
Internal Directory Structure
|
# of Directories
|
PIGG File Structure (Internal Directory Structure)
DataType
|
Size
|
Description
|
Notes
|
Integer/UInteger
|
4 Bytes
|
Directory Marker
|
13398
|
Integer/UInteger
|
4 Bytes
|
Bytes
|
|
Integer/UInteger
|
4 Bytes
|
File Size
|
|
Integer/UInteger
|
4 Bytes
|
Time Stamp
|
UInt32 to Time Convert
|
Integer/UInteger
|
4 Bytes
|
File Offset
|
|
Integer/UInteger
|
4 Bytes
|
Unknown 1
|
|
Integer/UInteger
|
4 Bytes
|
Slot Index
|
|
Bytes
|
16 Bytes
|
MD5
|
|
Integer/UInteger
|
4 Bytes
|
File Size Compressed
|
|
PIGG File Structure (Internal String Table)
DataType
|
Size
|
Description
|
Notes
|
Integer/UInteger
|
4 Bytes
|
String Table Marker
|
26505
|
Integer/UInteger
|
4 Bytes
|
Count
|
|
Integer/UInteger
|
4 Bytes
|
Size
|
|
*
|
LOOP
|
String Entries
|
# of Count
|
Ascii /UTF 8
|
VAR
|
Formatted String
|
Can't Recall of Ascii or UTF8
|
*
|
END LOOP
|
|
|