Repository navigation
PBO Format
StidOfficial edited this page Nov 19, 2017
·
19 revisions
| Type | Description |
|---|---|
| std::string / char* |
ASCII characters terminate by \0
|
| unsigned long int | Unsigned integer of 4 bytes |
| Header entry | NULL entry | Data |
|---|---|---|
| More information | More information | More information |
| Data name | Type | Description |
|---|---|---|
| filepath | std::string / char* | Is the relative path of file |
| packingMethod | unsigned long int | Packing method identifier |
| originalSize | unsigned long int | Original size of packed file |
| reserved | unsigned long int | Undocumented |
| timestamp | unsigned long int | UNIX Timestamp of last write date of file |
| dataSize | unsigned long int | The size of data block after header entries |
| Method | Description |
|---|---|
| 0x00000000 | Uncompressed data file |
| 0x43707273 | Packed or compressed data file |
| 0x56657273 | Product entry |
After dataSize.
| Data name | Type | Description |
|---|---|---|
| entryName | std::string / char* | By default is prefix
|
| productName | std::string / char* | By default is addon path or pbo file name |
| productVersion | std::string / char* | By default is product followed by addition informations ex: Arma 3, version, 119456
|
| ... | std::string / char* | Additionnal informations |
it's terminalted by NULL std::string / char* (\0).
NULL entry means that is the end of header entries
| Data name | Value |
|---|---|
| filepath | 0x0 = \0
|
| packingMethod | 0x0 |
| originalSize | 0x0 |
| reserved | 0x0 |
| timestamp | 0x0 |
| dataSize | 0x0 |
It's contiguous data of entries
| Date entry | Description |
|---|---|
| Data 1 | Data of entry 1 |
| Data 2 | Data of entry 2 |
| ... | Data of entry ... |
Source : https://community.bistudio.com/wiki/PBO_File_Format