Skip to content

VGM Ripping Help

Technical discussion about the VGM format, and all the software you need to handle VGM files.

Moderator: Staff

  • User avatar
  • RichterEX2 Offline
  • Posts: 191
  • Joined: 2012-03-30, 9:28:37
  • Location: Georgia, USA

Post by RichterEX2 »

Record the vgm to WAV using Winamp's Disk Writer, then load the recorded WAV into a decent audio program, such as Audacity. Change the display from Seconds to Samples once you know what sample points you need to trim at, load the VGM up in vgm_trim and enter them.
  • User avatar
  • MaliceX Offline
  • Posts: 226
  • Joined: 2012-09-29, 11:45:48
  • Location: Australia
  • Contact:

Post by MaliceX »

RichterEX2 wrote:Record the vgm to WAV using Winamp's Disk Writer, then load the recorded WAV into a decent audio program, such as Audacity. Change the display from Seconds to Samples once you know what sample points you need to trim at, load the VGM up in vgm_trim and enter them.
Additional note: Try to leave some silence when splitting. There's no guarantee that the split will not affect playback when there's initialization commands during a short period of silence before any sound.
-dj.tuBIG/MaliceX
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

vgm_trim works with sample values instead of minutes/seconds/milliseconds.
If you want to trim a song to start at 0:10 (in case there's silence at the beginning vgm_sptd doesn't trim off), loop from 1:00 and end at 2:30, you need to convert those times to VGM samples.
VGMs have 44100 samples per second, so multiplying with 44100 is enough for approximate trimming.
(0:10 = 10 seconds * 44100 = 441 000, 1:00 = 60 seconds * 44100 = 2 646 000, 2:30 = 150 seconds * 44100 = 6 615 000)

If you don't want it to loop the file, enter 0 as loop sample.


When using vgmlpfnd, you need to watch for lines with a "!" (or at least a "f"). These lines mark loops that are probably correct. In this case, Source Block: Start is the loop sample and Block Copy: Start is the end sample.

If you record VGMs to WAV, you need to make sure that in_vgm is set to a sample rate of 44100.
MaliceX wrote:Additional note: Try to leave some silence when splitting. There's no guarantee that the split will not affect playback when there's initialization commands during a short period of silence before any sound.
That is, if you need to split the songs by hand and vgm_sptd doesn't work on them. If it does, it should be all okay.
Post Reply