Additional Info
|
So far,in my flash "hacking" experience I used this online converter (ignored's):
Flash AMV2 u30 Converter http://www.bluecork.net/cheats/short.php But appears to stopped working. I of course google-ed some others,but they didn't work in the same way this one did. For example: //25 d8 04 _as3_pushshort 600 If I typed 600 in the old one,it would give me d8 04. All others online give me 258 and I can't figure out how to change that in my hex editor. Help? |
Additional Info
|
Use the calculator and change it to "Scientific" in "View", type the given value (For example: 255) and change it to HEX (Will give you FF).
Here are some pics if you got lost. Changing to Scientific: (broken image removed) Changing to Hex: (broken image removed) |
Additional Info
|
Quote from: "RaulJ" Use the calculator and change it to "Scientific" in "View", type the given value (For example: 255) and change it to HEX (Will give you FF).Tested that, as ignored's calculator was also my main source. Sadly, It works up to 255//FF, but for anything above, it craps out and give me a three digit number. lol idek why i still come here |
Additional Info
|
Mine is in the Programmer mode since I use Windows 7 but anyway,I typed 225 and 600 and nothing changed.
I clicked Hex as well. Here's a pic (broken image removed) Suggestions? And yes,PseudoFamous,what could I use now? I also tried using the Hex Workshop built-in one,but nothing could give me such result as the above one did. Browsing through the previous ignored's posts,I also saw that he gave out the script for the converter: http://bluecork.net/cheats/scripts/short.py Is it possible for someone to figure out what's wrong with it now? |
Additional Info
|
Quote from: "MartinRistov" Is it possible for someone to figure out what's wrong with it now?While I understand the python part of it, the U30 Hex confuses the shit out of me.. So far as I understand, pushshort encodes a 30 bit integer, using the previous value as part of the value that's being found, using a varied length of array of bytes to display the integer.. If that makes any sense whatsoever.. If anyone wants to correct me, feel free. Also, while you're at it, fill in the blanks. On another note, the python script appears to be fine from a logic point of view, so you could download it and try it locally. Only problem it could be is with the math, as far as I see, so I can't correct it. In the mean time, sleep deprivation never helps, so I'll have another stab at it tomorrow. lol idek why i still come here |
Additional Info
|
Ignored DOES still come on occasionally. I suggest sending him a PM. He might be of more help.
|
Additional Info
|
I did send him one awhile ago. Thanks guys.
|
Additional Info
|
Windows Calculator works for values >255 too.
600(10) = 6*10^2(16) + 0*10^1(16) + 0*10^0(16) = 258(16) It's not that they don't work right, it's that short values are encoded differently. According to Adobe, it's a u30 Two's complement. If I understand correctly, a u30 is an integer that's made up of 30 bits...but that's as far as I got. Couldn't find any more info about it. So sorry about that. Try talking to ignored about it, and ask him to tell us how the hell u30 works. |
Additional Info
|
here ya go.
http://www.forceprojectx.com/services/u30converter it only converts from positive int to u30. I will be adding u30 converter to my AoB extractor as well. oh shit... I forgot to place an upper limit on the int size oh well. maybe later. eta: sorry about the silverlight, but man its so easy this way. I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it. |
Additional Info
|
Great,thanks a lot!
Quote from: "kolonelkadat" I will be adding u30 converter to my AoB extractor as well. You're the guy that made that thing? Dudeeee,it helped me like a milion times,thanks! (broken image removed) Where will you be releasing an update or announcement on when you are gonna upgrade your extractor? |
Additional Info
|
i added it to the download versions about 5 minutes after posting. its under CE 4byte calc in the extras menu. link to download is in my sig.
I guess I should a a thing in my apps that checks for updates automatically, but its just another thing to maintain. I use this AoB tool to make all the AoBs I post. Try the online version if you dont feel like downloading it. |
Additional Info
|
Here's also a little online alternative made by my awesome friend,router:
http://martinristov.com/public/u30/ Also here's an offline 1 file version of it,in html,feel free to download - Download Again,credits to router. |