View previous topic :: View next topic |
Author |
Message |
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 Apr 01, 2011 5:16 am Post subject: |
|
|
Dark Byte wrote: | I'd rather change it to addfile(cheatenginedir+'win32\dbghelp.dll','win32'); so it gets extracted to the win32 folder when ran |
Revision 825:
file extracted as win32dbghelp.dll, folder win32 is empty.
I think this line should be like this:
addfile(cheatenginedir+'win32\dbghelp.dll','win32\');
tested.
_________________
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Fri Apr 01, 2011 5:56 am Post subject: |
|
|
fixed it, but in the extractor path
_________________
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 |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Tue Aug 16, 2011 12:36 am Post subject: |
|
|
The script does not work.
First, I get this:
Quote: | something is wrong, place autobuild folder inside "cheat engine 6"
Press any key to continue . . .
The system cannot find the batch label specified - EOF |
Then, I had to dig your script to find out that the script actually has to be at this location:
Code: | C:\CE6.SVN\Cheat Engine\cheat engine 6\autobuild.cmd |
I put it to the right place and I ran it again, only to get this:
Quote: | The system cannot find the file C:\TMP\lazarusuninstallkey.txt.
Lazarus path not found.
Press any key to continue . . .
The system cannot find the batch label specified - EOF |
This is where I give up.
Windows 7 x64 SP1
Lazarus-0.9.31-31991-fpc-2.5.1-20110816-win32
I installed Lazarus to default dir, with default settings, fixed the two obvious installer bugs, too:
1. "Error: fpc.cfg is missing."
Apparently, they missed it from the installer.
Created default config file like this:
Code: | fpcmkcfg -d "basepath=C:\lazarus\fpc\2.5.1" -o C:\lazarus\fpc\2.5.1\bin\i386-win32\fpc.cfg |
2. Selected the right directory for FPC sources:
Code: | c:\LAZARUS\fpc\2.5.1\source\ |
Lazarus works, your script unfortunately does not.
If you have the time, please have a look and fix it.
Thank you!
|
|
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: Tue Aug 16, 2011 2:42 pm Post subject: |
|
|
OK, I'll look at this.
Edit:
@Csimbi
Launch "regedit", go there HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Search for key named Lazarus at the beginning.
I have "Lazarus_is1", maybe you have "Lazarus_is2"? Anyway you can try this:
1) uninstall all Lazarus instances
2a) delete C:\Users\[yourwindowsaccount]\AppData\Local\lazarus
2b) delete all Lazarus_is* in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
3) install lazarus. "Lazarus-0.9.31-31976-fpc-2.4.4-20110816-win64" or "Lazarus-0.9.31-31991-fpc-2.4.4-20110816-win32"
Btw. I tested both lazarus version (win64 and win32; FPC2.4.4)
@DarkByte
What is better? fpc-2.4.4 or fpc-2.5.1? I'm using 2.4.4
_________________
|
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Tue Aug 16, 2011 4:28 pm Post subject: |
|
|
mgr.inz.Player wrote: | OK, I'll look at this.
Edit:
@Csimbi
Launch "regedit", go there HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
Search for key named Lazarus at the beginning.
I have "Lazarus_is1", maybe you have "Lazarus_is2"? |
There's no Lazarus at all there.
mgr.inz.Player wrote: | Anyway you can try this:
1) uninstall all Lazarus instances
2a) delete C:\Users\[yourwindowsaccount]\AppData\Local\lazarus
2b) delete all Lazarus_is* in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
3) install lazarus. "Lazarus-0.9.31-31976-fpc-2.4.4-20110816-win64" or "Lazarus-0.9.31-31991-fpc-2.4.4-20110816-win32" |
Uninstalled 32bit and installed 64bit:
Lazarus-0.9.31-31976-fpc-2.4.4-20110816-win64
Same result.
mgr.inz.Player wrote: | Btw. I tested both lazarus version (win64 and win32; FPC2.4.4)
@DarkByte
What is better? fpc-2.4.4 or fpc-2.5.1? I'm using 2.4.4 |
DB told me to use 2.4 as 2.5 throws errors (won't let CE be compiled).
CE compiles with this but your script still would not run.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25295 Location: The netherlands
|
Posted: Tue Aug 16, 2011 4:31 pm Post subject: |
|
|
Quote: |
What is better? fpc-2.4.4 or fpc-2.5.1? I'm using 2.4.4
|
2.5.1 is 'better', but the ce sourcecode is still based on 2.4.4 (it makes use of one ugly dirty trick, accessing a private variable in another class, but can easily be changed)
recently lazarus has updated the way they store stuff, could be related...
not sure if %localappdata%\lazarus still contains the settings
_________________
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: Tue Aug 16, 2011 4:43 pm Post subject: |
|
|
Csimbi wrote: |
mgr.inz.Player wrote: | Search for key named Lazarus at the beginning.
I have "Lazarus_is1", maybe you have "Lazarus_is2"? | There's no Lazarus at all there. |
Weird. It must be there!
And my script depends on it.
I uninstalled all. Cleaned C:\Users\[yourwindowsaccount]\AppData\Local\lazarus
Checked HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall, there wasn't lazarus_is1.
Installed lazarus (32bit) again. Checked uninstall key (lazarus_is1 was there). Downloaded cheat engine via tortoisesvn (revision 1009). Moved autobuild folder (with autobuild.cmd file inside). So from the top there are: .svn, allochook, autobuild, bin, ceserver, compilersettings, ........... folders.
Double clicked on autobuild.cmd . Everything went smoothly.
BTW. my lazarus path is "C:\testtestautobuildtesttest\lazarus"
@Dark Byte. Ok, thanks.
_________________
Last edited by mgr.inz.Player on Tue Aug 16, 2011 5:33 pm; edited 1 time in total |
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Tue Aug 16, 2011 5:02 pm Post subject: |
|
|
Nope, nothing.
Installed Lazarus-0.9.31-31991-fpc-2.4.4-20110816-win32 to check.
Same result.
Last edited by Csimbi on Tue Aug 16, 2011 5:43 pm; edited 1 time in total |
|
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: Tue Aug 16, 2011 5:12 pm Post subject: |
|
|
Try this:
http://fxtoolzz.republika.pl/autobuild_manual.rar
You must set path manually
Code: | rem set path to lazbuild.exe
set prog="C:\lazarus\lazbuild.exe" |
to
Code: | rem set path to lazbuild.exe
set prog="X:\mypath_lazarussomething\lazbuild.exe" |
_________________
|
|
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
|
|
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: Wed Aug 14, 2013 11:15 am Post subject: |
|
|
I found out a way to cross compile (32bit and 64bit CE) with Lazarus on Win7 64bit.
Steps:
- uninstall any existing Lazarus
- download lazarus-1.0.10-fpc-2.6.2-win32
- download lazarus-1.0.10-fpc-2.6.2-win64
- install lazarus-1.0.10-fpc-2.6.2-win32 into C:\CrossLazarus
- choose "Delete all user configuration ...." option
- go to C:\CrossLazarus\fpc\2.6.2\bin
- rename "i386-win32" folder to "i386-win32 LOCK"
- go to C:\CrossLazarus\fpc\2.6.2\units
- rename "i386-win32" folder to "i386-win32 LOCK"
- uninstall 32bit Lazarus, do not remove anything from C:\CrossLazarus
- install lazarus-1.0.10-fpc-2.6.2-win64 into C:\CrossLazarus
- choose "Delete all user configuration ...." option
- go to C:\CrossLazarus\fpc\2.6.2\bin
- rename "i386-win32 LOCK" folder to "i386-win32"
- go to C:\CrossLazarus\fpc\2.6.2\units
- rename "i386-win32 LOCK" folder to "i386-win32"
- inside C:\CrossLazarus open environmentoptions.xml
find x86_64-win64
and replace with $(TargetCPU)-$(TargetOS)
- extra step - to be perfectly sure, delete lazarus folder inside C:\Users\{username}\AppData\Local\
Now you have Lazarus with both compilers (32 and 64). Add "C:\CrossLazarus" to your system variable PATH.
Graphical Lazarus will compile to 64bit by default.
I'm using this when I want to compile 64bit CE:
Code: | lazbuild.exe --os=win64 --cpu=x86_64 cheatengine.lpi |
and this for 32bit:
Code: | lazbuild.exe --os=win32 --cpu=i386 cheatengine.lpi |
_________________
|
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Wed Aug 14, 2013 2:24 pm Post subject: |
|
|
I think I will give this a try (but not right now) - thanks!
|
|
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: Tue Mar 25, 2014 10:05 pm Post subject: |
|
|
How to cross compile (32bit and 64bit CE) with Lazarus on WinXP or Win7
Steps:
- uninstall any existing Lazarus
- download lazarus-1.0.14-fpc-2.6.2-win32.exe
- download fpc-2.6.2.x86_64-win64.exe
- install lazarus-1.0.14-fpc-2.6.2-win32.exe into C:\CrossLazarus
- choose "Delete all user configuration ...." option
- install fpc-2.6.2.x86_64-win64.exe into C:\CrossLazarus\fpc\2.6.2
- add "C:\CrossLazarus" to your system variable PATH
- done
use this to compile 32bit CE:
lazbuild.exe --os=win32 --cpu=i386 cheatengine.lpi
or just this (default is i386)
lazbuild.exe cheatengine.lpi
use this to compile 64bit CE:
lazbuild.exe --os=win64 --cpu=x86_64 cheatengine.lpi
_________________
|
|
Back to top |
|
|
Csimbi I post too much Reputation: 94
Joined: 14 Jul 2007 Posts: 3110
|
Posted: Wed Mar 26, 2014 3:50 pm Post subject: |
|
|
Thanks for the update!
|
|
Back to top |
|
|
podstanar Advanced Cheater Reputation: 4
Joined: 02 May 2012 Posts: 82 Location: Flatland
|
|
Back to top |
|
|
|