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


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

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?


http://gbdev.gg8.se/wiki/articles/Gameboy_sound_hardware
http://vgmrips.net/wiki/VGM_Specification
2018-02-08 17:26
Jammer

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

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

Registered: May 2010
Posts: 43
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
GH/MSL/Toondichters

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

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
Advanced
Users Online
Jak T Rip/DMAgic
Pushead/Hokuto Force
Salvo Bee
Zoolon/AC64SID
Romppainen/ΤRIΛD
tonysavon
Sokratekk
c0zmo/BLiSS
fieserWolF/Abyss-Con..
thesuperfrog
6R6/shape/[n0]
Guests online: 51
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 Comaland  (9.5)
10 Wonderland XIII  (9.5)
Top onefile Demos
1 Pandemoniac Part 2 o..  (9.5)
2 Dawnfall V1.1  (9.5)
3 Daah, Those Acid Pil..  (9.5)
4 Synthesis  (9.5)
5 Treu Love [reu]  (9.5)
6 FMX Music Demo  (9.4)
7 Dawnfall  (9.4)
8 Merry Xmas 2017  (9.4)
9 Hardware Accelerated..  (9.3)
10 Tribute to Bob Wakelin  (9.3)
Top Groups
1 Oxyron  (9.4)
2 Booze Design  (9.4)
3 Censor Design  (9.3)
4 Crest  (9.3)
5 Finnish Gold  (9.3)
Top Cover Designers
1 Duce  (9.8)
2 Junkie  (9.6)
3 Electric  (9.6)
4 The Elegance  (9.4)
5 Cuc  (9.2)

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