Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Can I get the top left coordinates of the games visible view

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
blueberrypie
How do I cheat?
Reputation: 0

Joined: 11 Nov 2021
Posts: 5

PostPosted: Thu Nov 18, 2021 6:17 am    Post subject: Can I get the top left coordinates of the games visible view Reply with quote

In my game (Half Life 1), during certain resolutions the game will add black borders to the side of the screen and squish the viewport so that it doesn't stretch. I'm trying to get the position of the viewport (i.e. top left corner). Is that possible?

I have only had success in finding the total screen width and height, which includes the black borders.

Added an attachment (since I can't post links yet) of a screenshot showing what I mean.



Inkedhl_kNoSLphjLm_LI.jpg
 Description:
 Filesize:  956.81 KB
 Viewed:  1883 Time(s)

Inkedhl_kNoSLphjLm_LI.jpg


Back to top
View user's profile Send private message
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 511

PostPosted: Fri Nov 19, 2021 3:04 am    Post subject: Reply with quote

It's screen driver related,you can't remove them until you change zoom mode in graphic card settings(amd,intel,nvidia)(if resolution isn't setting to screen resolution,resolution will be stretched)
Back to top
View user's profile Send private message
blueberrypie
How do I cheat?
Reputation: 0

Joined: 11 Nov 2021
Posts: 5

PostPosted: Fri Nov 19, 2021 5:43 am    Post subject: Reply with quote

Can I somehow account for them when designing an overlay/esp? Scaling by resolution/aspect ratio doesn't seem to match up with different resolutions. I'm assuming it has something to do with that the zooming is different.
Back to top
View user's profile Send private message
Frouk
Grandmaster Cheater
Reputation: 5

Joined: 22 Jun 2021
Posts: 511

PostPosted: Fri Nov 19, 2021 6:06 am    Post subject: Reply with quote

Yeah you can,some games are counting resolution aspect from 10 to 30
Making esp like for default games
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites