Need to rip Y8950 ADPCM samples from a VGM
Technical discussion about the VGM format, and all the software you need to handle VGM files.
Moderator: Staff
- SonikkuKun Offline
- Posts: 1
- Joined: 2024-11-03, 23:05:44
Need to rip Y8950 ADPCM samples from a VGM
Hello, this might've been a problem years back, but I'm more in shambles. I'm trying to find a way to rip ADPCM samples from a VGM made by TobiKomi (go check him out on yt he is fab), but I can't get the samples and I am still in square one. Any person is welcome to help me out, I even know ValleyBell will get the ball rolling, so if you have any advice, thank you so much!
- ValleyBell Offline
- Posts: 4962
- Joined: 2011-12-01, 20:20:07
- Location: Germany
Re: Need to rip Y8950 ADPCM samples from a VGM
There is currently no automated way to extract ADPCM samples.
You will have to extract them by yourself with a hex editor.
Some hints:
You will have to extract them by yourself with a hex editor.
Some hints:
- Most ADPCM samples are stored in VGM "data blocks". In case of the Y8950, you search for "67 66 88".
This is followed by 4 bytes (Little Endian byte order) that tell you the size of the following data that contains the sample.
You copy that number of bytes from the VGM into a separate file and then strip the first 8 bytes off. (extra information about the sample data block that is not part of the ADPCM data) - You can decode the ADPCM samples e.g. using ctr's adpcm tools. (type "ADPCM-B")