View previous topic :: View next topic |
Author |
Message |
tommmmmm Expert Cheater
Reputation: 0
Joined: 09 Apr 2006 Posts: 147 Location: Poland
|
Posted: Sat May 13, 2006 7:01 am Post subject: trainer.res not found...no, not the same error |
|
|
Because I edited CE source about 10 times to reach UCE I finally decided to compile clean CE as to get the experience.
Of course I get
[Error] File not found: 'trainer.res'
If I:
1) make trainerwithassembler.exe in "cheat engine delphi" i still get trainer.res not found. The name is apropriate - trainerwithassembler.exe I know what I write.
2) copy/move trainer.res from standalone to main CE directory then i get error:
[Error] WARNING. Duplicate resource(s):
[Error] Type 14 (ICON GROUP), ID MAINICON:
[Error] File C:\Cheat Engine Delphi\CheatEngine.RES resource kept; file C:\Cheat Engine Delphi\trainer.res resource discarded.
3) If i comment out the trainer.res line
//{$R 'trainer.res' 'trainer.rc'}
then If I want to run CE (not only compile) I get this error:
Project Cheatengine.exe raised exception class ERegistryException with message 'Failed to get data for 'Speedhack 1 speed''. Process stopeed. Press Step or Run to continue.
I read this and this
If I compile additionally dbk32.sys and dbk32.dll and stealth.dll and cehook.dll I get same error.
I'm using Delphi 7 (build 2006 ) and cvs source from today - 13.05.2006
The reason of such problem is the fact, that with newest cvs I must compile with delphi (not ddk) and putting empty trainerwithassembler.exe worked only for compiling with ddk.
If it was linux package and I was under linux, I would flame/blame author of this tool...but we are under Windows so I only made *small* provocation.
_________________
My old signature contained a link to UCE for 822 GG MapleStory. So yeah, I decided to edit the signature.... |
|
Back to top |
|
 |
toadwaker Expert Cheater
Reputation: 0
Joined: 06 May 2006 Posts: 118 Location: NYC
|
Posted: Sat May 13, 2006 1:45 pm Post subject: |
|
|
try removing it from the project? That worked for me.
|
|
Back to top |
|
 |
stray Expert Cheater
Reputation: 0
Joined: 13 May 2006 Posts: 117 Location: The Forest of Patience
|
Posted: Sat May 13, 2006 10:29 pm Post subject: |
|
|
disable the debugger.
tools => debugger options => Uncheck "Integrated Debugger"
|
|
Back to top |
|
 |
tommmmmm Expert Cheater
Reputation: 0
Joined: 09 Apr 2006 Posts: 147 Location: Poland
|
Posted: Sun May 14, 2006 1:18 am Post subject: |
|
|
1. when i removed it from the project I get:
[Error] RLINK32: Unsupported 16bit resource in file "C:\Cheat Engine Delphi ORYGINAŁ\trainer.rc"
2. If i uncheck integrated debugging i still get error:
[Error] File not found: 'trainer.res'
_________________
My old signature contained a link to UCE for 822 GG MapleStory. So yeah, I decided to edit the signature.... |
|
Back to top |
|
 |
tommmmmm Expert Cheater
Reputation: 0
Joined: 09 Apr 2006 Posts: 147 Location: Poland
|
Posted: Sun May 14, 2006 1:21 am Post subject: |
|
|
but if I uncheck integrated debugging and I comment out whole line...then it works
_________________
My old signature contained a link to UCE for 822 GG MapleStory. So yeah, I decided to edit the signature.... |
|
Back to top |
|
 |
mAgiK Cheater
Reputation: 0
Joined: 29 Apr 2006 Posts: 40 Location: SG
|
Posted: Thu May 25, 2006 6:51 am Post subject: |
|
|
Hmm... I'm in roughly the same situation. I did make a UCE for GG rev641 and was using it with the server emulation. Now with MSEA 0.29 it detects dat so I have to work again... I any case I decided to work from scratch again and try to understand a bit more of the coding, because my ambition is to rewrite the code from scratch in C++.
1) I understand you have to compile trainer.exe from the standalone folder. Initially had problems with missing .dcu files, but my quick fix was to find the relevant .pas files from the root and copy it into \standalone. That seemed to fix it.
2) What I really want to know is the actual difference between trainer/trainerwithassembler. Becoz in my previous UCE I only had trainerwithassembler.exe and it seemed to work. DUH?
3) Another thing is, I was using 5.2.126 source. My compiled CE was working, but certain things looked weird. Like SETTINGS>EXTRA did not have a [MORE] button beside the kernel mode debugger option, even though I can see it in the form design...
4) Oh yeah, are we REALLY supposed to individually compile all the projects in the subfolders, coz there are tons of .dpr files. I get loads of errors with some of them too... What I did previously was to compile cheatengine.dpr, or should I compile cheatengine.bpg instead?
Ok I just asked too many questions, but if anyone answered even 1, I'll be one happy puppy. Thanks in advance.
P/S: I hereby pledge to donate to DB once I get my upcoming promotion! THANK YOU DB!
|
|
Back to top |
|
 |
|