View previous topic :: View next topic |
Author |
Message |
Deathspike How do I cheat?
Reputation: 0
Joined: 28 May 2011 Posts: 7
|
Posted: Sat May 28, 2011 2:31 am Post subject: Compiling CE6? |
|
|
Hey,
I've been using Cheat Engine for quite a while and am looking to compile from source right now. I've downloaded and installed RAD Studio 2010 and have attempted to compile the source. Cheat Engine 5.6.1 at least has project files but throws errors at 'symLoadModule', however Cheat Engine 6.X does not have such files at all.
Then I noticed you should be able to compile with the Lazarus project and followed the instructions of this thread: viewtopic.php?t=529525. That will break when compiling xmplayer because I am on a 64-Bit OS (Win7). I tried disabling the user generated error but alas, it was there for a reason. I also looked at the 'Compiling FAQ', however that's a summary of things *not to ask*.
Any information is appreciated.
P.S.: I have zero experience with Delphi, but that doesn't mean I don't have experience with other languages, so please do bear with me as I attempt to grasp the first thing about Delphi: Compiling and running an app.
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25791 Location: The netherlands
|
Posted: Sat May 28, 2011 6:55 am Post subject: |
|
|
If you don't NEED the xmplayer (it's only used in the trainer generator and only when you choose to let it play a xm audio file), don't bother compiling it. (if you do, install the 32-bit lazarus)
Just compile the CheatEngine project (lpr / lpi files)
you need lazarus 0.9.29 or later
and sometimes you might get the notification that a .lrs file might be missing. If that happens, press f12 to show the form, move the form that pops up a bit around and save.
As for 5.6.1: Use delphi 7 enterprise for that
_________________
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 |
|
 |
Deathspike How do I cheat?
Reputation: 0
Joined: 28 May 2011 Posts: 7
|
Posted: Sat May 28, 2011 11:47 am Post subject: |
|
|
I've been playing with Lazarus IDE now and found the project file for Cheat Engine 6.1. Getting stabbed in the face with an error 'LCLBase (>= 1.0.1 failed to load)', though. I hate having to ask IDE specific questions here, but unfortunately this open source project seems unpopular and rather unpopulated, I cannot find the required information to get this up and running. What would be a solution for this?
I just ignored the error for now, but I guess it was there for a reason as well. Now I'm getting bombarded with wrong type arguments and non found identifiers. I recall you posting something about DWORD_PTR compilation issues being a bug in the IDE, so I've changed some to DWORD instead. However, I can't find a (possible) workaround for a missing identifier 'PInstProp'. I bet that's related to the missing package..
Any additional information would be highly appreciated.
P.S.: This is a clean installation of Lazarus 0.9.30.
EDIT: That post might have been premature, you posted getting a daily snapshot to solve certain issues. Trying that now (in case you get around to this post before I'm done with that).
EDIT #2: Well, it compiled. What magic! Thanks for the help
|
|
Back to top |
|
 |
besimbicer Newbie cheater
Reputation: 0
Joined: 13 Jan 2008 Posts: 12
|
Posted: Sat Jul 30, 2011 9:44 am Post subject: |
|
|
death how to compiled help me
my error 'LCLBase (>= 1.0.1 failed to load)'
|
|
Back to top |
|
 |
13 I post too much
Reputation: 0
Joined: 24 Apr 2007 Posts: 4603
|
Posted: Sat Jul 30, 2011 12:56 pm Post subject: |
|
|
I had that problem with Lazarus 0.9.30 as well. Download the 0.9.31 daily snapshot and it should solve that error.
___________________
Edit:
While trying to compile a clean copy, I encountered the another error after dealing with the LCLBase error mentioned above.
Code: | frmStructPointerRescanUnit.pas(64,4) Fatal: Can't open include file "frmStructPointerRescanUnit.lrs" |
I was unable to find frmStructPointerRescanUnit.lrs, I was not able to find the frmStructPointerRescanUnit form anywhere, so I couldn't "move it around slightly then save it" as was advised in another one of DB's posts.
Edit2:
Figured it out with DB's instructions in this post: Here
Everything's compiled nicely.
Edit3:
Some problems I've run into on the latest CE source [07.30.2011] consists of Cheat Engine crashing when you you try to click on a menu item from any window. (I also have this problem when compiling CE6.0 from the official download page as well. Is this a problem for everyone, or is it just me?)
A range check error when changing the process that cheat engine attaches to in settings
|
|
Back to top |
|
 |
SantaS How do I cheat?
Reputation: 0
Joined: 19 Nov 2011 Posts: 5
|
Posted: Wed Nov 23, 2011 12:24 pm Post subject: |
|
|
i'm trying compile CE with lazarus daily snapshot as you but i got following error
C:\Programmi\lazarus\components\codetools\codetoolsconfig.pas(69,15) Error: There is no method in an ancestor class to be overridden: "TCodeBufXMLConfig.ReadXMLFile(out TXMLDocument,const AnsiString);"
C:\Programmi\lazarus\components\codetools\codetoolsconfig.pas(70,15) Error: There is no method in an ancestor class to be overridden: "TCodeBufXMLConfig.WriteXMLFile(TXMLDocument,const AnsiString);"
any idea???
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25791 Location: The netherlands
|
Posted: Wed Nov 23, 2011 12:53 pm Post subject: |
|
|
Make sure you use the latest snapshot of lazarus with a 2.5.x fpc version
If that doesn't work, try waiting a few days and then get the new lazarus build (This error comes from a problem inside the source of the lazarus version you have installed)
tip: go to %localappdata% and delete the lazarus folder before reinstalling
_________________
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 |
|
 |
SantaS How do I cheat?
Reputation: 0
Joined: 19 Nov 2011 Posts: 5
|
Posted: Thu Nov 24, 2011 9:23 am Post subject: |
|
|
thanks this helped a bit but i'm sorry to bother here still : now it return
disassemblerviewunit.pas(134,60) Error: Cannot access a private field of an object here
:/
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25791 Location: The netherlands
|
Posted: Thu Nov 24, 2011 2:09 pm Post subject: |
|
|
This is the sourcecode from the svn trunk?
No idea, when I get back I'll check out the latest lcl/fpc build to see if they changed the rules again
Assuming it is the property popupmenu you can comment that out for 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 |
|
 |
SantaS How do I cheat?
Reputation: 0
Joined: 19 Nov 2011 Posts: 5
|
Posted: Thu Nov 24, 2011 2:15 pm Post subject: |
|
|
Yeah i tried already comment that but many other mistakes get out....i took it from svn yes when you know something about please let me know thanks
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25791 Location: The netherlands
|
Posted: Thu Nov 24, 2011 6:13 pm Post subject: |
|
|
When you reinstalled lazarus, did you make SURE that you deleted the lazarus folder in the %localappdata% folder before installing ?
Daily snapshot, 0.9.31, FPC 2.5.1 ( http://www.hu.freepascal.org/lazarus/ )
Compiled fine for me
_________________
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 |
|
 |
SantaS How do I cheat?
Reputation: 0
Joined: 19 Nov 2011 Posts: 5
|
Posted: Thu Nov 24, 2011 7:38 pm Post subject: |
|
|
yes i'm sure i deleted it i'll try tomorrow again download lazarus ans ce from svn
|
|
Back to top |
|
 |
|