Running via the Command Line

Back to Index

Game Extractor can be run from the Command Line, if you want to perform some of the basic functions without using a GUI interface. These are the options you have:

Extracting files from an archive
java -jar GameExtractor.jar -extract
Parameters:
-input <file> The archive file to extract
-output <directory> The directory to store the extracted files
[-convert <format>] If images are found, convert them to this format.
(BMP, DXT1, DXT3, DXT5, GIF, JPG, PCX, PNG, TGA)
[-filter <regex>] Only files that match the regex expression will be exported


List the contents of an archive without extracting them
java -jar GameExtractor.jar -list
Parameters:
-input <file> The archive file to examine
-output <file> A filename to save the list to
[-format <format>] The format of the list data.
(CSV, EXCEL, HTML, JSON, TABBED, XML)
[-fields <f1,f2,*>] The fields to include in the list.
(All, Compressed, CompressedKB, CompressionType, Decompressed, DecompressedKB, Description, Directory, Extension, FilePath, Filename, Offset, SourceFile)
[-filter <regex>] Only files that match the regex expression will be listed