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 


[Question] Byte signatures

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

Joined: 03 Nov 2006
Posts: 101

PostPosted: Mon Feb 16, 2009 4:55 am    Post subject: [Question] Byte signatures Reply with quote

Hello I have a little question about Byte signatures : what are they? How do i find them? can anyone give me alink or tutorial about this topic ..

Thanks for helpers Smile

_________________
Back to top
View user's profile Send private message
bungholio
Cheater
Reputation: 0

Joined: 11 Feb 2009
Posts: 45

PostPosted: Thu Feb 19, 2009 9:58 pm    Post subject: Reply with quote

Are you asking about what signed bytes are?

I've used 32 bit floating point decimal (floats) a lot when finding codes for PS2 games.

The most common used float is 3f800000, which translates into 1. To make the number signed, I just add exactly 80000000 to the number to get bf800000 which is -1. Whenever I've seen a signed number it was just a negative number.

Every time I encounter a negative number for something, it's just a number that's in the higher half of the possible values if that makes any sense.


A game like Disgaea 1 Hour of Darkness for PS2 used signed numbers a lot. For example, a lot of values are only 1 byte, so the highest is "FF". The first half of the possible digits are from "00" to "7f", and the higher half are from "80" to "FF". The first half are all positive numbers, the last half are all negative numbers.

If it were 2 bytes, then anything that's 8000 or higher would be a negative number.


Floats for PS2 were different than the other ones for Disgaea though. To make a normal PS2 float value negative, you just add exactly 80000000 to the number and it becomes negative. However with Disgaea's you'd have the highest number being 7f (127 decimal), and the next number would be 80 (-128 decimal) and then it would count down from there.



I hope I didn't miss your question completely.
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