Skip to content

v1.7.0

Compare
Choose a tag to compare
@dgelessus dgelessus released this 17 Dec 11:15
· 80 commits to master since this release
  • Added a raw-decompress subcommand to decompress compressed resource data stored in a standalone file rather than as a resource.
  • Optimized lazy loading of Resource objects. Previously, resource data would be read from disk whenever a Resource object was looked up, even if the data itself is never used. Now the resource data is only loaded once the data (or data_raw) attribute is accessed.
    • The same optimization applies to the name attribute, although this is unlikely to make a difference in practice.
    • As a result, it is no longer possible to construct Resource objects without a resource file. This was previously possible, but had no practical use.
  • Fixed a small error in the 'dcmp' (0) decompression implementation.