Brawlhalla SWZ: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 35: | Line 35: | ||
* This file format uses '''ZLIB''' compression. | * This file format uses '''ZLIB''' compression. | ||
* This file format uses '''XOR''' encryption combined with '''WELL512''' number generator. | * This file format uses '''XOR''' encryption combined with '''WELL512''' number generator (more details [https://en.wikipedia.org/wiki/Well_equidistributed_long-period_linear here]. | ||
=== Games === | === Games === | ||
Revision as of 11:55, 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 (more details here.
Games
List of games using this file format:
- Brawlhalla (*.SWZ)
QuickBMS Script
Not written yet.
Compatible Programs
None.