Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


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

Registered: Nov 2005
Posts: 54
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 16:26
Jammer

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

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

Registered: May 2010
Posts: 65
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 22:41
GH

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

Registered: Nov 2005
Posts: 54
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
cba
Didi/Laxity
josepzin/Nautilus
Hexhog
Paulko64
goerp/F4CG/HF
REBEL 1/HF
CreaMD/React
Guests online: 117
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Mojo  (9.6)
6 Uncensored  (9.6)
7 Wonderland XIV  (9.6)
8 Comaland 100%  (9.6)
9 No Bounds  (9.6)
10 Christmas Megademo  (9.5)
Top onefile Demos
1 Layers  (9.6)
2 Party Elk 2  (9.6)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.6)
5 Libertongo  (9.5)
6 Rainbow Connection  (9.5)
7 Onscreen 5k  (9.5)
8 Morph  (9.5)
9 Dawnfall V1.1  (9.5)
10 It's More Fun to Com..  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Nostalgia  (9.3)
5 Censor Design  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Jeroen Tel  (9.7)
3 Mutetus  (9.7)
4 Jammer  (9.6)
5 Stinsen  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.062 sec.