Optvgm
Optimize Sega Mega Drive/Sega Genesis VGM/VGZ
The most recent version of blargg's venerable tool comes bundled with ValleyBell's VGM Tools. It comes with several bugfixes to the Project 2612-era version.
Usage:
optvgm [-s] [-n] file.vgm/vgz [out.vgz]
The output of this program is always a compressed VGZ, even if the extension says otherwise.
Specifying only input path (that is, no "out.vgz") optimizes in place. Optimized data is always verified before being written.
-s | Optimized shared samples only |
-n | skip verification (use at own risk) |
By default, unshared samples are also added to PCM data, reducing file size slightly while slightly increasing memory usage in a player. Specify -s to add shared data only.