optvgm
Optimizes Sega Mega Drive/Genesis VGM and VGZ files. Created by blargg, this tool is now maintained by ValleyBell and bundled with his set of VGM Tools. There have been many bugfixes since the Project 2612-era version.
Usage
Options in [brackets] are optional. (The brackets are not part of the options, and should be left out.) Optimized data is always verified before being written.
optvgm [-s] [-n] inputFile.vgm/vgz [outputFilename.vgz]
Note: The output of this program is always a compressed VGZ, even if the extension says otherwise.
By default, unshared samples are also added to PCM data, which slightly reduces file size but slightly increases a VGM Player's memory use. To prevent this, specify -s.
| -s | Optimized only shared samples |
|---|---|
| -n | Skip data verification (use at own risk) |
| outputFilename.vgz | Write optimized data to a new VGZ file. If not specified, data will be written back to inputFile.vgm/vgz itself.
|