vgmrips

The forum about vgm files
It is currently 2018-05-26, 3:56:10

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2015-05-21, 14:57:54 

Musicians Musicians
Contributors Contributors
Offline

Joined: 2012-09-29, 11:45:48
Posts: 215
Location: Australia
No, you're not seeing double. This is for YM2151 (OPM).

This one was a bit more tricky since the chip arranged its notes in linear space, which made some initial confusion on rescaling the keys (when in actual fact it is simply a shift/mathematical 'translation' of the note range in one direction or another). This probably also means translating between clocks may not be as precise, although it is still a lossy conversion anyway.

last updated 23 May 2015
changes:
  • (23-May)Added some cases for some other chip commands for skipping commands
  • (23-May)Fixed Data block skipping
  • (22-May)Rewrote command writer component to use a channel note history approach. (still not perfect for optimized VGM's when using odd clock ratios, but otherwise works for the most part)

Win32 Binary:
https://dl.dropboxusercontent.com/u/128 ... opmclk.exe

Source:
https://dl.dropboxusercontent.com/u/128 ... ckupdate.c

Known bugs:
  • Had to add in a rather hacky processed command history, since OPM doesn't discriminate on whether KeyCode or KeyFraction commands come first. It's not perfect but it'll do for unoptimized VGM's straight from an emulator...I hope (since most are optimized! Unoptimized VGMs may have better luck) - reimplemented using note history technique
  • Some re-pitching elements still somehow get missed or are translated wrong for optimized VGM's, especially when using clock speeds that do not divide nicely by the original clock speed.
  • As with the OPN clock converter, does not work well with mixed chip VGMs but should work fine with everything but YM2151 stripped out. - mostly fixed
  • No command line usage prompt.
  • DAC control commands get in the way (similar to multi-chip problem) - fixed
Examples:
https://dl.dropboxusercontent.com/u/128 ... 900kHz.vgm - Soldam Title (3.5MHz -> 900kHz) - upper ceiling ftw!
https://dl.dropboxusercontent.com/u/128 ... z-done.vgm - Soldam Title (3.5MHz -> 4MHz)
https://dl.dropboxusercontent.com/u/128 ... imized.vgm - Asuka 120% Kumi Stage (4MHz -> 3.579545MHz, post-optimized)
https://dl.dropboxusercontent.com/u/128 ... imized.vgm (4MHz -> 0.5MHz - PRE-optimized)
https://dl.dropboxusercontent.com/u/128 ... .78MHz.vgm - Fantasy Zone II DX - Opa-Marimba (4MHz -> 1.78MHz)
https://dl.dropboxusercontent.com/u/128 ... imized.vgm - Battle Garegga (no ADPCM) Sound Test 06 - (4MHz -> 3.579545MHz)
https://dl.dropboxusercontent.com/u/128 ... imized.vgm - Ys (X68k) Zepik Village (4MHz -> 3.5MHz)

Problem examples:
https://dl.dropboxusercontent.com/u/128 ... Hz-fff.vgm - Asuka 120% Kumi Stage (4MHz -> 5.432123MHz) - what you get when commands don't get parsed correctly in an optimized vgm. :(
https://dl.dropboxusercontent.com/u/128 ... imized.vgm - Ys (X68k) Zepik Village (4MHz -> 3.579545MHz) - rounding cent issues on kfrac.

_________________
-dj.tuBIG/MaliceX


Top
 Profile  
 
 Post subject:
PostPosted: 2017-11-28, 17:40:31 
Offline

Joined: 2017-10-17, 22:14:27
Posts: 1
Found this great tool but unfortunately files are no longer available on propbox (the same goes for OPN rescaler). Need it badly now because i got real YM2151 cartridge for my MSX and i play vgms on a real hardware now - and some of rips not just being transposed/wrongly pitched (OPN) but they are sounding very ugly sometimes (OPM rips). Would you make me a favor and reupload files, please? :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group