* Remove the deriven tool as it is entirely duplicated and superseded by
the dumpCard and dumpStack in-engine debug commands.
* Change the extract_mohawk and construct_mohawk tools to use the shared
file abstraction instead of their own.
* Change extract_mohawk and construct_mohawk to adjust the tMOV
QuickTime stco atom offsets so extracted movies can be played with
regular QT players and packed movies can be played by ScummVM. This
way it's possible to repack Riven archives.
The extraction of the resources with forward slashes in names was not possible as these are invalid in paths as they are directory seperators on Unix.
This commit fixes this by replacing them with backslashes, which can be present in filenames.
However in order to allow this operation to be unambiguously reversed by construct_mohawk, it is also necessary to pad any backslashes present prior to this to allow them to be disambiguated.
svn-id: r55592
Moved old / new Archive format selection to command line option, rather than executable name suffix.
Removed leftover debug statement.
Corrections for coding standard variable form.
svn-id: r47366
Support for command line options parsing in clean and expandable manner.
Allow choice of raw binary resource dump or conversion.
More general output file naming convention i.e. File Table Id, Type Tag, Resource Id and (optional) name seperated by underscores with a file type suffix (.bin for raw dump).
svn-id: r47365