Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Detect screen position with EUD
Detect screen position with EUD
Oct 21 2009, 7:19 pm
By: Wormer  

Oct 21 2009, 7:19 pm Wormer Post #1



Can't find the address where the screen position is written. Please, HALP!



Some.

Oct 21 2009, 10:13 pm rockz Post #2

ᴄʜᴇᴇsᴇ ɪᴛ!

http://code.google.com/p/bwapi/wiki/changes116
005136CC Unknown RECT (screen positioning)
006CDD98 RECT Screen Size
006CDDA8 Unknown
006CDDAC Mouse X Position
006CDDB0 Mouse Y Position
006CDDB4 Unknown
006CDDB8 Unknown (512)
006CDFB8 Unknown

I've never looked it up. If you can't look it up, I'll try when I get back to my desktop. Farty's server is still down (he's updating it or something) so the DB is down, but the memory map is hosted by google. I'd look around 006CDD98 for screen position.

I also think the screen is almost exactly 20x12 squares, which may help when centering/changing the address to search for it.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

Oct 22 2009, 1:14 am Roy Post #3

An artist's depiction of an Extended Unit Death

Screen X: 0062848C
Screen Y: 006284A8




Oct 22 2009, 8:09 am O)FaRTy1billion[MM] Post #4

👻 👾 👽 💪

Quote from rockz
http://code.google.com/p/bwapi/wiki/changes116
005136CC Unknown RECT (screen positioning)
006CDD98 RECT Screen Size
006CDDA8 Unknown
006CDDAC Mouse X Position
006CDDB0 Mouse Y Position
006CDDB4 Unknown
006CDDB8 Unknown (512)
006CDFB8 Unknown

I've never looked it up. If you can't look it up, I'll try when I get back to my desktop. Farty's server is still down (he's updating it or something) so the DB is down, but the memory map is hosted by google. I'd look around 006CDD98 for screen position.

I also think the screen is almost exactly 20x12 squares, which may help when centering/changing the address to search for it.
Server is back up. It doesn't have any 1.16.1 addresses anyway.
The screen is exactly 20x12.5 squares (640x400 pixels). :P



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!

Oct 22 2009, 9:24 am Wormer Post #5



Thank you Rocks, but unfortunately it is none of that :(

Quote from Roy
Screen X: 0062848C
Screen Y: 006284A8
This. Luv ya! :flowers:

It is left to be added these are 4-byte integers which hold top left position of the screen rectangle. The middle of the main screen area might be calculated like this: MidX = ScreenX + 320, MidY = ScreenY + 192. MidX and MidY are exact coordinates of the middle of the location (don't know how odd integers round though) when you execute CenterView(Location).

As a side note.
Quote from O)FaRTy1billion[MM]
The screen is exactly 20x12.5 squares (640x400 pixels). :P
To avoid confusion, the whole screen dimensions are of course 640x480,
but the main screen area dimensions are 640x400, as Farty mentioned.



Some.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[10:18 pm]
Vrael -- who says I'm not a total madman?
[02:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1: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
Please log in to shout.


Members Online: Vrael, Oh_Man