The Guardian Legend

Original Game => The Guardian Legend => Topic started by: tummai on January 14, 2011, 07:45:06 AM

Title: TGL Password Generator
Post by: tummai on January 14, 2011, 07:45:06 AM
I wrote a password generator for TGL that outputs the password that is easiest to input.  It's web-based (python/django) and currently I can only run it locally.  If arseniy is able to set up his host to run django maybe he can host it, but if not I can make passwords on demand.  Here are the criteria:


For example, here is the output when I max out the stats and start the game in the first room:


Fewest Unique Characters:
A9fP 9svO 6gvN zYfO
wMfM tAvw slwu Mj?I



Most Top Characters:
WVFV TJVU Q9UQ NtER
KhES HZUq 0QSl ii0O



Most Bottom Characters:
oqmm le6l iW6m fKmn
c!lj 3u5Z E7?b sh6f


I find the passwords with the "Most Top Characters" are the easiest to input.  So in the meantime, if anybody wants a custom password just reply to this thread and I'll make one for you.
Title: Re: TGL Password Generator
Post by: UserK on January 18, 2011, 08:00:08 AM
So those passwords all do the same thing?
That must be a crazy system!
Title: Re: TGL Password Generator
Post by: tummai on January 18, 2011, 11:38:40 PM
There are actually 256 different possible passwords for each combination of stats/score/pickups/etc.   Basically the game takes all the information I listed up in "criteria" above and makes a long bit string out of the data, then it encodes the string using a key.  The key is a random number 0-255, which allows for 256 possible passwords for the same game state.  My password generator generates all 256 and then picks the ones that are easiest to input.
Title: Re: TGL Password Generator
Post by: UserK on January 20, 2011, 09:14:19 AM
Ok, this makes sense. I suppose the random number is in the password itself. Quite amazing stuff, thank you.
Title: Re: TGL Password Generator
Post by: arseniy on January 20, 2011, 09:41:55 AM
Tummai - can your password system find easy weird passwords like JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ?
Title: Re: TGL Password Generator
Post by: tummai on January 26, 2011, 04:27:46 AM
Quote from: UserK on January 20, 2011, 09:14:19 AM
Ok, this makes sense. I suppose the random number is in the password itself. Quite amazing stuff, thank you.

Yes, that's right.

Quote from: arseniy
Tummai - can your password system find easy weird passwords like JJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJJ?

Right now the generator takes the above criteria and uses the input to generate the passwords.  So the generator would produce that JJJ password if you supplied it with the proper input.  It would be a little challenging to do that, because you'd have to check all shops and powerups and corridors to see which ones are closed.

I could try to make a program that tries to generate all possible passwords and saves the ones that have less than 3 total characters or something.  I don't know if it will be successful - that's a big loop and it might lock up my computer - but it's worth a try.
Title: Re: TGL Password Generator
Post by: tummai on January 26, 2011, 11:34:46 PM
Quote from: tummai on January 26, 2011, 04:27:46 AM
I could try to make a program that tries to generate all possible passwords and saves the ones that have less than 3 total characters or something.  I don't know if it will be successful - that's a big loop and it might lock up my computer - but it's worth a try.

This didn't work at all.  The program locked up.  I thought of another approach and wrote a password validater and passed it many easy passwords and saved the ones that passed the test.  This worked a lot better.  There are WAY more easy passwords than I thought.  Too many to post in this thread so I'll link to the generated text file:

http://www.tummaigames.com/tgl_pw.txt (http://www.tummaigames.com/tgl_pw.txt)

Some of the passwords crash the game and some put you in an inescapable room, but they should all work.  If you find one that doesn't work ("WRONG WORD") let me know which one.  I could have a bug in my password validater program.

If you find any cool ones that are fun to play, post them here.  I'll start:

EEEE EeEE EEEE EEEE
EEEE EEEE EEEE EEEE
Title: Re: TGL Password Generator
Post by: arseniy on January 27, 2011, 02:06:20 AM
ALAN OOOO OOOO OOOO
OOOO OOOO OOOO OOOO

