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 


Creating a CRC?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Mon Aug 20, 2007 10:13 am    Post subject: Creating a CRC? Reply with quote

Is there any windows APIs that tell you what the Opcode is at a certain point?
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Mon Aug 20, 2007 11:23 am    Post subject: Reply with quote

Why don't you just load the program in a decompiler, and find the opcode at that point
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
--Pillboi--
Grandmaster Cheater Supreme
Reputation: 0

Joined: 06 Mar 2007
Posts: 1383
Location: I don't understand the question. Is this a 1 to 10 thing?

PostPosted: Mon Aug 20, 2007 11:36 am    Post subject: Reply with quote

Because, oib, I'm assuming, seeing as we are in the programming section, that he wants to program his own CRC, either for a useful program, or a crackme.
_________________

Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair.
Back to top
View user's profile Send private message
atlantis
Advanced Cheater
Reputation: 0

Joined: 16 Jun 2007
Posts: 69

PostPosted: Mon Aug 20, 2007 11:49 am    Post subject: Reply with quote

I think you usually take crc with help of a dll or take crc of other file
cause it is hard to know what crc is before it is computed..
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Mon Aug 20, 2007 1:14 pm    Post subject: Reply with quote

You do it in raw memory (if of your own program) or with ReadProcessMemory.

In C, of the current process, you can read individual program bytes like this:
Code:
char* address;
address = 0x400000;
char nextbyte() { return (address++)* }

_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Wed Aug 22, 2007 7:01 am    Post subject: Reply with quote

nog, you forgot the casting:
Code:

void* address = (void*)0x400000;
BYTE nextByte()
{
address = (void*)((BYTE)address + 1);
return (*(BYTE*)address);
}


Looks like u used to ASM Very Happy
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