|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Viloresi Expert Cheater Reputation: 0
Joined: 02 Feb 2017 Posts: 149
|
Posted: Thu Feb 02, 2017 11:25 am Post subject: |
|
|
mgr.inz.Player wrote: | Lazarus 1.6 plus few applied patches (taken from official Lazarus bug tracker)
Download:
Instruction:
1 extract to folder on C drive, be sure the path doesn't contain non english alphabet and spaces.
2 double click "compile Lazarus.cmd"
3 wait
4 launch lazarus.exe. (should autoconfigure on first start)
Now you can compile newest CE source (taken from GitHub)
Currently Lazarus 1.6.2 is not supported. Plus, Lazarus1.6.2 has a lot of LCL bugs. |
Hello I managed to build cheat engine , but I can't (or atleast don't know) how to build the driver... Every time I start cheat engine a message error pops up saying " You are missing the driver. Try reinstalling cheat engine, and try to disable your anti-virus before doing so."
I've uninstalled the antivirus, so that's not the problem... I guess probably it's because I've to compile some of the dll files in the other source folders? I don't know exactly what I have to compile and what is this "driver"...
Please your help would be much appreciated, and btw good job for this autobuilder.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Thu Feb 02, 2017 11:57 am Post subject: |
|
|
I am assuming you haven't touches ASR or related tools, because if you did, start from scratch.
anyhow,
compile the driver using ce.bat from inside the "windows 7 64-bit checked build environment"
running it from any other command prompt, or even just clicking it WILL NOT WORK
now, assuming you haven't messed with the folder names, ce.bat will copy and rename the compiled dbk.sys file to ..\Cheat Engine\bin\dbk64.sys (if you did rename the folder, adjust the .bat file)
if there have been compile errors, then the driver won't be built. Fix them first.
And don't forget to sign the driver yourself with your business class code signing certificate, or boot windows with unsigned driver support
_________________
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 |
|
|
Viloresi Expert Cheater Reputation: 0
Joined: 02 Feb 2017 Posts: 149
|
Posted: Thu Feb 02, 2017 12:37 pm Post subject: |
|
|
Thank you darkbyte, I did as you said and now it's fine....
But now I'm trying to start the dbvm, but as well I don't know where it's located the bat file to build it :S, or atleast:
When i try to run the dbvm by clicking on:
Help > About > "Your system supports DBVM" > Yes (run)
An error message pops up saying: "I don't know what you did, you didn't crash but you also didn't load DBVM"
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Thu Feb 02, 2017 1:20 pm Post subject: |
|
|
make sure dbvm.img is in the same folder as CE. (I recommend just getting it from the release. Else install linux)
Also, compile cheat engine in release mode. When you compile in debug mode VM support is disabled. (easy check: if the exe file is 10 to 15 MB, it's release mode, if it's 100MB+, it's debug mode)
_________________
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 |
|
|
Viloresi Expert Cheater Reputation: 0
Joined: 02 Feb 2017 Posts: 149
|
Posted: Thu Feb 02, 2017 1:36 pm Post subject: |
|
|
Thank you again, as you said the img file was missing.
Now it's working. (I've copied the img file from the original cheat engine 6.6 relase folder)
Btw I was wondering if it was possible to modify it somehow.... I've seen a modified version of cheat engine, made by some koreans who managed to scan without any detection a very popular game (using the dbvm).
Aniway, thanks.
|
|
Back to top |
|
|
xxhehe Expert Cheater Reputation: 0
Joined: 11 Mar 2015 Posts: 136
|
Posted: Wed Sep 12, 2018 3:23 am Post subject: Re: Autobuild script [CE6, Lazarus, source] |
|
|
mgr.inz.Player wrote: | It builds those projects: CheatEngine, allochook, speedhack, tutorial, vehdebug, standalonephase2, xmplayer.
Shortly, projects which can be compiled with Lazarus (FreePascal)
Compiled files should appear inside "customRelease" directory
AutoBuild script here
https://drive.google.com/uc?export=download&id=0BwMAnE6mjogMR0tucUVxMmwyNGM
1. Download fpc and lazarus. (It is Lazarus + FPC + crosscompiler ):
https://drive.google.com/uc?export=download&id=0BwMAnE6mjogMaEExXzQ0RjhvTUU
It's compressed with 7z. With this package you can compile 32bit and 64bit applications.
(it has cross compiler)
2. Remove C:\Users\{yourprofilename}\AppData\Local\lazarus
3. Extract package, double click "create fpc.cfg now.cmd"
3. Launch startlazarus.exe, it should automatically setup itself
4. Now you can compile 32bit and 64bit CE
5. Lazarus from my package has only 32bit debugger ( gdb.exe and libexpat-1.dll )
If you want 64bit debugger ( gdb.exe and libiconv-2.dll ), download this package:
https://drive.google.com/uc?export=download&id=0BwMAnE6mjogMd2h1RVBBWndhMkU
extract somewhere, then set debugger in Lazarus configuration to use this gdb.exe.
6. Install TortoiseSVN, use this URL to checkout repository:
Code: | https://github.com/cheat-engine/cheat-engine/trunk/Cheat Engine |
7. move AutoBuild script to directory where CE source is, adjust line #3, save, double click it.
8. Compiled files are inside "customRelease" directory |
Code: | Building project "CheatEngine 64bit"
Hint: (lazarus) [RunTool] e:\lazarus\fpc\3.0.2\bin\x86_64-win64\fpc.exe "-iWTOTP"
Hint: (lazarus) [RunTool] e:\lazarus\fpc\3.0.2\bin\x86_64-win64\fpc.exe "-va" "compilertest.pas"
Warning: (lazarus) Duplicate unit "fpcadds" in "LazUtils 1.0", ppu="e:\lazarus\components\lazutils\lib\x86_64-win64\fpcadds.ppu", source="e:\lazarus\components\lazutils\fpcadds.pas"
Warning: (lazarus) Duplicate unit "fpcadds" in "LCLBase 1.6.4", ppu="e:\lazarus\lcl\units\x86_64-win64\fpcadds.ppu", source="e:\lazarus\lcl\fpcadds.pas"
TProject.DoLoadStateFile Statefile not found: E:\cheat-engine\trunk\Cheat Engine\lib\x86_64-win64\cheatengine.compiled
Info: (lazarus) Execute Title="Compile Project, Mode: Release 64-Bit, Target: bin\cheatengine-x86_64.exe"
Info: (lazarus) Working Directory="E:\cheat-engine\trunk\Cheat Engine\"
Info: (lazarus) Executable="e:\lazarus\fpc\3.0.2\bin\x86_64-win64\fpc.exe"
Info: (lazarus) Param[0]="-B"
Info: (lazarus) Param[1]="-Twin64"
Info: (lazarus) Param[2]="-Px86_64"
Info: (lazarus) Param[3]="-Rintel"
Info: (lazarus) Param[4]="-MDelphi"
Info: (lazarus) Param[5]="-Scghi"
Info: (lazarus) Param[6]="-CX"
Info: (lazarus) Param[7]="-O3"
Info: (lazarus) Param[8]="-OoREGVAR"
Info: (lazarus) Param[9]="-g"
Info: (lazarus) Param[10]="-gl"
Info: (lazarus) Param[11]="-Xg"
Info: (lazarus) Param[12]="-Xs"
Info: (lazarus) Param[13]="-XX"
Info: (lazarus) Param[14]="-WG"
Info: (lazarus) Param[15]="-vewibq"
Info: (lazarus) Param[16]="-vn-h-"
Info: (lazarus) Param[17]="-vm5066,5043,4105,4104,3177,3175,2005"
Info: (lazarus) Param[18]="-FiE:\cheat-engine\trunk\Cheat Engine\lib\x86_64-win64"
Info: (lazarus) Param[19]="-Fie:\lazarus\ide\include\win64"
Info: (lazarus) Param[20]="-Fie:\lazarus\images"
Info: (lazarus) Param[21]="-Fie:\lazarus\ideintf\images"
Info: (lazarus) Param[22]="-FuE:\cheat-engine\trunk\Cheat Engine\VEHDebug"
Info: (lazarus) Param[23]="-FuE:\cheat-engine\trunk\Cheat Engine\dbk32"
Info: (lazarus) Param[24]="-FuE:\cheat-engine\trunk\Cheat Engine\lua"
Info: (lazarus) Param[25]="-FuE:\cheat-engine\trunk\Cheat Engine\jvdesign"
Info: (lazarus) Param[26]="-Fue:\lazarus\designer"
Info: (lazarus) Param[27]="-Fue:\lazarus\ide"
Info: (lazarus) Param[28]="-Fue:\lazarus\components\sqldb\lib\x86_64-win64\win32"
Info: (lazarus) Param[29]="-Fue:\lazarus\components\ideintf\units\x86_64-win64\win32"
Info: (lazarus) Param[30]="-Fue:\lazarus\components\synedit\units\x86_64-win64\win32"
Info: (lazarus) Param[31]="-Fue:\lazarus\components\lazcontrols\lib\x86_64-win64\win32"
Info: (lazarus) Param[32]="-Fue:\lazarus\lcl\units\x86_64-win64\win32"
Info: (lazarus) Param[33]="-Fue:\lazarus\lcl\units\x86_64-win64"
Info: (lazarus) Param[34]="-Fue:\lazarus\components\codetools\units\x86_64-win64"
Info: (lazarus) Param[35]="-Fue:\lazarus\components\lazutils\lib\x86_64-win64"
Info: (lazarus) Param[36]="-Fue:\lazarus\packager\units\x86_64-win64"
Info: (lazarus) Param[37]="-FuE:\cheat-engine\trunk\Cheat Engine\"
Info: (lazarus) Param[38]="-FUE:\cheat-engine\trunk\Cheat Engine\lib\x86_64-win64\"
Info: (lazarus) Param[39]="-FEE:\cheat-engine\trunk\Cheat Engine\bin\"
Info: (lazarus) Param[40]="-ocheatengine-x86_64.exe"
Info: (lazarus) Param[41]="-dLCL"
Info: (lazarus) Param[42]="-dLCLwin32"
Info: (lazarus) Param[43]="-WB00400000"
Info: (lazarus) Param[44]="-dbenchmarkps"
Info: (lazarus) Param[45]="-dcemain"
Info: (lazarus) Param[46]="-dNDEBUG"
Info: (lazarus) Param[47]="cheatengine.lpr"
Free Pascal Compiler version 3.0.2 [2017/02/27] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Win64 for x64
(3104) Compiling cheatengine.lpr
(3104) Compiling first.pas
(3104) Compiling betterdllsearchpath.pas
(10001) PPU Loading E:\lazarus\components\lazutils\lib\x86_64-win64\lazutf8.ppu
(10011) PPU Source: lazutf8.pas not found
(10011) PPU Source: lazutils_defines.inc not available
(10011) PPU Source: winlazutf8.inc not available
(10028) Recompiling LazUTF8, checksum changed for FPCAdds
E:\cheat-engine\trunk\Cheat Engine\lazutf8.pas(100,45) Fatal: (10022) Can't find unit LazUTF8 used by Interfaces
Fatal: (1018) Compilation aborted
Error: e:\lazarus\fpc\3.0.2\bin\x86_64-win64\ppcx64.exe returned an error exitcode
Error: (lazarus) Compile Project, Mode: Release 64-Bit, Target: bin\cheatengine-x86_64.exe: stopped with exit code 1
ERROR: failed compiling of project E:\cheat-engine\trunk\Cheat Engine\cheatengine.lpi
|
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Thu Sep 13, 2018 9:34 am Post subject: |
|
|
From what I see, latest CE6.8.1 was compiled with FPC 3.0.5 and probably Lazarus 1.6.4
I do not know what exact Lazarus/FPC snapshot (and/or revision) was used. We have to wait for DarkByte response.
And FPC has a xmlwrite bug (indent buffer problem) since may 2012.
I can upload my current Lazarus/FPC environment (Lazarus 1.6.4 with patches, plus FPC 3.0.4 with xmlwrite fix).
Do you want it?
_________________
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
Posted: Fri Sep 14, 2018 9:46 am Post subject: |
|
|
Digging into the exe shows:
FPC 3.0.5 [2018/05/30] for i386 - Win32
Lazarus LCL: 1.6.4.0 - FPC: 3.0.5
_________________
- Retired. |
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Sep 14, 2018 10:57 am Post subject: |
|
|
You are right.
Code: | cheatengine-x86_64.exe+431681 - 48 8D 05 C86D5500 - lea rax,[cheatengine-x86_64.exe+988450] { ["TLazWriterTiff - Lazarus LCL: 1.6.4.0 - FPC: 3.0.5"] }
cheatengine-x86_64.exe+32B8F4 - 48 8D 15 FD0D5D00 - lea rdx,[cheatengine-x86_64.exe+8FC6F8] { ["TTiffImage - Lazarus LCL: 1.6.4.0 - FPC: 3.0.5"] }
|
And 2018/05/30 is the date when they commit xmlwrite fix.
So, FPC revision 39146, and official Lazarus 1.6.4 plus patches for Lazarus.
EDIT:
FPC trunk revision 39146 has version 3.1.1. Not 3.0.5.
EDIT2:
I think it could be FPC fixes_3_0 branch, taken on 2018/05/30, with xmlwrite patch applied manually.
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25296 Location: The netherlands
|
Posted: Fri Sep 14, 2018 1:59 pm Post subject: |
|
|
yes, fixes 3.0.5 with the xmlwrite patch.
but compiling it with 3.0.4 should just work and you likely would rarely counter the xml bug
_________________
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 |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Sep 15, 2018 9:56 am Post subject: |
|
|
Lazarus164_FPC305.7z (direct link)
https://drive.google.com/open?id=1tdl6dH6ZanT6PBCjY6bHU6RQnBbNQYUI
1. Download above package and extract it. It's compressed with 7zip archiver.
2. open "Lazarus164_FPC305" folder and double click "recreate CFG files.cmd". Important. It will create cfg files which will contain proper paths.
3. Launch lazarus.exe, it should automatically setup itself.
4. Now you can compile 32bit and 64bit CE.
5. Associate lpi file with lazarus.exe.
_________________
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Sep 15, 2018 4:02 pm Post subject: |
|
|
My package already have few fixes for Lazarus 1.6.4
_________________
|
|
Back to top |
|
|
|
|
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
|
|