Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
 Welcome to our latest new user blendo75 ! (Registered 2018-03-22) You are not logged in 
CSDb User Forums

Forums > CSDb Discussions > Gameboy VGM File Conversion?
2018-02-08 10:03

Registered: Nov 2005
Posts: 50
Gameboy VGM File Conversion?

I've got some VGM files for Gargoyles Quest from the Gameboy, and I found a tool that converts VGM to MIDI and spent some time trying to convert one of the tracks into GoatTracker. I'm really bad at using GoatTracker, and well, just music in general (Just listen to the two SIDs I've got listed next to my profile).

Going back to the MIDI conversion though, there seemed to be lots of odd notes that you don't "hear" in the tune (which didn't help my attempt to re-sequence it). I have looked at the Gameboy's audio system before, like I said, I don't really understand the audio generation side of things, but it doesn't sound like it's got any features the SID chip doesn't.

VGM files for Gameboy tunes just run at a clock rate setting Gameboy registers, pretty much in the same way the C64 sets SID registers (at least that's my understanding, I could be totally wrong). I was wondering if it would be possible to write something that read the register writes from the VGM and did a translation to SID register writes? or am I grossly oversimplifying it in my head?

2018-02-08 17:26

Registered: Nov 2002
Posts: 751
Theoretically every conversion is possible ;) Just mind Gameboy has 4 channels hence you truncate the note data.
2018-02-08 17:39

Registered: Dec 2001
Posts: 8442
also the noise channel is really different to the SID. and then there are custom waveforms too...
2018-02-08 20:19

Registered: May 2010
Posts: 44
I had a look at adding Gameboy to the player we used in "Fuji". (it does VGM format for the SN76489 chip, that in the end we didn't end up putting any songs in for hehe) You can probably get away with using a triangle wave for the 3rd channel on older games, but as it's really a waveform on hardware you'd need a nice sample buffer to cover a lot of different tracks accurately. VGMs are fairly easy to parse into a nice (smaller) format, there is a tool suite around called VGMTools (I think) which can convert files into 50/60 frame chunks, which makes it easier to write a converter as you know exactly when the next set of notes will play.
2018-02-08 23:41

Registered: Sep 2014
Posts: 61
Stick to Midi conversion and spice things up
in Goattracker is what I would do :D
2018-02-09 15:46

Registered: Nov 2005
Posts: 50
Found SIDWizard which looks like it has some nice tools for converting MIDI files, so going to have a play with this first.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Users Online
matt-tc/The Coop
Guests online: 58
Top Demos
1 Uncensored  (9.7)
2 Edge of Disgrace  (9.7)
3 Coma Light 13  (9.6)
4 The Shores of Reflec..  (9.6)
5 Comaland 100%  (9.6)
6 Lunatico  (9.6)
7 Incoherent Nightmare  (9.5)
8 Wonderland XII  (9.5)
9 SSDPCM2 V3 - 16khz  (9.5)
10 C64 48Khz HiFi Digi ..  (9.5)
Top onefile Demos
1 Pandemoniac Part 2 o..  (9.5)
2 Dawnfall V1.1  (9.5)
3 Synthesis  (9.5)
4 Daah, Those Acid Pil..  (9.5)
5 Treu Love [reu]  (9.5)
6 Dawnfall  (9.4)
7 Merry Xmas 2017  (9.4)
8 FMX Music Demo  (9.4)
9 Hardware Accelerated..  (9.3)
10 One-Der  (9.2)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.3)
4 Arsenic  (9.3)
5 Finnish Gold  (9.3)
Top Graphicians
1 Mirage  (9.8)
2 JonEgg  (9.7)
3 Archmage  (9.7)
4 Jok  (9.7)
5 Veto  (9.7)

Home - Disclaimer
Copyright © No Name 2001-2018
Page generated in: 0.288 sec.