-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle image files erroneously marked as compressed
For unknown reasons, some files in a package say they're compressed (with strange decompressed sizes) but the data is actually uncompressed. We've seen this happen before in objects.package (c0f5db0) The Sims Life Stories' ui.package is another example. The *exact* same file appears in the base game version, but the former says 'compressed' and the latter says 'uncompressed' (correct, there is no QFS header). Introduce a "data_safe" property, so the patcher continues processing. We still want to be vigilant with "data" property since we want to catch errors in other places (e.g. with view_package_stats.py) Fixes #50
- Loading branch information
Showing
3 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters