vgmrips

The forum about vgm files
It is currently 2020-09-26, 13:31:58

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: 2016-02-29, 12:53:21 
Offline
User avatar

Joined: 2016-02-16, 12:54:37
Posts: 101
some of you might figured that i started to code a .vgm to VortexTracker .txt - for now it only reads sn76489 and ay-3-8910 vgm files (there are still some resulting errors, like wrong pattern play order length, missing loop location, some missynchronicity, etc.) - viewtopic.php?f=15&p=7305#p7305

i'm curious about, somehow, to be able to read all sound chips supported from vgm file, read the frequency, volume, samples and effects from them, and write in a kind of tracker file (ascii-based format for now, and then trying to convert these files to .mod, .s3m, .it, etc.)

the results from vgm2txt converter were very helpful, and would be great if this converter could obtain more information that might be helpful - references to technical documentation about each of these chips would be very useful as well - i'm asking this because i’m about to start converting from pokey, rp2a03, rp2c33 (i'm struggling in understading the values from both of these), k051649, and later all those ymxxxx

what do you all think?


Top
 Profile  
 
 Post subject:
PostPosted: 2016-02-29, 18:31:24 

Contributors Contributors
Staff Staff
Reverse engineers Reverse engineers
Offline
User avatar

Joined: 2013-07-17, 23:32:39
Posts: 438
VGM files lack the information necessary for sample-based tracker conversions. Without extra human input, it will be almost impossible to get things right like BPM, base sample rates, envelopes (for some chips). It's a better idea to reverse engineer the games' sound drivers instead and try to convert directly from the source format. For module conversions, PGM games are probably the easiest, you can look at my converter, however some other arcade sound drivers have been documented, you can look at Cannonball for Outrun (and possibly other games) and VGMTrans for CPS2 Qsound...

For PSGs like the 2A03, there's a modified version of Famitracker that logs chip writes from an NSF file and outputs an FTM. Even then it won't get everything right, since Famitracker lacks support for some 2A03 chip features.


Top
 Profile  
 
 Post subject:
PostPosted: 2016-02-29, 22:19:25 
Offline
User avatar

Joined: 2016-02-16, 12:54:37
Posts: 101
thanks for the tips! :)


Top
 Profile  
 
 Post subject:
PostPosted: 2016-03-01, 4:56:19 

Programmers Programmers
Offline

Joined: 2011-11-30, 17:26:44
Posts: 474
Location: Italy
Yes, generally speaking, a vgm to module conversion wouldn't produce very good results, because of the timing (as mentioned) but not only.

Amongst the formats with a converter, there is a SMPS to XM converter by Puto, which can be used to obtain XM files of many Sonic songs.

_________________
My webhost decided to shut down most of my webspace without a warning. If you find any broken Digilander link in any of my posts (basically all of them should be), please inform me.


Top
 Profile  
 
 Post subject:
PostPosted: 2016-03-07, 12:28:49 
Offline
User avatar

Joined: 2016-02-16, 12:54:37
Posts: 101
it seems that vgm files with simpler chips (like ay-3-8910, sn76489, etc.) are easier to get converted


Attachments:
MajouDensetsu_msx_Stage2bgm.mod.bz2 [552 Bytes]
Downloaded 142 times
Top
 Profile  
 
 Post subject:
PostPosted: 2016-03-08, 19:54:40 
Offline
User avatar

Joined: 2016-02-16, 12:54:37
Posts: 101
i were now trying to convert vgm files also with k051649 to a kind of .mod file (8 channels) in ascii mode (i'm trying to propose such kind of file for trackers like MilkyTracker, since it’s very useful to edit a tracker file in a text editor as well - the .mod in the attachment was a copy/paste from the text file to ModPlugTracker) - the tempo is still wrong, but it seems not impossible to have an accurate conversion soon - i'm seeing that these simple chips are quite simple to be converted to mod-like files - yamaha ym chips seems to be another quite different situation, i guess


Attachments:
_Nemesis2_msx_03_AJourneyToTheStart_AirBattleTheme_8ch.tar.bz2 [9.92 KiB]
Downloaded 143 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 8 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
[ Time : 0.160s | 15 Queries | GZIP : On ]