Brawlhalla SWZ: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 48: | Line 48: | ||
* [https://gist.github.com/barncastle/a21b62df945445b38daf91ede021a3ec Code for decrypting Blue Mammoth Games' Brawlhalla's SWZ files] | * [https://gist.github.com/barncastle/a21b62df945445b38daf91ede021a3ec Code for decrypting Blue Mammoth Games' Brawlhalla's SWZ files] | ||
* [https://gist.github.com/barncastle/0fb2279bdc337d2a7d951e1bd2e3c0df WELL512.cs] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 12:02, 13 August 2022
Back to index | Edit this page
SWZ
- Format Type : Archive
- Endian Order : Little Endian
- Signature : None
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