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 


A few questions
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Sep 18, 2007 2:08 pm    Post subject: Reply with quote

I don't think code shifting has a purpose other then it's method of programming. I don't think it was ever made to prevent hacking, but instead, to make an easier method of programming games and keeping them updated using different update methods. Most games that use code shifting have a launcher and their game libraries.

Such as Nostale does, the game launcher is Nostale.exe where as the actual game is loaded in nostalex.dat. A lot of games use this method now-adays.

I never read about it serving a purpose as protection or anything.
Back to top
View user's profile Send private message Visit poster's website
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Tue Sep 18, 2007 4:05 pm    Post subject: Reply with quote

Do you have a site or something where I can read into code shifting on more detail ? I'm having some trouble googling it unless it goes by some other name.

Thanks for all your help too, I guess I still have to wait 31538 seconds to rep you :p
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Tue Sep 18, 2007 4:32 pm    Post subject: Reply with quote

Slugsnack wrote:
Do you have a site or something where I can read into code shifting on more detail ? I'm having some trouble googling it unless it goes by some other name.

Thanks for all your help too, I guess I still have to wait 31538 seconds to rep you :p


I don't see many sites that have any info on code shifting, just tutorials from random hackers and such. Best I could say is look for the tutorials from various people or just google around. I will try and post any links I find in the future though.
Back to top
View user's profile Send private message Visit poster's website
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Tue Sep 18, 2007 5:01 pm    Post subject: Reply with quote

Slugsnack wrote:
What would the other half of EAX (not AX) called then ? Or does it not have a name ? (In fact, what is even the point in the 32 bit register being split up into so many little bits ?)


AX refers to the lower order of EAX. So the less significant part. The other half of EAX, the higher order, does not have its own name. It could be referenced by
a bit-wise AND operation or shifting the bits. They were probably given dedicated names to make them easier to reference without having to perform multiple operations.

Slugsnack wrote:
Actually I was also wondering how the decimal point is represented in binary (in a floating point value).


Although there are many methods for storing floating points in binary, the IEEE 754 would be the standard implemented in most languages.

_________________

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
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Wed Sep 19, 2007 9:55 am    Post subject: Reply with quote

How would an AND bitwise operator help reference this "higher order" ?
Back to top
View user's profile Send private message
DeltaFlyer
Grandmaster Cheater
Reputation: 0

Joined: 22 Jul 2006
Posts: 666

PostPosted: Wed Sep 19, 2007 2:10 pm    Post subject: Reply with quote

Slugsnack wrote:
How would an AND bitwise operator help reference this "higher order" ?

1 AND 1 = 1
1 AND 0 = 0
0 AND 0 = 0

In binary, certain bits could be isolated by performing a bit-wise AND operation with the first operand being the source where you wish to extract the bits, and the second operand being a binary value where it is 1 on the bits you wish to extract, and 0 on the bits you do not.

Ex: to extract the high order nibble from 1010 1110 in binary.
Code:

        1010 1110
AND     1111 0000
___________________
        1010 0000


It works exactly the same in HEX, except the second operand would often be 1, 3, 7, or F depending on which bits you wish to extract from the nibble (1 would be the lower 1 bit, 3 lower 2 bits, 7 lower 3 bits, F all the bits).

_________________

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
Goto page Previous  1, 2
Page 2 of 2

 
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