Skip to content

Can't create ADPCM data block

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

Moderator: Staff

  • Galstaff Offline
  • Posts: 1
  • Joined: 2025-11-28, 13:40:49

Can't create ADPCM data block

Post by Galstaff »

I apologize in advance what am I'm asking if this is a well known problem, but I couldn’t find anything through search. I captured an .s98 stream that contains ym2608 adpcm samples and then converted it to .vgm. However, the .s98->.vgm conversion tool didn't detect any adpcm sample data, even though I can clearly see valid adpcm write sequence in the resulting .vgm. The problem is that I can’t use this .vgm on my hardware as-is because it requires going through some hoops when uploading adpcm data, so I really need a proper data block in the .vgm. I haven’t been able to find any tools that make can this block. Any advice?
  • User avatar
  • ValleyBell Offline
  • Posts: 1646
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Re: Can't create ADPCM data block

Post by ValleyBell »

You could try using vgm_trim on it and trim off the part of the file where it uploads the sample data.
e.g. like this: (trimming 1 second off of the start here)

Code: Select all

vgm_trim -state converted_s98.vgm 44100 0 -1 trimmed.vgm
If that doesn't work, try uploading the S98 and VGM here and maybe describe the detailed process you used for converting the file. (link to the exact tool version, command line used, etc.)
Post Reply