Skip to content
This repository has been archived by the owner on Dec 22, 2024. It is now read-only.

Commit

Permalink
Add zlib-ng module in case we ever need to support that format
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaymar committed Mar 1, 2024
1 parent 5cf4f2d commit fe691a2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "cmake/clang"]
path = cmake/clang
url = https://github.com/Xaymar/cmake-clang
[submodule "third-party/zlib-ng"]
path = third-party/zlib-ng
url = https://github.com/zlib-ng/zlib-ng
4 changes: 4 additions & 0 deletions extra/010 Editor/stingray_bundle.bt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
struct stingray_bundle_t {
uint32_t __unk;
uint32_t count;
// Vermintide 1's format differs.
//uint32_t __unk;
//uint32_t __unk;
//uint32_t __unk;
struct {
uint32_t count;
struct {
Expand Down
4 changes: 3 additions & 1 deletion extra/010 Editor/stingray_stream.bt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ struct stingray_stream_t {
LittleEndian();
uint32_t __unk <format=decimal>;
uint32_t __unk <format=hex>;
do {
struct {
uint32_t size <format=decimal>;
struct {
Expand All @@ -57,7 +58,8 @@ struct stingray_stream_t {
}
char data[size - 6];
uint32_t adler32;
} zlib[2] <optimize=false>;
} zlib <optimize=false>;
} while (FTell() != FileSize());
};

#ifndef IS_INCLUDE
Expand Down
1 change: 1 addition & 0 deletions third-party/zlib-ng
Submodule zlib-ng added at 93b870

0 comments on commit fe691a2

Please sign in to comment.