View previous topic :: View next topic |
Author |
Message |
penguinwars How do I cheat? Reputation: 0
Joined: 07 Jun 2014 Posts: 8
|
Posted: Sat Jun 07, 2014 1:44 pm Post subject: Cant compile cheat engine |
|
|
New member here. I am trying to compile cheat engine source code 6.2. I just downloaded lazarus and when I compile I get the following errors:
frmStringMapUnit.pas(74,49) Error: Identifier not found "TAvgLvlTreeNodeMemManager"
frmStringMapUnit.pas(74,49) Error: Error in type definition
frmStringMapUnit.pas(85,1) Fatal: There were 2 errors compiling module, stopping
Someone please help me, I have no clue what I am doing and just need to change a few minor things to get this to run with certain games. BTW, is cheatengine.lpi the solution name? I only know c and c++. I appreciate all the help I can get.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sat Jun 07, 2014 2:20 pm Post subject: |
|
|
you need lazarus 0.9 to compile that sourcecode, or else just fix it(the memmanager for treenodes was removed in later versions, so you have to remove it from ce 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 |
|
|
penguinwars How do I cheat? Reputation: 0
Joined: 07 Jun 2014 Posts: 8
|
Posted: Sat Jun 07, 2014 2:57 pm Post subject: download 6.3 source code? |
|
|
Is there any way to download the 6.3 source code? I don't have any experience with what is it Assembly language?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sat Jun 07, 2014 3:19 pm Post subject: |
|
|
do an SVN checkout with date 30/06/2013 from the svn ( http://code.google.com/p/cheat-engine/source/checkout )
_________________
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 |
|
|
penguinwars How do I cheat? Reputation: 0
Joined: 07 Jun 2014 Posts: 8
|
Posted: Sat Jun 07, 2014 3:33 pm Post subject: |
|
|
Well I am not a member so I guess I need to modify the current version.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sat Jun 07, 2014 3:34 pm Post subject: |
|
|
svn (and tools like tortoise svn) have options to check out specific dates. You don't need an account. The anonymous read only access can do that as well
But if you do get the latest svn build (recommended) then you must use the same build of FPC and lazarus as I do, which is an experimental build
go to https://bitbucket.org/reiniero/fpcup/downloads and get fpcup.exe ( or fpcup64.exe if you wish the 64-bit lazarus/fpc)
and then execute
Code: |
fpcup64 --fpcURL=trunk --lazURL=trunk --fpcrevision=27759 --lazrevision=44997
|
or
Code: |
fpcup --fpcURL=trunk --lazURL=trunk --fpcrevision=27759 --lazrevision=44997
|
and then run startlazarus in c:\developer\lazarus
_________________
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 |
|
|
penguinwars How do I cheat? Reputation: 0
Joined: 07 Jun 2014 Posts: 8
|
Posted: Sat Jun 07, 2014 3:44 pm Post subject: |
|
|
Is svn like git, because I have no clue what svn is?
edit- I looked it up and it appears git can be used to clone a svn repo. So I tried and is telling me a bunch of paths do not exist. Can I get the revision number for the date above?
edit- I have followed all of your instructions and have no such filepath on my hdd.
I keep getting errors when running fcup, not sure what is wrong.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun Jun 08, 2014 4:43 am Post subject: |
|
|
I don't have a specific revision number, but check out the changelog till you find that date. (can take a while...)
i'm not sure what you mean with paths missing. Which paths ?
did you run fpcup with the exact parameters I gave above? if you don't it will get the latest revision and they might now always be compilable
also, make sure you have enough diskspace free in c:\ (it goes to c:\development)
_________________
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 |
|
|
penguinwars How do I cheat? Reputation: 0
Joined: 07 Jun 2014 Posts: 8
|
Posted: Sun Jun 08, 2014 10:20 am Post subject: |
|
|
I have successfully cloned the repo only took 3 hours lol. What I mean is, c:development\fcp exists but not c:development\lazarus, I have plenty of diskspace and have entered in parameters exactly. Says some paths don't exist( the command window closes before I can read it all ). I also do not have SVN installed, is that a problem?
|
|
Back to top |
|
|
justa_dude Grandmaster Cheater Reputation: 23
Joined: 29 Jun 2010 Posts: 891
|
Posted: Sun Jun 08, 2014 3:03 pm Post subject: |
|
|
penguinwars wrote: | I have successfully cloned the repo only took 3 hours lol. What I mean is, c:development\fcp exists but not c:development\lazarus, I have plenty of diskspace and have entered in parameters exactly. Says some paths don't exist( the command window closes before I can read it all ). I also do not have SVN installed, is that a problem? |
FPCUP will install Apache SVN in a subdirectory of c:\development if it isn't already present (and despite what the documentation says). There should be one or more logs created (depending on verbosity level) that you can read for a little more information.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on... |
|
Back to top |
|
|
penguinwars How do I cheat? Reputation: 0
Joined: 07 Jun 2014 Posts: 8
|
Posted: Sun Jun 08, 2014 3:43 pm Post subject: |
|
|
Here is my log, I clipped it down a bit.
As you can see, there are several errors, though am not sure how to fix.
[2014-06-08 09:14:15.861 Info] INFO: directory C:\development\fpc is not an SVN repository (or a repository with the wrong remote URL).
[2014-06-08 09:14:20.970 Info] DownloadFromSVN: SVN gave error code 1
[2014-06-08 09:14:21.570 Info] Error running fpcup. Technical details: error executing sequence fpc; line: 4, param: FPC
[2014-06-08 09:14:21.770 Info] Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
[2014-06-08 09:14:21.972 Info] 6/8/2014 9:14:21: fpcup finished.
[2014-06-08 09:14:22.173 Info] ------------------------------------------------
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun Jun 08, 2014 3:48 pm Post subject: |
|
|
delete everything in c:\development
then run this in the command prompt
so that it won't see there are already tools installed which might not be compatible after all
and then run this again:
Code: |
fpcup --fpcURL=trunk --lazURL=trunk --fpcrevision=27759 --lazrevision=44997
|
_________________
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 |
|
|
penguinwars How do I cheat? Reputation: 0
Joined: 07 Jun 2014 Posts: 8
|
Posted: Sun Jun 08, 2014 4:08 pm Post subject: |
|
|
It says continue? I type n and it exits. So I launch it again and says same thing and I type set path = and it begins without letting me enter parameters. And then it gets to a point and seems to be doing nothing so I open up task manager and it is taking up 0 percent cpu usage. Maybe it is doing something I am just not sure it is.
|
|
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: Sun Jun 08, 2014 4:25 pm Post subject: |
|
|
@penguinwars
You need TortoiseSVN installed with command line client tool (check that option in installation settings)
Just copy whole script below, paste it to txt file, then change file extension to .cmd (not .cmd.txt)
Code: | @echo off
rem get FPC
svn co -N http://svn.freepascal.org/svn/fpc/trunk/tests@27759 FPCSOURCE\tests
svn co http://svn.freepascal.org/svn/fpc/trunk@27759 FPCSOURCE
rem get binutils
svn co http://fpcbinutils.googlecode.com/svn/trunk/ binutils
cd binutils
7za x -y binutils.7z
rm -f binutils.7z
rm -f 7za.exe
rm -rf .svn
cd ..
set newFPC=%CD%\FPC\2.7.1
set path=%CD%\binutils;%path%
rem compile compiler
cd FPCSOURCE
make all install CROSSCOMPILE=1 OS_TARGET=win64 CPU_TARGET=x86_64 INSTALL_PREFIX=%newFPC%
make all install OS_TARGET=win32 CPU_TARGET=i386 INSTALL_PREFIX=%newFPC%
cd ..
rem files from FPC\2.7.1\bin\i386-win32 are newer
rem cp -u copy only when the SOURCE file is newer
rem than the destination file or when the
rem destination file is missing
cp -u binutils/* FPC/2.7.1/bin/i386-win32
cp -u FPCSOURCE/compiler/ppcrossx64.exe FPC/2.7.1/bin/i386-win32
rem clean it
cd FPCSOURCE
for /F "tokens=1*" %%I in ('svn --no-ignore status') do rm -rf "%%J"
cd ..
rem copy source
md FPC\2.7.1\source
mv FPCSOURCE/packages FPC/2.7.1/source/packages
mv FPCSOURCE/rtl FPC/2.7.1/source/rtl
rem get lazarus
svn co http://svn.freepascal.org/svn/lazarus/trunk@44997 .
rem building lazarus
set path=%newFPC%\bin\i386-win32
rem create fpc.cfg
pushd FPC\2.7.1\bin\i386-win32\
fpcmkcfg.exe -d basepath=%newFPC% -o .\fpc.cfg
popd
make clean all OPT="-O3 -g- -Xs -XX -CX" OS_TARGET=win32 CPU_TARGET=i386
rem remove .svn
rm -rf .svn
rm -rf FPCSOURCE/.svn
rm -rf FPCSOURCE
ECHO the end
ECHO the end
ECHO the end
pause
pause
|
Double click cmd file, wait.
_________________
Last edited by mgr.inz.Player on Sat Dec 27, 2014 7:15 am; edited 3 times in total |
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun Jun 08, 2014 4:33 pm Post subject: |
|
|
or try
Code: |
fpcup --fpcURL=trunk --lazURL=trunk --fpcrevision=27759 --lazrevision=44997 --verbose
|
_________________
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 |
|
|
|