05-19-2003, 11:28 AM
I tried to implement QMIDI rountines into my Rocket Fuel Mayhem source code so I can compile it and test in on college PC since back home I don't have a sound card.
Right away I encountered few problems. First of all, the QMIDI version I have didn't had LoopMIDI or driversloaded functions which Nathan mentioned when he gave me instructions about using QMIDI.
LoopMIDI should be used in ever loop and ensure that MIDI files start playing again after they come to the end.
Since it didn't came with the QMIDI I downloaded I couldn't put
that into my code.
driversloaded should check if SBMIDI.EXE and SBSIM.COM are loaded and therefor enable me to trigger certain variables in my programm. Since that thing wasn't also in the QMIDI I had to use some stupid stuff with 2 batch files and two extra exe files which are used to alter a .dat file and according to the value in the .dat file my programm knows if drivers are loaded and should it then execute MIDI routines.
It's not so important for me to solve this issue since two batch files
are compact. One is used to load drivers and alter .dat file so that
programms knows that drivers are loaded and second batch file is used to run the programm without music(.dat file must be there altered with the second exe file so that programm knows that drivers are NOT loaded). Never mind this.
Anyway, when I tried to implement various QMIDI routines into my programm all of them caused errors during compiling. I'm really frustrated with this.
A NOTE : These were NOT out of memory errors!
Due the memory issues I have to put all the MIDI subs and functions into a second module. I don't know if that causes the problem.
Basicly I have in my programm several loops(menus and the main game).
In all of them I guess I need to have LoopMIDI.
In menus I need one background music being played and during the battle different background music for each arena.
I need proper MIDI file loaded before each match according to arena. After the match I need that MIDI file unloaded and loaded the menu MIDI file again.
I tried to put all that into my programm like I said, but every MIDI
statement in my programm causes errors during compiling.
I'm looking for someone to alter my source code so that MIDI routines I've already put there WORK and that programm is compilable.
I will send you my source code and give you instructions where the
MIDI statements in the code are and what they should do.
You should be familiar with QMIDI. If you are not, I don't advise you to go into this. If you know what are you doing I don't think this should take a lot of you time, since the MIDI statement are already there. They are just not working for some reason.
Let's put this simple. If I don't find anyone willing to help me with this, Rocket Fuel Mayhem won't feature background music.
How lovely. I'm depressed.
Right away I encountered few problems. First of all, the QMIDI version I have didn't had LoopMIDI or driversloaded functions which Nathan mentioned when he gave me instructions about using QMIDI.
LoopMIDI should be used in ever loop and ensure that MIDI files start playing again after they come to the end.
Since it didn't came with the QMIDI I downloaded I couldn't put
that into my code.
driversloaded should check if SBMIDI.EXE and SBSIM.COM are loaded and therefor enable me to trigger certain variables in my programm. Since that thing wasn't also in the QMIDI I had to use some stupid stuff with 2 batch files and two extra exe files which are used to alter a .dat file and according to the value in the .dat file my programm knows if drivers are loaded and should it then execute MIDI routines.
It's not so important for me to solve this issue since two batch files
are compact. One is used to load drivers and alter .dat file so that
programms knows that drivers are loaded and second batch file is used to run the programm without music(.dat file must be there altered with the second exe file so that programm knows that drivers are NOT loaded). Never mind this.
Anyway, when I tried to implement various QMIDI routines into my programm all of them caused errors during compiling. I'm really frustrated with this.
A NOTE : These were NOT out of memory errors!
Due the memory issues I have to put all the MIDI subs and functions into a second module. I don't know if that causes the problem.
Basicly I have in my programm several loops(menus and the main game).
In all of them I guess I need to have LoopMIDI.
In menus I need one background music being played and during the battle different background music for each arena.
I need proper MIDI file loaded before each match according to arena. After the match I need that MIDI file unloaded and loaded the menu MIDI file again.
I tried to put all that into my programm like I said, but every MIDI
statement in my programm causes errors during compiling.
I'm looking for someone to alter my source code so that MIDI routines I've already put there WORK and that programm is compilable.
I will send you my source code and give you instructions where the
MIDI statements in the code are and what they should do.
You should be familiar with QMIDI. If you are not, I don't advise you to go into this. If you know what are you doing I don't think this should take a lot of you time, since the MIDI statement are already there. They are just not working for some reason.
Let's put this simple. If I don't find anyone willing to help me with this, Rocket Fuel Mayhem won't feature background music.
How lovely. I'm depressed.