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 


Hex to Double, How is it done? :O

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

Joined: 09 Apr 2007
Posts: 1

PostPosted: Mon Apr 09, 2007 9:08 am    Post subject: Hex to Double, How is it done? :O Reply with quote

Well, as part of my project i need to extract the G-force data from a rollercoatser game (In this case, NoLimitsCoaster)

I have used a memory scanner (Like TSearch/Cheat Engine) to find the memory address of this data, but i hit a snag, i can only get the data in HEX from (Like in the "Memory View"), i need it in double.... How does one change the hex to the double?

Like:
How does
00 00 00 80 E9 9D 04 40 00 00 00 40 24 89 B5 BE
become
2.57710552215576

??

If you know of code, i can read in VB.NET/C#/MC++/C++/PHP/Javascript Sad
Back to top
View user's profile Send private message
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Mon Apr 09, 2007 9:43 am    Post subject: Reply with quote

http://en.wikipedia.org/wiki/IEEE_754
_________________

Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for?
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 programming 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