Search the Community
Showing results for tags 'file format'.
Found 2 results
-
Hello, I am currently working on a PBO Manager-like tool which would aim to be able to extract any PBO file format without crashing (unlike other PBOs Manager wich crash depending of some variants). To do so I've looked for some documentation regarding the format, and found two pages: - https://community.bistudio.com/wiki/PBO_File_Format - http://wiki.xentax.com/index.php/PBO_SREV The documentation found is quite incomplete, as for an example, documentation on the magic bytes is nowhere to be found in the Bistudio wiki. Here are the two file formats I've found and one which I could not find any resources in either wiki pages: Regular Format: /* Magic Bytes [A0 73 72 65 56] - Followed by 17 null bytes */ struct { Asciiz filename; uint32_t packingMethod; uint32_t originalSize; uint32_t junk; uint32_t timeStamp; uint32_t dataSize; }; ... Variant Format: /* Magic Bytes [00 73 72 65 56] - Followed by 16 null bytes */ struct { Asciiz someString; ... Asciiz someOtherString; uint8_t nullByte = 0; struct unknownStruct { /* Unknown Data of approximatively 45 bytes (varies between PBOs) */ }; }; struct { Asciiz filename; uint32_t packingMethod; uint32_t originalSize; uint32_t junk; uint32_t timeStamp; uint32_t dataSize; }; ... You'll note that both are distinguished with their magic bytes, with the first byte changing for the variant format and the extra null byte in the regular format. What does represent the first byte of the magic bytes sequence ? Why does the null byte sequences in the magic bytes sequence varies depending of the format ? What does it represent ? What are the strings of the variant format used for in the first structure ? What are the unknown data in the unknown structure in the variant format ? Why does it vary ? Thanks for your help !
-
Open Source .NET Standard library for BIS/ArmA file formats
t_d posted a topic in ARMA 3 - COMMUNITY MADE UTILITIES
A few days ago I decided to put most of the code to public that I created in many years working with ArmA file formats. So I put it on GitHub here. While there are a lot of PBO libs already floating around it is quite rare for other files like PAA, RTM etc. My idealistic goal for this project would be that it evolves to an active open source project where contributors add useful and easy to use APIs and add more features. This would facilitate creative tool developers to create tools that are working with those files, which they could not before, because they did not know the file format or it was too much work to implement it. So don't be shy, make some Pull Requests and improve or extend the code. Or Post ideas how to improve/extend the API. I will also add more file formats like OPRW (binarized wrp) and probably MLOD (editable p3d). However, ODOL (binarized p3d) will be not included for certain reasons.- 2 replies
-
- 6
-
- file format
- pbo
-
(and 5 more)
Tagged with: