vennom How do I cheat?
Reputation: 0
Joined: 23 Apr 2008 Posts: 2
|
Posted: Wed Apr 23, 2008 5:03 pm Post subject: Self Construct CE! |
|
|
Here ill teach how make Cheat engine contruct it own files (cool huh?)
So lets begin,
First! go to you Delphi 7/Bin directory and search for a file called brcc32.exe and try assign .rc files with this ok? (dont ask me how plz i dont remember >.<)
Now, lest make the .rc file, to do this first u need the name and extension of the files u want to make the resource , like this:
i want put CHEATENGINE.EXE and CHEATENGINE.DLL in the resource, so
in the .rc file (can be any name like, ce.rc it does not change much thing)
CHEATENGINE exe "CHEATENGINE.exe"
CHEATENGINE dll "Cheatengine.dll"
now to understand it, First word is the FILENAME, second word is the FILE EXTENSION and after these 2, u have to put the place were the files are (anything just pm me and ill explain better)
Now, double click at .rc file and, if u already assigned the brcc32.exe with this extension it will generete a resource, ELSE, assign this file with brcc32.exe NOW!
you will note a file will be generated in this folder, with extension .res
now, copy this .res file to your PROJECT file...
now, in your code, (oncreate event of the form) put this
VAR
Reso:TResourceStream;
begin
reso.Create(0,'CHEATENGINE','EXE'); //CHEATENGINE = filename EXE = extension
reso.savetofile('Cheatengine.exe');
reso.Create(0,'CHEATENGINE','DLL'); //CHEATENGINE = filename DLL = extension
reso.savetofile('Cheatengine.dll');
end;
NOTE!: Its importante CREATE the resource in the STREAM b4 save it to a file!
Thats it guys, anything post here =D
|
|