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 


Is there some kind of structure converter ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
shadel
Advanced Cheater
Reputation: 0

Joined: 19 May 2010
Posts: 52

PostPosted: Thu Nov 11, 2010 10:47 am    Post subject: Is there some kind of structure converter ? Reply with quote

It's related to aobscan in scripts and in the main interface.

Is there a built-in function or external program that lets you convert this :

Code:
4 bytes    --  123456789
blank      --  3
byte       --  15


into this :

Code:
07 5B CD 15 ** ** ** 0F


This example is easy and doesn't really require much brains thanks to calc.exe, manipulations or rigor.

However, when it comes to a structure like this :

Code:
byte       --  15
blank      --  157
float      --  97.25
blank      --  20
double     --  12.3456789


things becomes a tad more difficult, don't you think ?
You need another program to convert the float and double and make sure you have the exact count of **s.
Back to top
View user's profile Send private message  
Dark Byte
Site Admin
Reputation: 468

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

PostPosted: Thu Nov 11, 2010 11:52 am    Post subject: Reply with quote

I could add it, but will replace float and double with **'s as well (because 1.0 can be stored as 1.01, 1.02, 1.03, etc....)

also, you could just go to the memory region, select the bytes and copy to clipboard

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger 
ICQ Number
shadel
Advanced Cheater
Reputation: 0

Joined: 19 May 2010
Posts: 52

PostPosted: Fri Nov 12, 2010 12:00 pm    Post subject: Reply with quote

All the bytes for float will be **s ?
Can't we get at least 1 or 2 bytes for an approximate like :
Code:
3F ** ** **
1.01 - 3F8147AE
1.00 - 3F800000
0.99 - 3F7D70A4

or
Code:

42 C2 ** **
97.20 - 42C26666
97.25 - 42C28000
97.30 - 42C2999A


This conversion was done by this site http://www.h-schmidt.net/FloatApplet/IEEE754.html but I don't know if it's how it works in CE.
It doesn't need to be precise since a structure scan in itself is very selective.

As for the clip board copy, I still have to manually replace variable bytes by **s and might be lost in the middle of doing it asking myself if I didn't miss or add a ** or **'ed a fixed byte.

This function is present in Art Money and I think it is a good one to find groups of values with great accuracy with only one or two scans.

If something like that doesn't already exists, then yes please, can you make it ?
Thanks.
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 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