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 


Print float_value from register [Solved]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
paul44
Expert Cheater
Reputation: 3

Joined: 20 Jul 2017
Posts: 226

PostPosted: Sat Sep 12, 2026 10:43 am    Post subject: Print float_value from register [Solved] Reply with quote

see image: [ https://ibb.co/Q7Q9V9bz ]

I thought it to be pretty simple, but everything but...
Found above @Stackoverflow; could not find anything here.

Q: i've got a feeling that this can be done far more easily via CE ?!

ps: tried 'print(readFloat(RAX))' - w/ variants - but no cigar...


Last edited by paul44 on Sun Sep 13, 2026 4:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 98

Joined: 14 Jul 2007
Posts: 3427

PostPosted: Sat Sep 12, 2026 1:12 pm    Post subject: Reply with quote

Have you tried EAX?
Look like it's a value there, not a pointer.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

Joined: 09 May 2003
Posts: 26002
Location: The netherlands

PostPosted: Sat Sep 12, 2026 4:07 pm    Post subject: Reply with quote

byteTableToFloat(dwordToByteTable(RAX))
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
paul44
Expert Cheater
Reputation: 3

Joined: 20 Jul 2017
Posts: 226

PostPosted: Sun Sep 13, 2026 4:40 am    Post subject: i got no idea... really ?! Reply with quote

^ i was actually thinking of doing that myself Mr. Green

If anyone asks, i've got zero clue about this one...Embarassed

Anywho: tested and solved. big thx here !
(considering the time i spent on this initially)

ps: in the mean time, i also came up with this: [ https://ibb.co/xPMzzv5 ]
=> if you use %f on fval, you still get integer
ps2: one can convert these values online ofc: [ https://gregstoll.com/~gregstoll/floattohex/ ]
(which is what i used initially to get going...)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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