[ scummvm-Bugs-3302321 ] Tools: compress_sci skips last resource?
SourceForge.net
noreply at sourceforge.net
Sun May 15 09:14:31 CEST 2011
Bugs item #3302321, was opened at 2011-05-15 03:14
Message generated for change (Tracker Item Submitted) made by agf863
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3302321&group_id=37116
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: Tools
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: agf (agf863)
Assigned to: Nobody/Anonymous (nobody)
Summary: Tools: compress_sci skips last resource?
Initial Comment:
The location is
scummvm-tools/engines/sci/compress_sci.cpp
CompressSci::execute()
The do-while loop counting the number of resources in the file
resourceCount is incremented after the end-of-file check
On the last resource, the loop is exited without incrementing resourceCount.
This appears to me to mean the last resource is skipped, and not added to the compressed file.
Unfortunately I can't test this as I only have one game with files this code recognizes (KQ6) and I already deleted the original RESOURCE.AUD and RESOURCE.SFX files after compressing them and confirming they appeared to work.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=3302321&group_id=37116
More information about the Scummvm-tracker
mailing list