thepirategamerboy12 wrote on 2022-03-25, 01:55:
Very nice patch, indeed. If you don't mind, this actually reminds me of a question I've been asking myself for a little while now.
Technically, how hard would it be to modify a game that originally had PC speaker music to instead play CD audio tracks at certain points? I had the idea to somehow mod the PC version of Zany Golf to play the Apple IIgs music this way. Would you need source code or is that possible without it?
I think you can do it without, but it aint easy
First you need to write some cd player code basics (play ##,stop,next,prev)
Once that works, you need to figure out where those are in the game.
Those calls need to be intercepted to execute your own code instead.
This could probably be done with a loader, but that really depends on the game mechanics.