Skip to content

Commit

Permalink
Patches: Leave objects.package images uncompressed
Browse files Browse the repository at this point in the history
Strange discovery while fixing #25:

The school icon (group ID 0x856ddbac, instance ID 0x7f2dcbc6)
is invisible both in the career tab and the queued actions, but ONLY if
the package is compressed.

Weird because the image is OK and extractable; it was originally
compressed too! Other icons (like Wants & Fears) have no apparent issue.

Something to figure out another time, see #54.
  • Loading branch information
lah7 committed Feb 2, 2025
1 parent 633a04c commit 27cf602
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sims2patcher/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ def process_package(file: GameFile, ui_update_progress: Callable):
current += 1
continue

# Workaround: Leave TGAs uncompressed as they could become invisible if compressed (#54)
entry.compress = False

ui_update_progress(current, total)
try:
entry.data = _upscale_graphic(entry)
Expand Down

0 comments on commit 27cf602

Please sign in to comment.