Send outside of map with some weapons and keys already. I not know if this possible to back to the map bcuz it's always random.
Title: Re: TGL Password Generator
Post by: CODE RGB on November 13, 2011, 11:16:45 PM
Hey guys! I'd like to make a password request if that's alright. can someone make me a password that puts me somewhere on the main map with just a few points away from my score being maxed out? I want to find out if the actual cartridge I'm using is the version that locks up the game after the score is maxed out or not. Thanks!  :)
Title: Re: TGL Password Generator
Post by: arseniy on November 14, 2011, 05:09:43 PM
Quote from: CODE RGB on November 13, 2011, 11:16:45 PM
Hey guys! I'd like to make a password request if that's alright. can someone make me a password that puts me somewhere on the main map with just a few points away from my score being maxed out? I want to find out if the actual cartridge I'm using is the version that locks up the game after the score is maxed out or not. Thanks!  :)
that's an intresting idea. Maybe you will have to send PM to the guy who made password generator. If he not watches the topic he probably will not visit to check for request. But I hope he watches the topic.
BTW did some one tried that on emulator? I would try it on emulator as well.
Title: Re: TGL Password Generator
Post by: CODE RGB on November 14, 2011, 09:56:14 PM
That's a great idea thanks! Also,one more thing. i realized today while playing that i am able to glitch up the game on demand rather if I'm in the main map or not. whenever i have EE's i can rapid fire them and at the same time go in and out of the select menu multiple times and the game will always freeze up! arseniy, can you also give this a try on your emulator to see if the ROM freezes up or not? I'd like to know if it's the system I'm playing it on or if it will happen on the ROM to.
Title: Re: TGL Password Generator
Post by: arseniy on November 15, 2011, 04:57:48 AM
lol yes it's freezes! :bluelander:
But I used turbo button. Of course I did not see this on original console because that is mad idea to use EE rapidly haha! :heart:
Title: Re: TGL Password Generator
Post by: CODE RGB on November 15, 2011, 09:50:52 AM
Thank you so much! I'm glad to know there is not a problem with the way my system is emulating the game.  awesomeplz
Title: Re: TGL Password Generator
Post by: arseniy on December 02, 2011, 12:24:44 AM
Quote from: tummai on January 26, 2011, 11:34:46 PM
Quote from: tummai on January 26, 2011, 04:27:46 AM
I could try to make a program that tries to generate all possible passwords and saves the ones that have less than 3 total characters or something.  I don't know if it will be successful - that's a big loop and it might lock up my computer - but it's worth a try.

This didn't work at all.  The program locked up.  I thought of another approach and wrote a password validater and passed it many easy passwords and saved the ones that passed the test.  This worked a lot better.  There are WAY more easy passwords than I thought.  Too many to post in this thread so I'll link to the generated text file:

http://www.tummaigames.com/tgl_pw.txt (http://www.tummaigames.com/tgl_pw.txt)

Some of the passwords crash the game and some put you in an inescapable room, but they should all work.  If you find one that doesn't work ("WRONG WORD") let me know which one.  I could have a bug in my password validater program.

If you find any cool ones that are fun to play, post them here.  I'll start:

EEEE EeEE EEEE EEEE
EEEE EEEE EEEE EEEE

ZOMG tummai!!! I never opened that txt file before and it has tons of weird single char passwords  XD

AAlA AAAA AAAA AAAA
AAAA AAAA AAAA AAAA

AAAA AAAA AAAA AAlA
AAAA AAAA AAAA AAAA

AAAA AAAA AAAA AAAA
AAlA AAAA AAAA AAAA

BBB1 BBBB BBBB BBBB
BBBB BBBB BBBB BBBB

BBBB BBB1 BBBB BBBB
BBBB BBBB BBBB BBBB

BBBB BBBB BBB1 BBBB
BBBB BBBB BBBB BBBB

BBBB BBBB BBBB BBBb
BBBB BBBB BBBB BBBB

BBBB BBBB BBBB BBBB
BBBb BBBB BBBB BBBB

BBBB BBBB BBBB BBBB
BBBB BBBb BBBB BBBB

