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 


How to display value from fixed address in-game

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

Joined: 10 Jan 2018
Posts: 1

PostPosted: Wed Jan 10, 2018 2:14 pm    Post subject: How to display value from fixed address in-game Reply with quote

Resident Evil 4 30fps PC version has a hidden difficulty value that changes during gameplay. That value is always at address 03404B64. I can see that value if I have both the game and Cheat Engine opened in window mode side by side. I would like, however, to see that value while playing the game fullscreen.

Is that possible with Cheat Engine?
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Wed Jan 10, 2018 2:54 pm    Post subject: Reply with quote

I have never messed with it my self but I remembered this post:

http://forum.cheatengine.org/viewtopic.php?t=552281

_________________
Back to top
View user's profile Send private message Visit poster's website
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Wed Jan 10, 2018 3:13 pm    Post subject: Reply with quote

Well I have two monitors so I can say yes for me lol

More seriously though, sure. I know CE has some graphic stuff, haven't really used them, there's also ways to hook d3d etc. and do overlays the same way people do esp hacks (again, not something I really know), but there's always the simple option of creating a form with a label and making it transparent

Code:
{$lua}
[ENABLE]
if syntaxcheck then return end
TextOverlayForm = createForm(false)
local f = TextOverlayForm
  -- transparency thanks to mgr.inz.Player in http://forum.cheatengine.org/viewtopic.php?t=586609
  f.BorderStyle = 'bsNone'
  f.Color = 0x0000FF
  f.setLayeredAttributes(0xFF, 255, 3) -- make red transparent
  f.FormStyle="fsSystemStayOnTop"
local l = createLabel(f)
  l.font.size = 80
  l.font.color = 0xFF0000 -- example
  l.Font.Quality = 'fqNonAntialiased'
  l.OnMouseDown = function()
    f.dragNow()
  end
  l.OnDblClick = function()
    f.destroy()
  end
local t = createTimer(f)
t.Interval = 250
t.OnTimer = function()
  l.Caption = readInteger('03404B64')
end
f.visible = true --show() will give form focus setting visible won't

[DISABLE]
if syntaxcheck then return end
TextOverlayForm.destroy()


you can click on the text and drag it around (full screen app may minimize due to focus change but you can switch back), double clicking will close the form as will disabling the script.


Last edited by FreeER on Thu Jan 11, 2018 12:14 am; edited 1 time in total
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Wed Jan 10, 2018 10:59 pm    Post subject: Reply with quote

it may require some api hooking.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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