-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ba1a324
Showing
14 changed files
with
414 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# CheatEngineUpDeluxe | ||
|
||
## Description | ||
It will help to set up FreePascal/Lazarus environment needed for building [Cheat Engine 7.0](https://github.com/cheat-engine/cheat-engine) | ||
|
||
|
||
## Instructions | ||
Download [prepareLazarusEnvAndCE.zip](https://github.com/mgrinzPlayer/CheatEngineUpDeluxe/releases/latest) | ||
|
||
Extract it. You will need at least 2.5GB free space. Installed SVN client is required, be it TortoiseSVN with command line client tools or SlikSVN. | ||
|
||
Launch "prepare Lazarus Env.cmd" | ||
|
||
You have several options to choose from. You can download files from original source or you can download heavily compressed (7zip) files from this repository. | ||
|
||
There is also compiled FreePascal package: FPC 3.2.0, branch: fixes_3_2, revision 42444. | ||
|
||
|
||
<p align="center"> | ||
<img src="https://github.com/mgrinzPlayer/CheatEngineUpDeluxe/raw/master/screenshot.png" /> | ||
</p> | ||
|
||
Launch Lazarus at least once then launch "prepare CE.cmd" | ||
|
||
You can edit some variables like buildmode (release or debug) or cpumode (i386 or x86_64). | ||
|
||
By default it will compile 32 and 64bit CE. You can find executables inside CheatEngine\bin folder. | ||
|
||
To compile other CE componens, launch Lazarus, open lpi file (e.g. vehdebug.lpi) and choose "compile many modes". |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
compiled Free Pascal Compiler version 3.2.0 | ||
branch: fixes_3_2, revision 42444 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
@echo off | ||
|
||
rem check if you have SVN client in path | ||
svn --version 1>nul 2>nul | ||
svn --version 1>nul 2>nul | ||
if not "%errorlevel%"=="0" ( | ||
echo You don't have SVN client in PATH variable. | ||
echo. | ||
echo Suggestion: ^(re^)install TortoiseSVN with comand line client tools | ||
echo or ^(re^)install Slik-Subversion | ||
pause 1>nul 2>nul | ||
goto :EOF | ||
) | ||
|
||
rem 1=32bit, 2=64bit, 3=both | ||
set cpumode=3 | ||
|
||
rem 1=release, 2=debug | ||
set buildmode=1 | ||
|
||
rem 1=clean lib | ||
set clean=1 | ||
|
||
rem 1=fullClean | ||
set fullClean=1 | ||
|
||
set prog=%cd%\lazarus\lazbuild.exe | ||
echo Lazarus path: %prog% | ||
|
||
svn.exe checkout --non-interactive --trust-server-cert -r HEAD "https://github.com/cheat-engine/cheat-engine/trunk/Cheat Engine" CheatEngine | ||
|
||
cd CheatEngine | ||
|
||
if "%fullClean%"=="1" ( | ||
svn revert -R . | ||
svn cleanup --remove-unversioned | ||
svn cleanup --remove-ignored | ||
) | ||
|
||
if "%clean%"=="1" ( rmdir /s /q "lib" 2>nul ) | ||
|
||
if "%buildmode%"=="1" ( set buildmodetext=Buildmode: Release) else ( set buildmodetext=Buildmode: Debug) | ||
if "%clean%"=="1" ( set cleanmodetext=, CleanRelease) | ||
if "%cpumode%"=="1" Title %buildmodetext%%cleanmodetext%, cpumode: Only 32bit | ||
if "%cpumode%"=="2" Title %buildmodetext%%cleanmodetext%, cpumode: Only 64bit | ||
if "%cpumode%"=="3" Title %buildmodetext%%cleanmodetext%, cpumode: 32bit and 64bit | ||
|
||
if "%cpumode%"=="2" goto :cpumode64bit | ||
ECHO. | ||
del /f /q cheatengine.res 2>nul | ||
echo Building project "CheatEngine 32bit" | ||
if "%buildmode%"=="1" ( | ||
%prog% --build-mode="Release 64-Bit" --os=win32 --cpu=i386 cheatengine.lpi > %temp%\lazarusCEBuildLog_32bit.txt) else ( | ||
%prog% --build-mode="debug-nomt 64-bit" --os=win32 --cpu=i386 cheatengine.lpi > %temp%\lazarusCEBuildLog_32bit.txt ) | ||
if %errorlevel% == 0 ( echo Project "CheatEngine 32bit" successfully built & ECHO.) else type %temp%\lazarusCEBuildLog_32bit.txt | ||
ECHO. | ||
if "%cpumode%"=="1" goto :skip | ||
|
||
:cpumode64bit | ||
ECHO. | ||
del /f /q cheatengine.res 2>nul | ||
echo Building project "CheatEngine 64bit" | ||
if "%buildmode%"=="1" ( | ||
%prog% --build-mode="Release 64-Bit" --os=win64 --cpu=x86_64 cheatengine.lpi > %temp%\lazarusCEBuildLog_64bit.txt) else ( | ||
%prog% --build-mode="debug-nomt 64-bit" --os=win64 --cpu=x86_64 cheatengine.lpi > %temp%\lazarusCEBuildLog_64bit.txt ) | ||
if %errorlevel% == 0 ( echo Project "CheatEngine 64bit" successfully built & ECHO.) else type %temp%\lazarusCEBuildLog_64bit.txt | ||
ECHO. | ||
:skip | ||
del /f /q cheatengine.res 2>nul | ||
|
||
pause | ||
pause |
Oops, something went wrong.