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.
[06:55 pm]
Ultraviolet -- that was the problem this last cycle after all
[06:55 pm]
Ultraviolet -- :lol:
[01:12 pm]
NudeRaider -- no! too expensive :sadwalk:
[10:52 am]
Heinermann -- egg
[2025-2-14. : 3:05 am]
NudeRaider -- I will!
[2025-2-13. : 6:27 pm]
dumbducky -- Thank you come again
[2025-2-11. : 2:34 pm]
Ultraviolet -- :wob:
[2025-2-10. : 7:43 am]
NudeRaider -- true
[2025-2-10. : 12:21 am]
Ultraviolet -- or too much going on in too little space rather
[2025-2-10. : 12:20 am]
Ultraviolet -- they're also just too small to really be obvious what they are without looking really closely
Please log in to shout.


Members Online: jun3hong