[Scummvm-cvs-logs] SF.net SVN: scummvm: [27751] tools/trunk
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Jun 28 05:47:30 CEST 2007
Revision: 27751
http://scummvm.svn.sourceforge.net/scummvm/?rev=27751&view=rev
Author: thebluegr
Date: 2007-06-27 20:47:30 -0700 (Wed, 27 Jun 2007)
Log Message:
-----------
Added a special case for file "inherit the earth voices" to compress_saga and updated the README accordingly
Modified Paths:
--------------
tools/trunk/README
tools/trunk/compress_saga.cpp
Modified: tools/trunk/README
===================================================================
--- tools/trunk/README 2007-06-28 03:36:06 UTC (rev 27750)
+++ tools/trunk/README 2007-06-28 03:47:30 UTC (rev 27751)
@@ -65,9 +65,7 @@
compress_saga <flags here> <file>
Where <file> is the sound file you with to compress, without the
- extension. If you have the file "inherit the earth voices", you'll
- need to rename it temporarily to "inherit the earth voices.rsc" to
- compress it.
+ extension.
For Inherit the Earth, the digital music (music.rsc), speech
(voices.rsc or "inherit the earth voices") and sound effects
Modified: tools/trunk/compress_saga.cpp
===================================================================
--- tools/trunk/compress_saga.cpp 2007-06-28 03:36:06 UTC (rev 27750)
+++ tools/trunk/compress_saga.cpp 2007-06-28 03:47:30 UTC (rev 27751)
@@ -471,8 +471,13 @@
} else {
// IHNM
sprintf(inputFileNameWithExt, "%s.res", inputFileName);
- if (detectFile(inputFileNameWithExt))
+ if (detectFile(inputFileNameWithExt)) {
sagaEncode(inputFileName);
+ } else {
+ // Check for "inherit the earth voices"
+ if (detectFile("inherit the earth voices"))
+ sagaEncode("inherit the earth voices");
+ }
}
return (0);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list