[ scummvm-Patches-2925828 ] Tools: add BS1 mac compression in compress_sword1

SourceForge.net noreply at sourceforge.net
Mon Jan 4 21:29:43 CET 2010


Patches item #2925828, was opened at 2010-01-04 20:29
Message generated for change (Tracker Item Submitted) made by criezy
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2925828&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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thierry Crozat (criezy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Tools: add BS1 mac compression in compress_sword1

Initial Comment:
This patch add support for compressing the mac version of BS1 in compress_sword1. It mainly does two things:
1) Add AIFF encoding to mp3/ogg/flac in the CompressionTool class. I have implemented it in that class in case it is needed by other tools, but if you prefer you can move the encodeAIF() function to the CompressSword1 class instead.
2) When using the mac version (it is detected by looking if the music files are AIF or WAV) it uses the same heuristic as the ScummVM sword1 engine to detect if the speech files are little or big endian and pass that to setRawAudioType().

It works fine with my mac version (little endian speech file) but I have no way to check that it also works fine when the speech is in big endian.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418822&aid=2925828&group_id=37116




More information about the Scummvm-tracker mailing list