Hex Converter
-migrated-
Hex Converter Posted on: 03/17/2011 10:55pm
Quote Post
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?
Re: Hex Converter Posted on: 03/18/2011 3:24am
Quote Post
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)
Re: Hex Converter Posted on: 03/18/2011 3:33am
Quote Post
Creamy Goodness.
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

Re: Hex Converter Posted on: 03/18/2011 3:39am
Quote Post
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?
Re: Hex Converter Posted on: 03/18/2011 4:22am
Quote Post
Creamy Goodness.
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

Re: Hex Converter Posted on: 03/18/2011 5:51am
Quote Post
Ignored DOES still come on occasionally.  I suggest sending him a PM. He might be of more help.
Re: Hex Converter Posted on: 03/18/2011 6:02am
Quote Post
I did send him one awhile ago. Thanks guys.
Re: Hex Converter Posted on: 03/18/2011 4:32pm
Quote Post
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.
Re: Hex Converter Posted on: 03/18/2011 4:50pm
Quote Post
Never let a computer tell me shit.
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.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"

Re: Hex Converter Posted on: 03/18/2011 6:55pm
Quote Post
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?
Re: Hex Converter Posted on: 03/18/2011 7:07pm
Quote Post
Never let a computer tell me shit.
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.
"Obviously, windows are central to Windows. They are so important that they named the operating system after them. But what is a window?"

Re: Hex Converter Posted on: 03/20/2011 1:36am
Quote Post
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.