BBBB BBBB BBBB BBBB
BBBB BBBB BBB1 BBBB

CCCC CCUC CCCC CCCC
CCCC CCCC CCCC CCCC

CCCC CCCC CC4C CCCC
CCCC CCCC CCCC CCCC

CCCC CCCC CCCC CCYC
CCCC CCCC CCCC CCCC

CCCC CCCC CCCC CCCC
CCCC CCYC CCCC CCCC

CCCC CCCC CCCC CCCC
CCCC CCCC CC4C CCCC

CCCC CCCC CCCC CCCC
CCCC CCCC CCCC CC8C

CCCC CCCC CCCC CCCC
CCCC CCCC CCCC CCCa


everything else here -
http://www.tummaigames.com/tgl_pw.txt
Title: Re: TGL Password Generator
Post by: AlastorSX on October 22, 2012, 10:23:44 AM
Wow, never knew about any of these passwords. I am definitely interested in the ALAN one since you said it takes you outside the map. Just found what I am doing in my free time :-)
Title: Re: TGL Password Generator
Post by: arseniy on October 22, 2012, 10:26:23 AM
Don't need to use ALAN. Game will crash or you will stuck in no way out room anyway. So you better use Anegorami plugin for FCEUX. There is buttons to move to next room trhough walls.
http://theguardianlegend.com/forum/index.php/topic,1815.0.html
Title: Re: TGL Password Generator
Post by: andreasaspenberg on January 07, 2015, 04:14:05 PM
what i would want is a password where the main character have lots of health, lots of chips, maximum offense and defense with no corridors completed and preferably all keys.
Title: Re: TGL Password Generator
Post by: arseniy on January 08, 2015, 01:01:25 AM
Quote from: andreasaspenberg on January 07, 2015, 04:14:05 PM
what i would want is a password where the main character have lots of health, lots of chips, maximum offense and defense with no corridors completed and preferably all keys.
Would be way too easy.
You can make it by RAM chaning. Then go to the password lander and get the password and it will be the one you need with everything on full.
http://theguardianlegend.com/forum/index.php/topic,91.0.html
Title: Re: TGL Password Generator
Post by: andreasaspenberg on January 08, 2015, 05:08:54 AM
i am unable to figure out how to get that working. i do prefer that games is easy as i do not enjoy a challenge.
Title: Re: TGL Password Generator
Post by: arseniy on January 08, 2015, 05:16:40 AM
Quote from: andreasaspenberg on January 08, 2015, 05:08:54 AM
i am unable to figure out how to get that working. i do prefer that games is easy as i do not enjoy a challenge.

What emulator do you use?
Title: Re: TGL Password Generator
Post by: andreasaspenberg on January 08, 2015, 08:27:09 AM
i have several. the one i use the most is ubernes and there i can not type in cheats.
Title: Re: TGL Password Generator
Post by: arseniy on January 08, 2015, 09:12:38 AM
Try FCEUX or VirtuaNES or Nestopia. I think some other also has options for RAM change but I never used them. Can't tell how.
Here is example I change RAM adress in NesTopia(more often I use FCEUX and VirtuaNES tho. Just have no such video recorded with them)
http://www.youtube.com/watch?v=RcfMNxh-LTE
Title: Re: TGL Password Generator
Post by: andreasaspenberg on January 08, 2015, 02:38:09 PM
nestopis is possible to use but i learn nothing from video tutorials. i need text based tutorials.
Title: Re: TGL Password Generator
Post by: fireball on February 07, 2015, 02:54:30 PM
I noticed there was a password generator for TGL here: http://tasvideos.org/PasswordGenerators.html .  I'm sure it's known around here, but it's not mentioned in this topic, and it seems relevant. 
Title: Re: TGL Password Generator
Post by: arseniy on February 07, 2015, 11:38:46 PM
Quote from: fireball on February 07, 2015, 02:54:30 PM
I noticed there was a password generator for TGL here: http://tasvideos.org/PasswordGenerators.html .  Sure it's known around here, but it's not mentioned in this topic, and it seems relevant.

Thanks, really good