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:48 pm]
Ultraviolet -- :wob:
[2024-4-21. : 1:32 pm]
Oh_Man -- I will
[2024-4-20. : 11:29 pm]
Zoan -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
You should do my Delirus map too; it's a little cocky to say but I still think it's actually just a good game lol
[2024-4-20. : 8:20 pm]
Ultraviolet -- Goons were functioning like stalkers, I think a valk was made into a banshee, all sorts of cool shit
[2024-4-20. : 8:20 pm]
Ultraviolet -- Oh wait, no I saw something else. It was more melee style, and guys were doing warpgate shit and morphing lings into banelings (Infested terran graphics)
[2024-4-20. : 8:18 pm]
Ultraviolet -- Oh_Man
Oh_Man shouted: lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
oh ya I saw that when Armo posted it on Discord, pretty crazy
[2024-4-20. : 8:09 pm]
Vrael -- thats less than half of what I thought I'd need, better figure out how to open SCMDraft on windows 11
[2024-4-20. : 8:09 pm]
Vrael -- woo baby talk about a time crunch
[2024-4-20. : 8:08 pm]
Vrael -- Oh_Man
Oh_Man shouted: yeah i'm tryin to go through all the greatest hits and get the runs up on youtube so my senile ass can appreciate them more readily
so that gives me approximately 27 more years to finish tenebrous before you get to it?
[2024-4-20. : 7:56 pm]
Oh_Man -- lol SC2 in SC1: https://youtu.be/pChWu_eRQZI
Please log in to shout.


Members Online: Ultraviolet, 3gabriellae5885fL3, Roy