Page 1 of 1
Bang on this utility ... if it works or breaks... (Updated)
Posted: Wed Feb 15, 2006 5:25 pm
by akardam
http://www.akardam.net/moto/decode.pl
Wrote this up after I got tired of flipping between browser tabs when trying to compare multiple flashcodes. Also added a MoFlag decoder after I did my first Spectra bitbanging the other night. (Yay me!)
One oddity is it decodes each flashcode bit in reverse order from the one over at RR. This is 'cause I went by the flash.doc's high bit to low bit ordering. I may eventually flip it around but for the time being it should still decode the data.
So, play with it, monkey with it, see if it breaks, etc etc.
Posted: Wed Feb 15, 2006 11:34 pm
by RESCUE161
Nice, VERY nice!
Posted: Thu Feb 16, 2006 6:03 am
by akardam
Made some changes this morning when I woke up early (silly brain racing in first gear at 5am...)
The flashcodes now decode low bit to high bit, like the RR decoder does.
There's also an option for the flashcode decoder to collapse the output to the smallest set of comparable options... i.e. only show options that are present in at least one of the flashcodes. So if you only do one flashcode you get output that looks similar to the RR decoder (i.e. just a list of the options in that flashcode as opposed to a list of all options).
I might add the same thing for the MoFlag decoder (it would be trivial to do), but other than that I think it's pretty stable as it is, unless anyone has any other suggestions to make. Feel free to keep banging away on it.
Posted: Thu Feb 16, 2006 6:09 am
by RESCUE161
Is there any way to may it automatically put in the "dashes" in the flash? Say if I put in "xxxxxxxxxxxxx", it would automatically skip to the 7th position after the 6th is input and end up looking like "xxxxxx-xxxxxx-x".
That way, you could copy and paste Ebay listings with ease. Just a thought though.
Posted: Thu Feb 16, 2006 8:47 am
by tvsjr
Make the output show all of the flashcode options as rows of a table, then drop an X or a checkbox into the columns for each entered flashcode. That way, you can see what options you ARE getting, as well as the ones you are NOT getting.
Posted: Thu Feb 16, 2006 9:01 am
by akardam
Ok. There are two modes with the flashcode decoder:
If "Collapse..." is *not* checked:
All flashcode options are listed, and the table is populated with up to three flashcodes showing which options are checked.
If "Collapse..." *is* checked:
The utility will only display options for which at least one of the up to three flashcodes has said option enabled. So, for example, if none of the flashcodes had Software Encryption, it would omit that option row.
So in effect the first option does show you all the options, and has a marker to indicate whether it is enabled or not for each flashcode. Does that clear it up a little bit?
Posted: Thu Feb 16, 2006 9:26 am
by alex
Cool - I do like the flashcode tool since it lets you easily see the difference between three different flash's.
Nifty.
As you tweek it, if you'd like to see it added here (being on the board - not on the main site) I could intergrate a link, or add it somehow.
Let me know if it interests you, and we can chat offline about it.
-Alex
Posted: Thu Feb 16, 2006 11:30 am
by akardam
Alex, check your PM's.
----
As was requested, the flashcode decoder will now accept "sloppy" flashcodes with no dashes in them, the kind that those on fleabay like to post. It still has to have all thirteen characters including the checksum (see the example text). It will also attempt to reconstitute sloppy flashcodes into the proper dashed format.
Any other feature requests?
Posted: Thu Feb 16, 2006 7:36 pm
by cbus
Excellent!
Well done mate