View previous topic :: View next topic |
Author |
Message |
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Sun Jan 04, 2009 7:17 am Post subject: |
|
|
1. Installed Delphi.
2. Installed WinDDK.
I open CE source, trying to compile, and I get a message saying that I need to build the standalone first.
So, I open these projects:
.\standalone\Trainer.dpr
.\standalone\trainerwithassembler.dpr
I have the same problem with both:
- when I open the project file, the .res file is not found (I guess this is ok).
- when I try to compile the project, I get this error:
[Fatal Error] NewKernelHandler.pas(256): File not found: 'dbvmPhysicalMemoryHandler.dcu'
Line 256 is: " dbvmPhysicalMemoryHandler; //'' for physical mem" (under the "uses" section).
I found a reference to it in .\.svn\text-base\cheatengine.dpr.svn-base: "dbvmPhysicalMemoryHandler in 'dbvmPhysicalMemoryHandler.pas',"
I did not find such unit the CE source package - nor did I find a list of additional components or libraries to be installed (apart from WinDDK). So, where can I get this unit?
Thanks!
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
|
Back to top |
|
|
NoLimitz How do I cheat? Reputation: 0
Joined: 05 May 2009 Posts: 3
|
Posted: Sun Jun 21, 2009 12:37 am Post subject: |
|
|
Hi Im newbie here and I really need some help because I really wanted to learn how to make CE ....
I already downloaded DDK 3790.1830 using windows XP free build enviroment and I used CE Source 5.5
Im having a hard time in compiling DBKKernel, it says :
18 files compiled - 180 Errors
I really wanted to post the log file but i think its to long ...
All i know, there is something wrong with the ntifs.h and the DBKDrvr.c
I really hope that someone can help me
Thanks
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Jun 21, 2009 4:58 am Post subject: |
|
|
just fix the problem in ntifs.h (e.g comment out the redeclaration there)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
NoLimitz How do I cheat? Reputation: 0
Joined: 05 May 2009 Posts: 3
|
Posted: Sun Jun 21, 2009 8:02 am Post subject: |
|
|
Thanks For the respond ...
Yeah but thats the point of my problem, i dont know how to fix it and it shows 180 errors (Thats way too much errors for nab like me) ...
So umm ... maybe you can share me the tuts for fixing that file coz i really wanted to learn.
Im really sorry if im bothering you
But I Will really really appreciate that if you could help me
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sun Jun 21, 2009 6:12 pm Post subject: |
|
|
as I said, just fix the one or two redeclarations by removing them in ntifs.h and I'm sure 170 of those errors will disappear (if not more)
In case you didn't notice, or haven't bothered to check it out, all those errors are about the same thing
also, it's a nice start to learn some C
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
NoLimitz How do I cheat? Reputation: 0
Joined: 05 May 2009 Posts: 3
|
Posted: Sun Jun 21, 2009 8:42 pm Post subject: |
|
|
Ok Thanks, Ive done some fixing but there is still some error that i cant fix, i hope you can tell me what should i do and yeah ive learned some of C language, btw heres the log :
Code: | BUILD: Examining c:\vacati~1\nolimitz\dbkker~1 directory for files to compile.
Compiling (NoSync) c:\vacati~1\nolimitz\dbkker~1 directory ********************
1>'nmake.exe /nologo BUILDMSG=Stop. -i NTTEST= UMTEST= NOLINK=1 PASS1_NOLIB=1 386=1'
1>BUILDMSG: Processing c:\vacati~1\nolimitz\dbkker~1
1>cl -nologo -Ii386\ -I. -IC:\WINDDK\3790~1.183\inc\mfc42 -Iobjfre_wxp_x86\i386 -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wxp -IC:\WINDDK\3790~1.183\inc\ddk\wdm\wxp -IC:\WINDDK\3790~1.183\inc\crt -D_X86_=1 -Di386=1 -DSTD_CALL -DCONDITION_HANDLING=1 -DNT_INST=0 -DWIN32=100 -D_NT1X_=100 -DWINNT=1 -D_WIN32_WINNT=0x0501 /DWINVER=0x0501 -D_WIN32_IE=0x0603 -DWIN32_LEAN_AND_MEAN=1 -DDEVL=1 -D__BUILDMACHINE__=WinDDK -DFPO=0 -DNDEBUG -D_DLL=1 /c /Zl /Zp8 /Gy /Gm- -cbstring /W3 /WX /Gz /GX- /GR- /GF /GS /G6 /Ze /Gi- /QIfdiv- /hotpatch -Z7 /Oxs /Oy- -FIC:\WINDDK\3790~1.183\inc\wxp\warning.h .\dbkdrvr.c .\dbkfunc.c .\rootkit.c .\processlist.c .\memscan.c .\threads.c .\vmxhelper.c .\newkernel.c
1>dbkdrvr.c
1>c:\Vacationz Projectz\NoLimitz\DBKKernel\DBKDrvr.c(764) : error C2065: 'PsProcessType' : undeclared identifier
1>c:\Vacationz Projectz\NoLimitz\DBKKernel\DBKDrvr.c(764) : error C2100: illegal indirection
1>c:\Vacationz Projectz\NoLimitz\DBKKernel\DBKDrvr.c(764) : warning C4047: 'function' : 'POBJECT_TYPE' differs in levels of indirection from 'int'
1>dbkfunc.c
1>rootkit.c
1>processlist.c
1>memscan.c
1>threads.c
1>vmxhelper.c
1>newkernel.c
1>Generating Code...
1>
1>Stop. |
Thanks dark byte for your support, youre a genius programmer ...
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Mon Jun 22, 2009 5:12 am Post subject: |
|
|
Looks like you have a really really old version of the sdk (connect.microsoft.com has the latest one)
anyhow, try replacing PsProcessType with NULL, that sometimes works fine as well
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
rooski Master Cheater Reputation: 0
Joined: 31 Oct 2007 Posts: 340 Location: Siberia
|
Posted: Fri Aug 14, 2009 11:33 pm Post subject: |
|
|
when compiling i also get the same problem , just i have alot more errors , and when i comment the declerations out and recompile i just get more errors.
Code: | dbkdrvr.c
c:\CheatEngine55src\DBKKernel\ntifs.h(212) : error C2143: syntax error : missing '{' before 'constant'
c:\CheatEngine55src\DBKKernel\ntifs.h(212) : error C2059: syntax error : '<Unknown>'
c:\CheatEngine55src\DBKKernel\ntifs.h(403) : error C2041: illegal digit '9' for base '8'
c:\CheatEngine55src\DBKKernel\ntifs.h(411) : error C2041: illegal digit '8' for base '8'
c:\CheatEngine55src\DBKKernel\ntifs.h(539) : error C2041: illegal digit '8' for base '8'
c:\CheatEngine55src\DBKKernel\ntifs.h(719) : error C2014: preprocessor command must start as first nonwhite space
c:\CheatEngine55src\DBKKernel\ntifs.h(719) : fatal error C1017: invalid integer constant expression |
its the same for the other .c files, im not sure what to do.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Sat Aug 15, 2009 5:41 am Post subject: |
|
|
sounds like a typo somewhere.
Or a missing {
could also be a wrong version of the ddk
you use ce.bat to build it from inside the win2kbuild environment?
and don't use make, use build
and of course the most important tip: Don't use automatic search and replace tools, then generally cause errors like this
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
rooski Master Cheater Reputation: 0
Joined: 31 Oct 2007 Posts: 340 Location: Siberia
|
Posted: Sat Aug 15, 2009 6:16 pm Post subject: |
|
|
Dark Byte wrote: | sounds like a typo somewhere.
Or a missing {
could also be a wrong version of the ddk
you use ce.bat to build it from inside the win2kbuild environment?
and don't use make, use build
and of course the most important tip: Don't use automatic search and replace tools, then generally cause errors like this |
k ill retry, and yeah i used the win2000build environment , but i also used actual search and replace.
______UPDATED______
ok replaced every thing by hand and still get the same exact errors , im using a ddk posted from a uce makeing tut (guess it might be an older version since the tut is from a year back) but when i look for the missing } before "constant" . the word constant isnt in the ntifs.h file . so i dont know what to do .
ddk version is 3790.1830, should i build it with the wdk?
|
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Mon Oct 05, 2009 8:15 am Post subject: |
|
|
Hi Dark Byte,
Grabbed SVN 245.
Put it to a clean dir, C:\DEV\PROJECTS.D7\Cheat Engine
Opened project C:\DEV\Projects.D7\Cheat Engine\standalone\trainerwithassembler.dpr
Got error saying:
Cannot find resource file: C:\DEV\Projects.D7\Cheat Engine\standalone\trainerwithassembler.res. Recreated.
Clicked ok.
Project -> Build Trainerwithassembler
3 errors:
[Error] CEFuncProc.pas(2080): Undeclared identifier: 'GetBitOf'
[Error] CEFuncProc.pas(3049): Undeclared identifier: 'disassemble'
[Fatal Error] Assemblerunit.pas(1533): Could not compile used unit 'cefuncproc'
Found 'GetBitOf' in c:\DEV\Projects.D7\Cheat Engine\disassembler.pas, so I added "disassembler" to "uses" at line 12, after "assemblerunit".
Project -> Build Trainerwithassembler
1 error: disassembler.dcu not found.
Project -> Add to project c:\DEV\Projects.D7\Cheat Engine\disassembler.pas
Project -> Build Trainerwithassembler
[Fatal Error] CEFuncProc.pas(12): Circular unit reference to 'CEFuncProc'
Removed "disassembler" from "uses" at line 12 (that I added previousy).
Project -> Build Trainerwithassembler
3 errors again, same as in the first place - back to square one.
Any tips, please?
Thank you.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Mon Oct 05, 2009 10:03 am Post subject: |
|
|
it's fixed in the svn now
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Mon Oct 05, 2009 12:23 pm Post subject: |
|
|
Thanks, c:\DEV\Projects.D7\Cheat Engine\standalone\trainerwithassembler.dpr compiled now without errors.
I attempted to compile c:\DEV\Projects.D7\Cheat Engine\cheatengine.dpr now, and I get this error:
[Fatal Error] stacktrace2.pas(5): File not found: 'byteinterpreter.dcu'
I did not find the source code for that, so I guess it's missing from SVN?
Thank you for fixing.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Tue Oct 06, 2009 5:04 am Post subject: |
|
|
added byteinterpreter.pas to the svn
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|