Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Oct 29, 2015 13:03:28 GMT -5
I think Stef checks SpritesMind much more often than here. Maybe you could give 'em a hollar over there. gendev.spritesmind.net
|
|
Stef
Moldy Popcorn
Posts: 34
|
Post by Stef on Apr 28, 2016 3:49:04 GMT -5
Hey, Stef. My buddy Leander has reached me about a bug he has found in your PCM player, in the function ... Otherwise there's problems - depending on where the function finally falls in the compiled binary, you get a continuous background noise as the pointer is not pointing where it should. Thanks for pointing it ! I fixed it in the test.bex wrapper I don't know what BEX is doing when dealing with 6 buttons joypad, maybe it's retaining the Z80 for too much time, something that can affect the PCM playback quality. Otherwise, about the 4 samples limit, well XGM driver allow you to play up to 4 samples *at same time* but of course you can have many different samples in ROM
|
|
|
Post by netnomad on Jun 20, 2016 17:51:14 GMT -5
Hey, sorry to bother you guys. I'm a beginner working with BEX and wanted to try to write a program to play VGM music and I'm getting hung up on a few things. I've looked over this thread a few times and the SGDK documentation but either I'm not being as diligent about it as I should or the answers are going over my head. When I try to convert a VGM to an XGM file in the command prompt, my computer keeps asking me how to open CBP files instead of doing the conversion. I have the VGM file I want to convert in the xgmtool folder, but other than that everything in SGDK is completely untouched. Do you guys have any idea what I'm doing wrong? Also, is there a way to reintroduce samples into the music? I know that XGM files don't support FM channel 6 for either FM or samples so you need that to be empty in order to convert, but is there a recommended way to reincorporate, say, prewritten sample percussion parts? I guess when compiling for SEGA CD you could have one long audio file that is the percussion track and have that run at the same time, but is there a more space-economical way for cartridge ROMs using individual sample files? I hope I'm not breaking any rules bumping this thread. I know on some forums bumping is a big issue but on others they want you to create as few new threads for minor issues as possible so I figured start here, but if I should delete this and start a topic I will definitely do that. EDIT: I managed to work around that first problem. While I still don't know how to work the xgmtool within SGDK, there's a standalone .exe file you can find here if anyone else needs it. DOUBLE EDIT: So first of all I owe you guys an apology because my first problem was clearly spelled out here looking back, that the exe was not in the SGDK but was available on github/dropbox/et cetera. That was stupid of me. BUT I also have something positive to say, because I just converted a track without clearing samples out of channel six and it actually worked... sort of. The percussion, as written in VGM Music Maker, comes in in the third pattern of the song. I'm playing with it and trying to figure out why, it's really interesting. LAST EDIT: I did just finally get perfect in-emulator playback of the song. It looks like in the conversion process there is a feature that auto ignores certain samples, and that can be disabled by appending your command in the command line with -di so that it leaves everything in.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 21, 2016 14:10:18 GMT -5
Glad to hear you found a working solution. Yeah. Finding the xgmtool can be a little awkward. Maybe someday someone can take on a new "BEX Suite" that includes those files. Heck, same for SecondBASIC.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 21, 2016 14:13:18 GMT -5
Glad to hear you found a working solution. Yeah. Finding the xgmtool can be a little awkward. Maybe someday someone can take on a new "BEX Suite" that includes those files. Heck, same for SecondBASIC. That's already included, actually. I even put in a gui to convert wav and VGM files.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 21, 2016 14:20:41 GMT -5
^^ on TOP of things this man is. Thank you!
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 22, 2016 15:11:01 GMT -5
It looks like Stef removed the BEX library for XGM. Maybe he's updating it with the latest/final build?
|
|
bonaf
Moldy Popcorn
Posts: 28
|
Post by bonaf on Jul 23, 2016 5:08:29 GMT -5
Hello everyone, yes, the dropbox link in the first message doesn't work anymore. I should have downloaded it before... Does anyone know where I can get the driver ? Stef, si tu me lis, merci par avance
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 23, 2016 9:21:59 GMT -5
Hello everyone, yes, the dropbox link in the first message doesn't work anymore. I should have downloaded it before... Does anyone know where I can get the driver ? Stef, si tu me lis, merci par avance It's built into SecondBASIC with permission from Stef, but if you have a large BEX project, that may not help you since SecondBASIC still has some hidden bugs (meaning I know there's a few things not right, but I'm not sure what those are at the moment), so your BEX project may not compile properly. However, you can grab the driver code and required files from the installation of SecondBASIC if you need them
|
|
|
Post by tiberiyltim on Jul 23, 2016 9:33:30 GMT -5
|
|
bonaf
Moldy Popcorn
Posts: 28
|
Post by bonaf on Jul 23, 2016 17:23:19 GMT -5
Thanks guys for your help ! I'll soon show you my work in progress, hopefully with music
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 25, 2016 9:37:19 GMT -5
|
|
|
Post by tiberiyltim on Jul 25, 2016 17:10:56 GMT -5
Stef is going to update the BEX wrapper to work with the latest version of his XGM driver Good news! A one music set for PAL and NTSC! When date of release?
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jul 25, 2016 17:44:51 GMT -5
I'm not sure. I hope soon, but he may be busy with other projects at the moment.
|
|
Stef
Moldy Popcorn
Posts: 34
|
Post by Stef on Jul 26, 2016 4:02:20 GMT -5
Hey,
Sorry i fixed the link for the BEX wrapper. To be honest i don't know why the URL changed, something weird with Dropbox (maybe because i had to reinstall it on my computer). I will indeed update the wrapper for BEX so it will support the last version of the XGM driver, i can't give any date yet as there is some work needed for that but i will let you know here of course =)
|
|