93 0A 06 3F = 30.00
93 0A 86 3F = 60.00
DC 0F C9 3F = 90.00
36 FA 8E 3C = 1.00
36 FA 0E 3D = 2.00
51 77 56 3D = 3.00
I can't seem to find a link between more than any 2 numbers; thus, I need some help explaining how each of those values could correlate in a static way with the Hex value (Formula/Steps to get from the Real Value to the Hex value). If you need more numbers, you can ask me, and I'll get them for you. Also, you can go into WE, place a unit, and change the facing degrees to X(value you want). Then extract the War3MapUnits.doo file and open it with a hex editor, the hex version of the entered value is at offset 24-27. Good luck.
Hex to Numbers, need a formula please.
Moderator: Cheaters
-
- Junior Member
- Posts: 30
- Joined: June 24th, 2007, 10:32 pm
-
- Old Wrinkly Member
- Posts: 272
- Joined: January 27th, 2007, 4:46 pm
- Title: OxyContin
- Location: Denver, Colorado
Re: Hex to Numbers, need a formula please.
The coordinates are using floating points I am pretty sure. Try reading this: http://en.wikipedia.org/wiki/IEEE_754 (not the easiest read). This might also help you too: http://www.wc3campaigns.net/tools/specs/index.html to see the structure of the file. Also, I am pretty sure they are in big-endian order as opposed to little-endian. I never really figured it out, but if you need more help ask. I assume you are looking for a quick way to make a .doo file? Glad to see you have a brain and took the effort to learn, we could use more people like you around the site
.

You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
-
- Junior Member
- Posts: 30
- Joined: June 24th, 2007, 10:32 pm
Re: Hex to Numbers, need a formula please.
I'm wanting to make a MapUnits.doo reproducer, given a manual input, as I'm tired of long, drawn-out methods. Thank you for the help, I'll read over it and respond with any questions or comments.
-
- Old Wrinkly Member
- Posts: 272
- Joined: January 27th, 2007, 4:46 pm
- Title: OxyContin
- Location: Denver, Colorado
Re: Hex to Numbers, need a formula please.
Read this thread as well: http://forum.wc3edit.net/viewtopic.php?f=3&t=1606. Right now I am putting in the fastest way I know to recover the file.
You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
-
- Junior Member
- Posts: 30
- Joined: June 24th, 2007, 10:32 pm
-
- Old Wrinkly Member
- Posts: 272
- Joined: January 27th, 2007, 4:46 pm
- Title: OxyContin
- Location: Denver, Colorado
Re: Hex to Numbers, need a formula please.
Cool, well the preplaced units is pretty much done, I just added the faster method. It might be confusing as I am not very good at explaining things, but it seems like you have a brain and the screenshots should help. Good Luck.
You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
-
- Junior Member
- Posts: 30
- Joined: June 24th, 2007, 10:32 pm
Re: Hex to Numbers, need a formula please.
So, did you make that or find it? And if you did make it, how are the facing degree's encapsulated in the .doo file, because I can't seem to figure out any way that they make sense.
-
- Old Wrinkly Member
- Posts: 272
- Joined: January 27th, 2007, 4:46 pm
- Title: OxyContin
- Location: Denver, Colorado
Re: Hex to Numbers, need a formula please.
I made it, but probably what you can do to find rotation is did what you did earlier. Place some units on the map, but change there rotation and compare them in hex.
You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
-
- Junior Member
- Posts: 30
- Joined: June 24th, 2007, 10:32 pm
Re: Hex to Numbers, need a formula please.
I've already done that, and I can't convert it to a usable format. When I convert the Hex to Decimal, I get a number that is no where close.
-
- Old Wrinkly Member
- Posts: 272
- Joined: January 27th, 2007, 4:46 pm
- Title: OxyContin
- Location: Denver, Colorado
Re: Hex to Numbers, need a formula please.
Yea I tried a lot of things as well, but never got it so I just used UnProtect and did some tinkering around till I got things how I wanted them to be. I gave up on convering decimals into 32-bit "int", so I just worked around my problem.
You know why the Yankees always win, Frank?
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.
'Cause they have Mickey Mantle?
No, it's 'cause the other teams can't stop staring at those damn pinstripes.