Brawlhalla SWZ: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (13 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
* ''' Signature ''': | * ''' Signature ''': None <br> | ||
| 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 === | ||
| Line 47: | Line 47: | ||
=== Compatible Programs === | === Compatible Programs === | ||
* [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> | ||
| Line 53: | Line 54: | ||
[[Category:Complete Complete|Brawlhalla SWZ]] | [[Category:Complete Complete|Brawlhalla SWZ]] | ||
[[Category:Platform PC|Brawlhalla SWZ]] | [[Category:Platform PC|Brawlhalla SWZ]] | ||
[[Category:CE | [[Category:CE Both|Brawlhalla SWZD]] | ||
[[Category:Format_Archive | Type: Archive]] | [[Category:Format_Archive | Type: Archive]] | ||
[[Category:Extension_swz | Extension: swz]] | [[Category:Extension_swz | Extension: swz]] | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
[[Category:ZLIB compression]] | |||
[[Category:XOR encryption]] | |||
[[Category:WELL512]] | |||
[[Category:File Format]] | [[Category:File Format]] | ||
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