Just wanted to say THANK YOU to Stef for this. I just sucessfuly compiled your test.bex. I tried a different .xgc files. I also tried converting a MIDI to VGM to XGC and it worked! Next I'll try and see how sound effects work. This is great!!
UPDATE: Used nineko's midi2vgm
Any advice how to open a midi file in midi2vgm? ?¿ I dont see any option, meu or anything ? jaja
Hm, I'm converting midi tracks I wrote to vgm, and then to xgc. I presume I should add a loop point when it's in the vgm format, as midi doesn't have it. Can you recommend a tracker program for that? Thanks.
Elusive has the definitive answer. For me, I have to half-ass it because: A. I don't know tracking software enough to create loops B. Sometimes the music files hard lock at some point on a real genesis
For these reasons when I start playing a song I set a songlength counter that counts down until I should start playing the song again:
if songlength > 0 then songlength = songlength - 1 else gosub play_ingamemusic
play_ingamemusic: songlength = 5500 asm lea XGMsong,a1 ; put address of song to play in a1 end asm xgm_startPlayMusic return
Last Edit: Sept 16, 2015 13:42:15 GMT -5 by theloon