(http://theguardianlegend.com/pics/maps-plugin.png)
Features:Save system.
Dynamic map (for any TGL rom).
Requirements:FCEUX 2.2.3
Download:https://mega.nz/#F!QtZQBK4Y!fmg_r54_wpoUtDCIFAxFPg
Instructions:Download and unpack archive to FCEUX root directory.
Run FCEUX, load The Guardian Legend.
Select "Lua => New lua script window..." from the "File" submenu.
Once "Lua Script" window shows itself, press "Browse..." button and select "TGL/main.lua".
Press "Run" button.
If everything went fine, you should see "TGL Map" window.
- To save your game, you must find a save room first. Once inside, select "NO USE" weapon (:redlander:) and press "A". After that you should see a password screen. Now press "Save" button near the map and choose file to save your data to.
- To load your game, select "Password continue" from main menu. Then, press "Load" button near the map and choose your save file. After successful load, you should see your map. Now return to the game and select "END" command. Magic.
From now on, I will check this forum daily. If you found a bug, you can leave a post here or use official Discord channel (https://discord.gg/93C68CT).
Changelog:R10 (2019.12.27)
- Player moving / teleportation and other cheats were reimplemented.
R1 ~Repository relocation~ (2018.06.28)
- Redrawing flickering reduced.
R12 (2018.06.01)
- Another canvas fix - top rooms now have their north wall.
R10 & R11 (2018.05.30)
- Fixed bug with red blocks.
- Fixed strange behavior of the canvas.
R9 (2018.05.29)
Update - DMM for Area 8 now available.
unpack them to the script's directory
Update - DMM for Area 9 now available.
Update - DMM for Area 10 now available.
OMG that's soo cool. too bad i didnt have this before i memorized the whole map by heart, but still i replay this game constantly so i will definitly be getting good use out of this.
too bad though this only works with the original TGL, not TGL: Secret (the script still works, but the map shows the original's, so using it on the remake make it look totally weird, but still better than iPhone 5 maps :redlander:)
Quote from: RC42 on October 09, 2012, 06:33:33 AM
too bad though this only works with the original TGL, not TGL: Secret (the script still works, but the map shows the original's, so using it on the remake make it look totally weird, but still better than iPhone 5 maps :redlander:)
Yes, the map set there manually if you check files. So theoretically it is possible to rebuild the map for Optomon's TGL 3.0.
Quote from: RC42 on October 09, 2012, 06:33:33 AM
too bad though this only works with the original TGL, not TGL: Secret (the script still works, but the map shows the original's, so using it on the remake make it look totally weird, but still better than iPhone 5 maps :redlander:)
Quote from: arseniy on October 09, 2012, 08:32:52 AM
Yes, the map set there manually if you check files. So theoretically it is possible to rebuild the map for Optomon's TGL 3.0.
Update: v2.0 beta.
Update - DMM for Area 0 of "TGL-Secret" now available.
So, I am noob sauce when it comes to this kinda stuff... How exactly do I incorporate this into my rom? Do I use Winrar and unpack it? And if so, where do I go from there?
Quote from: AlastorSX on October 25, 2012, 12:25:30 AM
So, I am noob sauce when it comes to this kinda stuff... How exactly do I incorporate this into my rom? Do I use Winrar and unpack it? And if so, where do I go from there?
First you must download FCEUX 2.1.5: http://www.fceux.com/web/download.html
Next download script and libs and unpack them somewhere (for example ./lua/TGL MaPs).
Then run FCEUX and load TGL ROM.
Select "File->Lua->New Lua Script Window".
In new window ("Lua Script") press "Browse..." and select "TGL MaPs.lua". Press "Run".
If you done everything right, you must see something like this:
(https://dl.dropbox.com/u/79803223/Forum/TGL/mm.jpg)
To save your game find password room, press [A] to bring password on screen and press "Save".
To load your game select "Password continue" from main menu and press "Load". Select save file. Then return to the game and press "END".
Sweet! I will give it a whirl when I can.
Update - added music replacer based on headfonez's code. For now it works, but there is still a lot of bugs. I'll update this module of my script asap.
If you update script from older version - redownload and replace libs.
To turn MR on:
- First, make sure that you have sounds in "sound" dir.
- Turn off sound in FCEUX.
- Check "Music->Enable" in MaPs.
- Wait until "Enable" field actually checks.
- Restart the game
that was fast.
I've updated the sound pack at: http://www.mlpmedia.net/TGL/soundUpdate1.zip (http://www.mlpmedia.net/TGL/soundUpdate1.zip)
There shouldn't be any crashes now since all of the sound.ogg files are present
good job merging my MR code.
Quote from: headfonez on October 31, 2012, 07:15:30 PM
I've updated the sound pack at: http://www.mlpmedia.net/TGL/soundUpdate1.zip (http://www.mlpmedia.net/TGL/soundUpdate1.zip)
I get strange error when i try to download this file.
I was able to download it, but it was 0kb and the zip contained no files.
Also, hopefully it'll address this crash which occurred after I beat the first mini boss.
But seriously, I got the map thing working right, and together with the new sounds and mod, and this is a completely transformed game. It's freaking awesome! Thanks everyone, for all your efforts!
Update - crash on "File not found" error now solved. To play "corridor win theme" correctly redownload music pack.
Also added automatic game reload.
Hmm. I redownloaded sound.zip and installed them (I noticed it only added 1 new file), but I still get the same exact crash at the same exact spot, after defeating the first polypus.
Basically just make sure there is a 1 through 71 sound.ogg. if there isnt, place a silence file there instead, and the problem should be fixed.
Yeah, there's only 64 out of 71. You're missing: 12, 18, 21, 26, 31, 68, 69.
So for a silence file, rather than creating "New file" and changing a text document to, for example, "sound12.ogg," could I make duplicates of sound61.ogg (filesize 5kb) and rename that to 12, 18, etc? I suspect a generic "New file" may not work as well as one that is a legitimate file type.
I'm sad to report I tried exactly that and it still crashed the game at exactly the same spot. Though the same error was not produced, and I hastily closed it without capturing the screen shot. However, I feel like it was the normal Windows 7 generic program crash. "Stopped responding."
Edit - Yup. Tried again. Went to the other mini boss just for variety and to see if it wasn't something specifically tied to that first boss. Here's the message:
Quote from: Golbez on November 01, 2012, 06:10:20 PM
I'm sad to report I tried exactly that and it still crashed the game at exactly the same spot. Though the same error was not produced, and I hastily closed it without capturing the screen shot. However, I feel like it was the normal Windows 7 generic program crash. "Stopped responding."
Edit - Yup. Tried again. Went to the other mini boss just for variety and to see if it wasn't something specifically tied to that first boss. Here's the message:
Sorry to hear. It's working for me when having a ogg for every sound. Double check and make sure all of the sounds have ogg files.
Attached is the list of all the songs in winamp, including the 7 I created off of file 61.
However files 12, 18, 21, 26, 31-34, 37, 38, 54, 56, 61, 62, 64, 65, 68, 69 play nothing in winamp.
Yet files 33-34, 37-38, 54, 56, 64-65 are larger than 5kb (what I assume is the typical empty file).
That leaves files 12, 18, 21, 26, 31, 32, 61, 62, 68, and 69 as the 5 kb files, which makes sense because I created 12, 18, 21, 26, 31, 68, 69 off of 61. So that leaves 32 and 62 as the 5k's before I did anything to 'em, which are probably not the ones to copy.
So, round 2, revamped strategy. Delete "Clone 61" files 12, 18, 21, 26, 31, 32, 61, 62, 68, and 69, and replace with clone file 33-4, etc (any one ought to do, hopefully).
I'll let you know if I find a "blank" file that works.
Edit - SUCCESS! I modified all the red files with Clone33 and I got past the boss. I'd recommend doing the same and rehosting. Or I could host my zip in its place. That is, if anyone else is experiencing the crash.
Quote from: Golbez on November 01, 2012, 07:31:10 PM
Attached is the list of all the songs in winamp, including the 7 I created off of file 61.
However files 12, 18, 21, 26, 31-34, 37, 38, 54, 56, 61, 62, 64, 65, 68, 69 play nothing in winamp.
Yet files 33-34, 37-38, 54, 56, 64-65 are larger than 5kb (what I assume is the typical empty file).
That leaves files 12, 18, 21, 26, 31, 32, 61, 62, 68, and 69 as the 5 kb files, which makes sense because I created 12, 18, 21, 26, 31, 68, 69 off of 61. So that leaves 32 and 62 as the 5k's before I did anything to 'em, which are probably not the ones to copy.
So, round 2, revamped strategy. Delete "Clone 61" files 12, 18, 21, 26, 31, 32, 61, 62, 68, and 69, and replace with clone file 33-4, etc (any one ought to do, hopefully).
I'll let you know if I find a "blank" file that works.
Edit - SUCCESS! I modified all the red files with Clone33 and I got past the boss. I'd recommend doing the same and rehosting. Or I could host my zip in its place. That is, if anyone else is experiencing the crash.
Hmm... Seems like you just ignored last script update. If you redownloaded only music pack - update your copy of the script.
P.S.: I think we must create full list of TGL music/sounds and try to make original sound pack. It will help in testing.
Another script update - some bugs were fixed.
Yeah, I didn't realize the script was updated. I thought it was just the sound pack. *oops*
I went ahead and opened one of the main stage themes in Audacity and truncated the start and end so that it loops better. I think it was a Minibosses cover. I'm attaching that, if you'd like to update your sound20.ogg file.
http://www.mediafire.com/?bdo1kczrhrzg511
Quote from: Golbez on November 02, 2012, 07:45:03 PM
Yeah, I didn't realize the script was updated. I thought it was just the sound pack. *oops*
I went ahead and opened one of the main stage themes in Audacity and truncated the start and end so that it loops better. I think it was a Minibosses cover. I'm attaching that, if you'd like to update your sound20.ogg file.
http://www.mediafire.com/?bdo1kczrhrzg511
sound20.ogg updated.
I find out that some sound codes don't actually play music/sound, but instead activate some effects:
31 - simply stop any music playback.
69 - make music fade out (boss effect).
Both of them now supported, so sound31.ogg and sound69.ogg are not used anymore.
"Been a while."
Due to some nasty (really nasty) RL events, I was in a horrible "social death" state for quite some time. Now I'm back. Probably. :bluelanderbig:
Anyway, previous version of the script was lost forever, so I write a brand new one. This version still lacks some features of the original, but already (much) more stable and cleaner. For example, map update delay is now gone. Completely. Also, this version works with any TGL ROM by default (still testing this part).
Well, this is it. If you found any bug, you can leave post here. Or there: http://theguardianlegend.com/forum/index.php/topic,1808.0.html. Or use Discord channel. Seriously, use Discord, my response time there much lower.
Yet another random update.
All the cheats were reimplemented from the old version of the script (thank you, Charly Huynh | JUST CHILLIN' @ Discord server).