The Guardian Legend

Original Game => Rom Hacks, MODs, Plugins => Topic started by: Quoise Games on October 30, 2012, 10:59:29 PM

Title: Now you can play your own music and sound in TGL
Post by: Quoise Games on October 30, 2012, 10:59:29 PM
 :bluelanderbig: Hi TGL fans, I've made a mod so that you can play your own music and sound effects in the TGL game.

Download the javascript based emulator here:

http://www.mlpmedia.net/TGL/TGLCustomMusic.zip (http://www.mlpmedia.net/TGL/TGLCustomMusic.zip)

Each sound in the TGL sound test will play a corresponding WAV file from the sounds folder.  So the song for sound test 1 will play "sound1.wav", the sound effect for sound test 45 will play "sound45.wav" etc.

I've made my own custom music list for the game. You can get them at

http://www.mlpmedia.net/TGL/soundPack1.zip (http://www.mlpmedia.net/TGL/soundPack1.zip)
http://www.mlpmedia.net/TGL/soundPack2.zip (http://www.mlpmedia.net/TGL/soundPack2.zip)
http://www.mlpmedia.net/TGL/soundPack3.zip (http://www.mlpmedia.net/TGL/soundPack3.zip)
http://www.mlpmedia.net/TGL/soundPack4.zip (http://www.mlpmedia.net/TGL/soundPack4.zip)
http://www.mlpmedia.net/TGL/soundPack5.zip (http://www.mlpmedia.net/TGL/soundPack5.zip)
http://www.mlpmedia.net/TGL/soundPack6.zip (http://www.mlpmedia.net/TGL/soundPack6.zip)

Extract the "sound.wav" files in the sound folder
On the emulator, press "Choose File" to open your TGL rom and the custom music should play.

Enjoy!

-mlperry
Title: Re: Now you can play your own music and sound in TGL
Post by: arseniy on October 31, 2012, 12:57:22 AM
Pretty cool :redlander: :heart:

Isn't it possible to have .ogg instead of .wav? Wav is really huge filesize.

Overal it's really awesome but the game seems kinda slowed down. Maybe you should go with VirtualNes.com emulator? It's really fast. I not sure if there any faster Java emulator.
Also the other issue could be fixed is to not let play same sound at the same time because it makes 200% sound volume and if accidently 3 sounds play same time it's 300% sound volume.

Well it's great news! If sometime in future it will be done some mix between this and Anegorami's MaPs plugin this could be a special release that new gamers might like much more than original.
Title: Re: Now you can play your own music and sound in TGL
Post by: Ratix on October 31, 2012, 07:37:10 AM
in this day and age do you really think that SPACE is an issue?
Title: Re: Now you can play your own music and sound in TGL
Post by: arseniy on October 31, 2012, 07:57:25 AM
Quote from: Ratix on October 31, 2012, 07:37:10 AM
in this day and age do you really think that SPACE is an issue?

of course
Title: Re: Now you can play your own music and sound in TGL
Post by: arseniy on October 31, 2012, 09:43:00 AM
Can you please give RAM adress and other info on how you mute music and sound and play something else instead? Anegorami might make that into FCEUX emulator.
Title: Re: Now you can play your own music and sound in TGL
Post by: Quoise Games on October 31, 2012, 10:04:09 AM
I'll rewrite the project to work in FCEUX
Title: Re: Now you can play your own music and sound in TGL
Post by: Anegorami on October 31, 2012, 11:53:34 AM
Quote from: headfonez on October 31, 2012, 10:04:09 AM
I'll rewrite the project to work in FCEUX
I already done that. Not as good as original, but still...
Title: Re: Now you can play your own music and sound in TGL
Post by: Quoise Games on October 31, 2012, 12:26:17 PM
Quote from: Anegorami on October 31, 2012, 11:53:34 AM
Quote from: headfonez on October 31, 2012, 10:04:09 AM
I'll rewrite the project to work in FCEUX
I already done that. Not as good as original, but still...
You already rewrote the audio to play custom music using Lua?
Title: Re: Now you can play your own music and sound in TGL
Post by: Anegorami on October 31, 2012, 10:03:42 PM
Quote from: headfonez on October 31, 2012, 12:26:17 PM
Quote from: Anegorami on October 31, 2012, 11:53:34 AM
I already done that. Not as good as original, but still...
You already rewrote the audio to play custom music using Lua?
Yes.
Title: Re: Now you can play your own music and sound in TGL
Post by: arseniy on November 01, 2012, 03:48:27 AM
Quote from: headfonez on October 31, 2012, 10:04:09 AM
I'll rewrite the project to work in FCEUX

You should try cooperate with Anegorami. I think sound/music replacer together with the stuff he done in his script would be just great!

In his script there is dynamic map reveal(like in Castlevania/Metroid), automatic save/load password(so you play like real without save states) and few cheats(not necessary but fun)

Dynamic map is most awesome stuff. It was really great to play Optomon's modification of TGL with this script and see all the map proress.
Title: Re: Now you can play your own music and sound in TGL
Post by: Quoise Games on November 01, 2012, 09:00:37 AM
Anegorami has succesfully merged my music replacement code into his map plug in.  Download it on his thread at:


http://theguardianlegend.com/forum/index.php/topic,1815.0.html (http://theguardianlegend.com/forum/index.php/topic,1815.0.html)
Title: Re: Now you can play your own music and sound in TGL
Post by: arseniy on November 01, 2012, 09:21:06 AM
Quote from: headfonez on November 01, 2012, 09:00:37 AM
Anegorami has succesfully merged my music replacement code into his map plug in.  Download it on his thread at:


http://theguardianlegend.com/forum/index.php/topic,1815.0.html (http://theguardianlegend.com/forum/index.php/topic,1815.0.html)

Yes, already tested that :D
Title: Re: Now you can play your own music and sound in TGL
Post by: AlastorSX on November 01, 2012, 10:14:59 AM
Wow. Interesting thread. Wasn't Optomon doing something similar? I know he had replaced some music in Simon's Quest.
Title: Re: Now you can play your own music and sound in TGL
Post by: arseniy on November 02, 2012, 03:59:16 AM
Quote from: AlastorSX on November 01, 2012, 10:14:59 AM
Wow. Interesting thread. Wasn't Optomon doing something similar? I know he had replaced some music in Simon's Quest.

It's nothing similar. This one plays 44khz 16bit stereo sounds and NES plays synthezed sounds.
Also Anegorami implemented this script into his plugin so it's possible to play with costum sounds/music in FCEUX. Sound files in .ogg format.
Title: Re: Now you can play your own music and sound in TGL
Post by: Ratix on November 02, 2012, 06:29:07 AM
what optomon did was inject the sound code written for one game to another. the way i interpreted it was that it can be done but the vital area of the RAM in use would need to be relocated to other areas for it to work. IE if you tried to play his CV2 rom it would only play the music.

" You cannot actually play the game unfortunately, as the newly imported sound engine overwrites certain vital ram from the original game that I didn't bother to move around."