Skip to content

Commit

Permalink
Updates for latest COTW the Angler (v2738709)
Browse files Browse the repository at this point in the history
Fixed Issue #160.
Support for COTW the Angler (EGS version).
Update for latest COTW the Angler (alpheus, belisama, ceto).
  • Loading branch information
verrasse committed Apr 19, 2024
1 parent 5aff843 commit a3eb47d
Show file tree
Hide file tree
Showing 4 changed files with 23,468 additions and 1,697 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#### v0.2.19rc ???
#### v0.2.19rc Nanny 911
* add: Support for COTW hp_australia
* fix: ADF5 file determination for COTW save files
* fix: hack? empty `gdc/global.gdcc` in COTW now?
* add: ash contributed: Added rtpc_v3_flat.ksy
* fix: verrasse contributed: Fixed missing DLLs & DLL export symbols for Windows builds
* fix: verrasse contributed: Improved file name guessing (reserves, missions, etc.)
* fix: verrasse contributed: Fixed backslash hell in Windows-style paths
* fix: verrasse contributed: Fixed mod build issues
* fix: verrasse contributed: Fixed ZLIB decompression for ARC/TAB
* add: verrasse contributed: Support for COTW the Angler (EGS version)
* add: verrasse contributed: Update for latest COTW the Angler (alpheus, belisama, ceto)

#### v0.2.18 Lucid Knows
* add: support for Ravenbound Demo
Expand Down
9 changes: 5 additions & 4 deletions python/deca/deca/db_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1334,10 +1334,11 @@ def file_obj_from(self, node: VfsNode):
in_buffer = f_in.read(compressed_len)

if compression_type in {compression_v4_01_zlib}:
buffer_ret = zlib.decompress(in_buffer)
ret = len(buffer_ret)
# buffer_ret = in_buffer
# ret = compressed_len
if compressed_len == uncompressed_len:
buffer_ret, ret = in_buffer, len(in_buffer)
else:
buffer_ret = zlib.decompress(in_buffer)
ret = len(buffer_ret)
elif compression_type in {compression_v4_03_zstd}:
if compressed_len == uncompressed_len:
buffer_ret, ret = in_buffer, len(in_buffer)
Expand Down
Loading

0 comments on commit a3eb47d

Please sign in to comment.