SMS Power!

Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats
Music - Videos - Development - Translations - Homebrew
Sega8bit & SMS Power! 2013 Event - 10th August

View topic - Password generators

Reply to topic
Author Message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Password generators
Post Posted: Mon Jun 13, 2011 6:30 pm
Last edited by Maxim on Thu Jun 16, 2011 10:10 am; edited 1 time in total
Over the weekend I reverse-engineered the password routines in Arena: Maze of Death and found a previously-unknown cheat password, as well as writing a password generator. I've added both here:

http://www.smspower.org/Cheats/ArenaMazeOfDeath-GG

I'm interested to know how well it works in its embedded form compared to the standalone version (which you can also download and use offline). It uses HTML5 form elements so it looks better in modern browsers.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Bubble Bobble
Post Posted: Thu Jun 16, 2011 9:08 am
I RE'd Bubble Bobble yesterday and there's a password generator here:

http://www.smspower.org/Cheats/BubbleBobble-SMS

Feedback is welcome.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 6320
  • Location: London, UK
Reply with quote
Post Posted: Thu Jun 16, 2011 9:14 am
Excellent, they are lovely piece of software.
Unlike the Arena one, the Bubble Bobble password generate doesn't seem to update automatically when a check is pressed. Maybe consider writing a description of the password encoding, as those as relatively interesting read as well, for those technically inclined (although we won't want that for every game).
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Thu Jun 16, 2011 10:06 am
The automatic updating is in fact very difficult to achieve, due to cross-browser differences in Javascript events. I intend to remove that, in fact, because it is problematic - depending on the browser, some of the fields update in different ways, or not at all (e.g. deleting text in IE) and I'd rather have you need to press buttons consistently than inconsistently.

Both of these also contain a description of the password algorithm in the source. It's not particularly useful information, though.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 6320
  • Location: London, UK
Reply with quote
Post Posted: Thu Jun 16, 2011 10:40 am
Don't bother with the automatic updating if its tricky to get working. Now saw the description in the source, maybe that could be moved to a string so the application can optionally display it? I enjoy reading those.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Dec 2005
  • Posts: 408
  • Location: São Paulo - Brazil
Reply with quote
Post Posted: Thu Jun 16, 2011 3:11 pm
Maxim wrote
It uses HTML5 form elements so it looks better in modern browsers.


Nice... Range type is awesome. Worked fine on latest Chrome for Linux.
  View user's profile Send private message
  • Joined: 25 Jul 2007
  • Posts: 512
  • Location: Melbourne, Australia
Reply with quote
Post Posted: Fri Jun 17, 2011 7:05 pm
Arena maze of death gen is broken on IE9.

The input boxes don't load with any default values and pressing encode results in an 'undefined' error.
encode.JPG (35.29 KB)
encode.JPG

  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Sun Jun 19, 2011 7:25 pm
Hmm, I'll have to look for a computer with IE9... I fixed a very similar error on IE8, did you test it on a recent version?
  View user's profile Send private message Visit poster's website
  • Joined: 25 Jul 2007
  • Posts: 512
  • Location: Melbourne, Australia
Reply with quote
Post Posted: Mon Jun 20, 2011 2:07 am
Yes, latest version.

If you have IE specific code that may be why since IE9 is mostly standards compliant now.
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Mon Jun 20, 2011 8:49 am
Should be fixed now. It turns out I had fixed IE8 but not actually uploaded it. The bug: IE doesn't support using [] to grab a character from a string except in IE9 in standards mode. The charAt() function works fine.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Alex Kidd: High Tech World password generator
Post Posted: Tue Jun 21, 2011 7:20 pm
Last edited by Maxim on Tue Jun 21, 2011 7:23 pm; edited 1 time in total
Another day, another password generator.

http://www.smspower.org/Cheats/AlexKiddHighTechWorld-SMS

Finally, we learn that in the ~170 bits of information available in the game's passwords (allowing 10^52 combinations), the only thing encoded is the time, which needs 9 bits (480 combinations). The rest is just there to make it *really* hard to guess passwords.

Bonus: type "javascript:all()" into the address bar on that page to see all 480 passwords. Sadly, none has anything funny in it.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Puzzle Bobble / Bust-a-Move
Post Posted: Tue Jun 21, 2011 7:22 pm
I forgot to post about this one which I made last Saturday.

http://www.smspower.org/Cheats/PuzzleBobble-GG
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Casino Games
Post Posted: Wed Jun 22, 2011 6:54 pm
Money, money, money!

http://www.smspower.org/Cheats/CasinoGames-SMS

Fairly simple, and there's a 10% chance that any given valid account number will match your name!
Casino Games (1).png (4.36 KB)
I am rich!
Casino Games (1).png

  View user's profile Send private message Visit poster's website
  • Joined: 14 Oct 2008
  • Posts: 90
Reply with quote
Post Posted: Wed Jun 22, 2011 10:27 pm
Maxim wrote

Finally, we learn that in the ~170 bits of information available in the game's passwords (allowing 10^52 combinations),

Well, the Japanese version only had 46 characters for the passwords because that is a complete kana set. So the unneeded 6 characters I suppose are there just to have a complete alphabet on screen, making it look nicer?
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Thu Jun 23, 2011 8:20 am
I'd guessed as much but hadn't made the effort to check :) It's almost certainly the same code underneath - I may see if I can support it.
  View user's profile Send private message Visit poster's website
  • Joined: 13 Nov 2007
  • Posts: 63
  • Location: New York, NY, USA
Reply with quote
Post Posted: Tue Jun 28, 2011 12:38 am
if you want to not worry abt cross-browser inconsistencies, use jquery or something.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Tue Jun 28, 2011 8:27 am
One of my self-imposed rules is that there are zero external dependencies on the generators; they are always encapsulated entirely in a single HTML file - including using data: uris for images. This allows easy download and offline use without accompanying data folders.
  View user's profile Send private message Visit poster's website
  • Joined: 13 Jul 2001
  • Posts: 182
  • Location: Perth, Australia
Reply with quote
Sehr gut!
Post Posted: Mon Jul 18, 2011 4:51 pm
Brilliant work, Maxim!
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Ghostbusters
Post Posted: Mon Aug 29, 2011 8:00 pm
After a long break, not least because I tried to reverse Ecco the Dolphin which is quite nasty code, here's an account number generator for Ghostbusters:

http://www.smspower.org/Cheats/Ghostbusters-SMS
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Sat Sep 03, 2011 9:08 am
Any requests? I'd like to cover some RPGs, but they will require a huge amount of work to figure out what events/items all the bits represent.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 6320
  • Location: London, UK
Reply with quote
Post Posted: Sat Sep 03, 2011 9:32 am
Mega Man and Golvellius should be reasonnably interesting and not too hard?
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Sat Sep 03, 2011 10:03 am
I did Golvellius some years ago (!) but there was a large amount of bits that needed to be identified - all the barriers, as well as equipment levels.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Sat Sep 03, 2011 9:23 pm
Mega Man is interesting in terms of the password entry system, but underneath it's just a lookup table.

http://www.smspower.org/Cheats/MegaMan-GG

The lookup table for restoring the difficulty has a mistake, as noted on the page.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 8984
  • Location: London
Reply with quote
Post Posted: Thu Jan 12, 2012 10:04 pm
Road Rash done:

http://www.smspower.org/Cheats/RoadRash-SMS

It was surprisingly difficult to do partly due to the four checksums it has embedded in it. One of the values is a mystery counter which I can't account for, so it probably doesn't matter what it is set to.
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!