Brawlhalla SWZ: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 11: | Line 11: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
// | // SWZ file format (by barncastle) | ||
struct Header | |||
{ | |||
uint32_BE Checksum; | |||
uint32_BE Seed; // XOR with EncryptionKey | |||
StringEntry Entries[x]; | |||
} | |||
struct StringEntry | |||
{ | |||
uint32_BE EncodedCompressedSize // XOR'd | |||
uint32_BE EncodedDecompressedSize // XOR'd | |||
uint32_BE Checksum; | |||
// zlib compressed then XOR'd | |||
byte EncodedZlibCompressedData[decodedCompressedSize]; | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
Revision as of 11:53, 13 August 2022
Back to index | Edit this page
SWZ
- Format Type : Archive
- Endian Order : Little Endian
- Signature : PXO (?)
Format Specifications
// SWZ file format (by barncastle)
struct Header
{
uint32_BE Checksum;
uint32_BE Seed; // XOR with EncryptionKey
StringEntry Entries[x];
}
struct StringEntry
{
uint32_BE EncodedCompressedSize // XOR'd
uint32_BE EncodedDecompressedSize // XOR'd
uint32_BE Checksum;
// zlib compressed then XOR'd
byte EncodedZlibCompressedData[decodedCompressedSize];
}
Notes and Comments
- This file format uses ZLIB compression.
- This file format uses XOR encryption combined with WELL512 number generator.
Games
List of games using this file format:
- Brawlhalla (*.SWZ)
QuickBMS Script
Not written yet.
Compatible Programs
None.