Vgm cmp

From vgmrips

vgm_cmp does some lossy (but inaudible) compression on the internal VGM data

This tool can greatly reduce the size of a VGM by stripping unneccessary commands. Delays are also highly optimized.

The file size of compressed files usually decreases to 50-60% (Sega Master System with YM2413) or 15-40% (NeoGeo Pocket).

Usage:

vgm_cmp -do6258 Input.vgm [Output.vgm]`

Notes:

  • The tool resets its internal data at the Loop Offset to make loops safer.
  • Although there is a loss of data, a sample-by-sample comparison results in the exactly same output. (verified with T6W28, YM2413, YM2612, RF5C68, AY8910, YMF271, YMF262, YMZ280B, Y8950)
  • NEVER use this tool on untrimmed files. Trimming will NOT work in vgm_trim.