View previous topic :: View next topic |
Author |
Message |
MiceMayCry How do I cheat? Reputation: 0
Joined: 10 Jan 2018 Posts: 1
|
Posted: Wed Jan 10, 2018 2:14 pm Post subject: How to display value from fixed address in-game |
|
|
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 |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Wed Jan 10, 2018 3:13 pm Post subject: |
|
|
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 |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Wed Jan 10, 2018 10:59 pm Post subject: |
|
|
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 |
|
|
|