The FileOffsetScanner base class is intended for use with all offset-scanning readers. It wraps around all functionality that's duplicated between each reader.
ScanFile is the replacement for LookFor* functions.
FormatName is an abstract property where the reader defines the format name to attach to log messages.
Parse is the abstract function that takes a reader and file title and outputs optional lists of entities, animations, and textures that were found.
-nooffset command line argument
Added -nooffset command line argument (no GUI checkbox yet). This tells the FileOffsetScanner to stop after offset 0.
Updated README usage and command line usage to include -nooffset.
Other changes
Fixed offset of entity/animation/texture names not being in hex, like what was intended.
Changed Logger.WritePositiveLine(string format, object arg0) to Logger.WritePositiveLine(string text). We already had a function for format + arguments.
Changed casing of "Croc" model in usage from "CROC" to "Croc".
FileOffsetScanner base class
The
FileOffsetScanner
base class is intended for use with all offset-scanning readers. It wraps around all functionality that's duplicated between each reader.ScanFile
is the replacement forLookFor*
functions.FormatName
is an abstract property where the reader defines the format name to attach to log messages.Parse
is the abstract function that takes a reader and file title and outputs optional lists of entities, animations, and textures that were found.-nooffset command line argument
Added
-nooffset
command line argument (no GUI checkbox yet). This tells theFileOffsetScanner
to stop after offset 0.-nooffset
.Other changes
Logger.WritePositiveLine(string format, object arg0)
toLogger.WritePositiveLine(string text)
. We already had a function for format + arguments.