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 


FAQ for compiling ce
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
Csimbi
I post too much
Reputation: 92

Joined: 14 Jul 2007
Posts: 3102

PostPosted: Sun Jan 04, 2009 7:17 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Jan 04, 2009 7:41 am    Post subject: Reply with quote

thanks, I forgot to add it to the svn. It's in now.
just do a svn update to get it.
(or http://ce.colddot.nl/export/168/Cheat%20Engine/dbvmPhysicalMemoryHandler.pas )

_________________
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
View user's profile Send private message MSN Messenger
NoLimitz
How do I cheat?
Reputation: 0

Joined: 05 May 2009
Posts: 3

PostPosted: Sun Jun 21, 2009 12:37 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Jun 21, 2009 4:58 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
NoLimitz
How do I cheat?
Reputation: 0

Joined: 05 May 2009
Posts: 3

PostPosted: Sun Jun 21, 2009 8:02 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sun Jun 21, 2009 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
NoLimitz
How do I cheat?
Reputation: 0

Joined: 05 May 2009
Posts: 3

PostPosted: Sun Jun 21, 2009 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Mon Jun 22, 2009 5:12 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
rooski
Master Cheater
Reputation: 0

Joined: 31 Oct 2007
Posts: 340
Location: Siberia

PostPosted: Fri Aug 14, 2009 11:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Sat Aug 15, 2009 5:41 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
rooski
Master Cheater
Reputation: 0

Joined: 31 Oct 2007
Posts: 340
Location: Siberia

PostPosted: Sat Aug 15, 2009 6:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
Csimbi
I post too much
Reputation: 92

Joined: 14 Jul 2007
Posts: 3102

PostPosted: Mon Oct 05, 2009 8:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Mon Oct 05, 2009 10:03 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Csimbi
I post too much
Reputation: 92

Joined: 14 Jul 2007
Posts: 3102

PostPosted: Mon Oct 05, 2009 12:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Tue Oct 06, 2009 5:04 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 3 of 9

 
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