vgmrips

The forum about vgm files
It is currently 2021-04-12, 2:32:43

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2021-04-07, 18:15:44 
Offline

Joined: 2021-03-31, 8:46:19
Posts: 7
This tool could convert file formats supported by AdPlug to VGM format, without the need to play them again in DOSBox and record again into VGM.

I mentioned this several days before in the chatbox and now it's open-sourced!

Project repo: https://github.com/SudoMaker/adlib2vgm

Prebuilt binaries (now only 64bit Linux and Windows binaries available): https://github.com/SudoMaker/adlib2vgm/ ... tag/v0.0.1

Now it supports

  • CMF: Creative Music File Format by Creative Technology
  • RAD: Reality ADlib Tracker by Reality
  • D00: EdLib by Vibrants
  • DRO: DOSBox Raw OPL Format
  • RIX: Softstar RIX OPL Music Format
  • MID: MIDI Audio File Format
  • MUS: AdLib MIDI Music Format by Ad Lib Inc.

Other file formats could be easily supported by simply migrate codes from AdPlug.

As it is the very first release of this tool, some features like loops and metadata editing are still missing. Basic functionalities should be good to go now, so feel free to try it out and submit feature requests. Also contributions are always welcomed!


Top
 Profile  
 
 Post subject:
PostPosted: 2021-04-09, 15:41:06 

Contributors Contributors
Offline
User avatar

Joined: 2012-05-24, 19:11:36
Posts: 22
This is awesome! With some more refinement, it'll surely help me speed up my work on the OPL Archive. Mostly looping and supporting the rest of AdPlug's formats are what is needed.

I tested with a bunch of files and only found minor issues:
-All VGMs are being exported with both the YM3812 and YMF262 initialized even if only the YM3812 is used.
-The overall volume on these seems to be lower than logging in AdPlay via DOSBox. For example, try converting this one: The Alibi and compare it to my DOSBox-logged VGM. Both have a gain of 1.00, so one of the two programs is incorrect, dunno which one but I thought you might want to look into it.

I look forward to future updates! :D

_________________
The Wafflenet OPL Archive
PC/DOS demoscene & tracker music... in VGM format!


Top
 Profile  
 
 Post subject:
PostPosted: 2021-04-09, 22:01:50 

Programmers Programmers
Offline

Joined: 2011-11-30, 17:26:44
Posts: 480
Location: Italy
I can't actually test the converter, but the second thing you mentioned is probably a consequence of the first one. The volume of a vgm is automatically reduced if there are multiple chips involved, to prevent clipping. This has been historically bad for 1.01 vgm files which used FM.

Again, not sure if that's the case here because I can't actually test it, but try to strip the unused chip and see if that makes any difference.

_________________
Also known as nineko.


Top
 Profile  
 
 Post subject:
PostPosted: 2021-04-09, 22:30:28 

Contributors Contributors
Offline
User avatar

Joined: 2012-05-24, 19:11:36
Posts: 22
Yeah, it looks like it is just because of the dual-chip issue. The gain sounds correct when YMF262 is stripped out.

Also, was going to see how the efficiency of these files is vs manually logged, and found that converted VGMs seem to make vgm_cmp puke. Lots of "Unknown Command: 0" and then no file. This always works fine with ones logged in DOSBox.

_________________
The Wafflenet OPL Archive
PC/DOS demoscene & tracker music... in VGM format!


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 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:  
Powered by phpBB® Forum Software © phpBB Group
[ Time : 0.016s | 14 Queries | GZIP : On ]