Skip to content

Oki ADPCM conversion to other chips?

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

Moderator: Staff

Oki ADPCM conversion to other chips?

Post by superdeadite »

I know absolutely nothing about programming. I'm just an MSX user that loves VGMPlay. Was wondering if there is an easy way to convert Oki ADPCM data to an MSX friendly format such as MSX-Audio or OPL4? Thanks for reading.
  • User avatar
  • ValleyBell Offline
  • Posts: 4768
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Post by ValleyBell »

I don't think there are any tools that can do that right now.

In theory:
  • OKIM6295 -> OPL4 should be easy to do, as both chips store a list of all possible samples at the beginning of the ROM. It just needs decompression of the ADPCM samples.
  • OKIM6295 -> MSX-Audio won't work. (4 channels > 1 channel)
  • OKIM6258 -> OPL4/MSX-Audio may be difficult due to the chip using realtime streaming (like the YM2612 PCM channel)

Post by superdeadite »

ValleyBell wrote:I don't think there are any tools that can do that right now.

In theory:
  • OKIM6295 -> OPL4 should be easy to do, as both chips store a list of all possible samples at the beginning of the ROM. It just needs decompression of the ADPCM samples.
  • OKIM6295 -> MSX-Audio won't work. (4 channels > 1 channel)
  • OKIM6258 -> OPL4/MSX-Audio may be difficult due to the chip using realtime streaming (like the YM2612 PCM channel)
Thanks for the info. OKIM6295 to OPL4 alone would be amazing as that would open up a lot more arcade games for MSX playback. :) Tiny-Yarou, a cool Japanese dude did make a custom patch for the MSX Bosconian to use the X68000 version music using YM2151 + MSX-Audio, but of course that's using his own custom code, and the end result is impressive but not perfect. Now if only I wasn't a complete coding moron. :lol:
  • andlabs Offline
  • Posts: 185
  • Joined: 2011-12-04, 22:00:12

Post by andlabs »

superdeadite wrote:using YM2151
Congratulations to this hack for being the first MSX game ever to use the SFG modules for music. Do you have a link? I'm curious about running this on real hardware now. (And I have all three MSX-AUDIO modules and an FM-PAC as well, in case one is also needed.)

Post by superdeadite »

andlabs wrote:
superdeadite wrote:using YM2151
Congratulations to this hack for being the first MSX game ever to use the SFG modules for music. Do you have a link? I'm curious about running this on real hardware now. (And I have all three MSX-AUDIO modules and an FM-PAC as well, in case one is also needed.)
Seems I am not allowed to post links. (post count too low?)
The Bosconian patch is on Tiny-Yarou's website. It can be found by searching for "DEEP! P6! DEEP! MSX!"
There are also SFG patches to add arcade OPN music to MSX versions of Kikikaikai, Scramble Formation, Legend of Kage, Commando, and Arkanoid 2.
You can find them by searching for "github toughkiddev" then in the "mglOcm/ArcadeEnhanced" folder.
Post Reply