function runOffzip(inputFile, outputDir, startOffset) let cmd = `offzip -a "$inputFile" "$outputDir" $startOffset`; exec(cmd, (error, stdout) => parseOffzipOutput(stdout); // Extract offsets and sizes );
, a more advanced script-driven tool by the same developer that handles thousands of unique game formats. command-line flags for a particular file format you are trying to extract? Offzip - deflate/zlib scanning and extraction - ZenHAX offzip packzip ui