[Scummvm-cvs-logs] SF.net SVN: scummvm:[46302] tools/branches/gsoc2009-gui/extract_gob_stk.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Tue Dec 8 23:40:31 CET 2009
Revision: 46302
http://scummvm.svn.sourceforge.net/scummvm/?rev=46302&view=rev
Author: strangerke
Date: 2009-12-08 22:40:30 +0000 (Tue, 08 Dec 2009)
Log Message:
-----------
Fix -o parameter, modify _shorthelp and _helptext (only checked in CLI...)
Modified Paths:
--------------
tools/branches/gsoc2009-gui/extract_gob_stk.cpp
Modified: tools/branches/gsoc2009-gui/extract_gob_stk.cpp
===================================================================
--- tools/branches/gsoc2009-gui/extract_gob_stk.cpp 2009-12-08 22:13:06 UTC (rev 46301)
+++ tools/branches/gsoc2009-gui/extract_gob_stk.cpp 2009-12-08 22:40:30 UTC (rev 46302)
@@ -45,8 +45,8 @@
input.format = "*.stk";
_inputPaths.push_back(input);
- _shorthelp = "Used to extract the contents of Gobliiins! .STK files.";
- _helptext = "\nUsage: " + getName() + " [-o outputname] infilename\n";
+ _shorthelp = "Extracts the files from a Stick file used by 'gob' engine (.STK/.ITK/.LTK).";
+ _helptext = "\nUsage: " + getName() + " [-o outputname] stickname\nwhere\n ouputname is used to force the gob config filename (used by compress_gob)\n stickname is the name of the file to extract/decompress";
}
ExtractGobStk::~ExtractGobStk() {
@@ -67,8 +67,6 @@
if (_outputPath.empty())
_outputPath = inpath;
- else
- _outputPath.setFullName(inpath.getFullName());
_outputPath.setExtension(".gob");
@@ -367,7 +365,7 @@
newCounter -= 2;
// The 6 first bytes are grouped by 2 :
-// - bytes 0&1 : if set to 0xFFFF, the real size is in bytes 2&3. Else : not understand
+// - bytes 0&1 : if set to 0xFFFF, the real size is in bytes 2&3. Else : unknown
// - bytes 2&3 : Either the real size or 0x007D. Directly related to the size of the file.
// - bytes 4&5 : 0x0000 (files are small) ;)
if (dummy1 == 0xFFFF)
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