Staredit Network > Forums > SC1 UMS Theory and Ideas > Topic: The Understanding of "EUD"
The Understanding of "EUD"
Jan 2 2009, 4:54 pm
By: Heinermann
Pages: < 1 « 4 5 6
 

Mar 8 2009, 2:13 am O)FaRTy1billion[MM] Post #101

👻 👾 👽 💪

Quote from SkiPz
I'm kind of having the same problem.

Trying to read offset 0x41E230, it's a 4 byte offset and EUDTrig gives me -372813 for the player number. I've been reading all the posts but I don't really get how to read all 4 bytes (byte 0 to byte 3) especially since the value of byte 3 is over 128 which thus means I'm supposed to use negative numbers? The bytes are E8 7B 74 EF (Since SC reads bytes backwards does that mean it's really read as EF 74 7B E8?) I tried doing the same type of formula as posted above (239-1*16777216+1) since EF = 239 decimal and all that except I reversed the +'s and -'s but that doesn't seem to work. Can anyone explain how I would do this?
Put EF747BE8 into a hex calculator and convert it. You get 4017388520 decimal. 256^4-4017388520 = 277578776. Negate it and you get -277578776 which is equal to 0xEF747BE8 in hex. :D



TinyMap2 - Latest in map compression! ( 7/09/14 - New build! )
EUD Action Enabler - Lightweight EUD/EPD support! (ChaosLauncher/MPQDraft support!)
EUDDB - topic - Help out by adding your EUDs! Or Submit reference files in the References tab!
MapSketch - New image->map generator!
EUDTrig - topic - Quickly and easily convert offsets to EUDs! (extended players supported)
SC2 Map Texture Mask Importer/Exporter - Edit texture placement in an image editor!
\:farty\: This page has been viewed [img]http://farty1billion.dyndns.org/Clicky.php?img.gif[/img] times!

Mar 8 2009, 4:10 am SkiPz Post #102



Thank you, got it working. Would you have any idea as to why a bunch of different offset values are different depending on how many games you played?

I've messed with a few different offsets and their values are different (yet constant pattern) depending on how many games were played. This makes it difficult to check for the value because it will be a certain value if they only had played 1 game, another value if they played 2 games, etc. I just think this is weird that I have ran into so many that do this.



None.

Mar 8 2009, 4:11 am Heinermann Post #103

SDE, BWAPI owner, hacker.

Quote
Since SC reads bytes backwards
If SC reads bytes backwards, then so does everything else on your computer.

On the x86 processor 11 22 33 44 is forwards(little endian), while on the PPC processor, 44 33 22 11 is forwards(big endian).

Big endian format is used in human calculation because it is easier to understand and work with.


Quote
I've messed with a few different offsets and their values are different (yet constant pattern) depending on how many games were played. This makes it difficult to check for the value because it will be a certain value if they only had played 1 game, another value if they played 2 games, etc. I just think this is weird that I have ran into so many that do this.
What is the memory address?




Mar 8 2009, 4:45 am SkiPz Post #104



I know I was just saying, the bytes are read differently, 1234 and 4321 are a big difference, I was just making sure that it wasn't forgotten/not taken into account whenever someone explained to me what to do.

Um it was a few different ones. 41E230 was one of them.



None.

Options
Pages: < 1 « 4 5 6
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: Roy, Oh_Man