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 


[GUIDE]WHAT DO ALL THESE BYTES MEAN?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Tutorials
View previous topic :: View next topic  
Author Message
Haruhi Suzumiya.
Master Cheater
Warning
Reputation: 1

Joined: 05 Feb 2005
Posts: 463

PostPosted: Fri Aug 11, 2006 3:41 pm    Post subject: [GUIDE]WHAT DO ALL THESE BYTES MEAN? Reply with quote

Exact value is used when you know the value you’re looking for (i.e. you have 20 bullets in your gun).

Unknown value is used when you don’t know the value your looking for (its used for energy bars mostly).

1 byte is used when the value can be between 0-255 try this on roms
2 bytes is used when the value can be between 0-65535.
4 bytes is used when the value can be between 0-4294967295.
8 bytes is used when the value can be between 0-18446744073709551615.

Float is used when the value can be between 1.2E-38-3.4E38

Double is used when the value can be between 2.2E-308-1.8E308 mostly used in flash games

hope this short guide helps

ChaosUltima EXE
Binary contains either a 0 or 1, so it is called one bit. it can hold 2 values, which is, 0 or 1. 8 of that makes a byte=> 2*2*2*2*2*2*2*2 = 256

1 byte is 16*16 = 256 actually. That is how hex works. One hex value is from 1 to 10, then A-F. If you counted that, thats 16. Two hex values together is 16*16 which gives one byte. So for example, 1E is one byte, B4 is one byte, FE 56 is two bytes.

2 bytes are 256*256 which gives 65536, which are also combination of 4 hex values.

A float is a 32 bit value to store numbers from 2^128-2^-104 which is 3.402823510^38.

A Double is like what it says... double. It is a 64 bit value to store numbers from 2^1024 - 2^-971(I think) which gives 1.797693134862315710^308

Array is much more complex, it is used to store a range of numbers. for example, [E3 4F 58 A3 B2 C9 D0] is an array.

chaos if you want me to take it of its ok


Last edited by Haruhi Suzumiya. on Wed Sep 27, 2006 7:55 pm; edited 2 times in total
Back to top
View user's profile Send private message
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Fri Aug 11, 2006 7:35 pm    Post subject: Reply with quote

yeah good guide Very Happy

just to expand on the floats and doubles though ..... they are just decimal point values,

like 150 can be written as 1.50 in floating point like , the double is just spread over 8 bytes as a floating point value,


oh shut up me, ok ok I'll shut up,

and stop talking to yourself as well, ok ok I will stop talking to myself.

_________________
Back to top
View user's profile Send private message
Haruhi Suzumiya.
Master Cheater
Warning
Reputation: 1

Joined: 05 Feb 2005
Posts: 463

PostPosted: Mon Aug 14, 2006 10:35 am    Post subject: Reply with quote

me wrote:
yeah good guide Very Happy

just to expand on the floats and doubles though ..... they are just decimal point values,

like 150 can be written as 1.50 in floating point like , the double is just spread over 8 bytes as a floating point value,


oh shut up me, ok ok I'll shut up,

and stop talking to yourself as well, ok ok I will stop talking to myself.
thanks for the comment
Back to top
View user's profile Send private message
dEagle
Expert Cheater
Reputation: 0

Joined: 17 Jun 2006
Posts: 225
Location: CheatEngine Forum

PostPosted: Wed Aug 23, 2006 5:52 am    Post subject: Reply with quote

hAhahaa nice guide man
i never thought 1 byte and 2 byte had a difference like that by how many values it could store Wink
Back to top
View user's profile Send private message
Haruhi Suzumiya.
Master Cheater
Warning
Reputation: 1

Joined: 05 Feb 2005
Posts: 463

PostPosted: Wed Aug 23, 2006 10:52 am    Post subject: Reply with quote

benjooo wrote:
hAhahaa nice guide man
i never thought 1 byte and 2 byte had a difference like that by how many values it could store Wink
yeah but you can still use 4 bytes to search the values 1 and 2 but yeah its faster to use 1 and 2 if it applies to your values
Back to top
View user's profile Send private message
IssacTang2
Newbie cheater
Reputation: 0

Joined: 26 Aug 2006
Posts: 24

PostPosted: Tue Aug 29, 2006 10:36 am    Post subject: Reply with quote

how about binary ? I seldom see it applys?
Back to top
View user's profile Send private message
ChaosUltima
Master Cheater
Reputation: 0

Joined: 12 Jul 2006
Posts: 319

PostPosted: Sun Sep 24, 2006 9:43 am    Post subject: Reply with quote

To expand on his guide abit:

Binary contains either a 0 or 1, so it is called one bit. it can hold 2 values, which is, 0 or 1. 8 of that makes a byte=> 2*2*2*2*2*2*2*2 = 256

1 byte is 16*16 = 256 actually. That is how hex works. One hex value is from 1 to 10, then A-F. If you counted that, thats 16. Two hex values together is 16*16 which gives one byte. So for example, 1E is one byte, B4 is one byte, FE 56 is two bytes.

2 bytes are 256*256 which gives 65536, which are also combination of 4 hex values.

A float is a 32 bit value to store numbers from 2^128-2^-104 which is 3.402823510^38.

A Double is like what it says... double. It is a 64 bit value to store numbers from 2^1024 - 2^-971(I think) which gives 1.797693134862315710^308

Array is much more complex, it is used to store a range of numbers. for example, [E3 4F 58 A3 B2 C9 D0] is an array.
Back to top
View user's profile Send private message
Haruhi Suzumiya.
Master Cheater
Warning
Reputation: 1

Joined: 05 Feb 2005
Posts: 463

PostPosted: Wed Sep 27, 2006 7:56 pm    Post subject: Reply with quote

bump update
Back to top
View user's profile Send private message
nero[Z]
Expert Cheater
Reputation: 0

Joined: 08 Oct 2006
Posts: 109

PostPosted: Fri Oct 20, 2006 1:39 pm    Post subject: Reply with quote

Awesome guide Rolling Eyes

I rate it 10 out of 5 xD
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 Tutorials 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