wonderful work considering it's done in VB :)
XcomUTIL (which split "UFO Defenese.exe" into geoscape.exe and tactical.exe) ?
I haven't used XcomUTIL but it should work using a quick change. In the source code, locate 'Private Sub Timer3_Timer'. In the first If statement, insert ' Or True ' just before ' Then ' and simply recompile the application.
Just be advised the music will continue to play when you exit the game, so you will need to add something to the program or create a shortcut to 'tskill.exe Launcher' to run after playing to kill the background app.
how does your program know when to play music geoscape3 and geoscape4 ? since they are not by default part of the original midi collection (only had geo1.mid and geo2.mid)
Simple, if geo1.mid attempts to play, it will play GMGEO1.mp3, if it happens a second time, it will play GMGEO3.mp3 instead and keeps toggling.
Same if geo2.mid plays, it will toggle between GMGEO2.mp3 and GMGEO4.mp3.
I've had to add code in, so that when GMGEO1.mp3 plays to the end, the next track will be GMGEO2.mp3 or GMGEO4.mp3 (depending which last played), at the end of that track it will be GMGEO3.mp3 (because GMGEO1.mp3 played last) etc - the music will always keep playing and toggling, and you won't hear the same track again until all others have played.
As there's only one GMTACTIC.MID, it just simply toggles between GMTACTIC.mp3 and GMTACTIC2.mp3.
I had to put smart code in to make XCOM play the correct music for end of battle, because in the PC Version of X-Com, it was playing the end game music instead.
I did this based on, if the last music which was playing, was a GMTACTIC.mid, it will play GMMARS.mp3 when GMSTORY.mid attemps to play. If you're on the GMGEOx.MID and go for the last mission, when GMMARS.MID attemps to play, it will play GMSTORY.mp3. You might ask, why didn't I just simply rename the files? Well you can't because the game plays GMSTORY.mid when starting up, so it would be incorrect. LOL
Well anyways, in the end, it all works pretty nicely. I might make an update in the future if anyone wants it, because I'm clicking happy... I click though the screens at lighting speed, and sometimes the GMDEFEND.mid is playing when I enter the tactical and things like that. I think I can fix most of them logically because if GMTACTIC.MID and GMDEFEND.MID both have the same timestamp, GMTACTIC.MID must be the one that should be playing because its the next one in order (i.e. you will never go from GMTACTIC.MID back to GMDEFEND.MID)