Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Compile CE 6?
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source
View previous topic :: View next topic  
Author Message
CJB_
Cheater
Reputation: 2

Joined: 19 Apr 2010
Posts: 45
Location: The Netherlands

PostPosted: Mon Apr 19, 2010 12:53 pm    Post subject: Compile CE 6? Reply with quote

Hi there DB,

Is there a possibility to compile CE 6 with the current source through svn?
If so how is it done, I can already compile CE 5.6 rev333
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Mon Apr 19, 2010 1:38 pm    Post subject: Reply with quote

get the daily snapshot of lazarus and compile it with that ( http://www.hu.freepascal.org/lazarus/ get lazarus+fpc)

I myself use rev 23661 with some minor fixes but I believe the latest version will work too

tip: edit C:\lazarus\fpc\2.4.1\bin\x86_64-win64\fpc.cfg and comment out the last parameter (-vxxxx) else compiling will take a long time

_________________
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
View user's profile Send private message MSN Messenger
CJB_
Cheater
Reputation: 2

Joined: 19 Apr 2010
Posts: 45
Location: The Netherlands

PostPosted: Tue Apr 20, 2010 2:46 am    Post subject: Reply with quote

Thanks for the very fast reply DB, its working great Very Happy

EDIT:
How can I compile it for 32bit, it compiles for 64bit by default now.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Tue Apr 20, 2010 9:19 am    Post subject: Reply with quote

Download the 32-bit version of lazarus and install that

Problem is that I don't think you can install 2 versions of lazarus at the same time so you'll have tio choose if you use the 32-bit or 64-bit one. (I solved it by installing the 32-bit lazarus in a vmware system)

I myself mainly work on and use the 64-bit version though

_________________
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
View user's profile Send private message MSN Messenger
ratucabul
How do I cheat?
Reputation: 0

Joined: 24 Jun 2009
Posts: 4

PostPosted: Mon Jun 07, 2010 11:07 am    Post subject: Reply with quote

i try compile this source but it seems can not read the memory, i think it must be connected with kernel (.sys), or dbk32.dll (source 5.x) i've error message when tried to open process.

i wanna ask if CE 6.0 is not completed yet?? i mean .sys and dbk32.dll still not implented which is the main func (Ce 5.x) coz without this file i cannot access the memory or open process games online i want to cheat XD...






ps : sorry 4 my bad english.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Mon Jun 07, 2010 2:05 pm    Post subject: Reply with quote

It will take a looong time before it's done.
Also, try implementing the dbk32 stuff yourself, it shouldn't be that hard (if you're not using 64-bit)

_________________
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
View user's profile Send private message MSN Messenger
Bluesun
How do I cheat?
Reputation: 0

Joined: 16 Jul 2010
Posts: 6

PostPosted: Fri Jul 16, 2010 12:28 am    Post subject: Reply with quote

I figured I might as well post in this thread...

I downloaded the source for 6.0 and I'm trying to compile it with Lazarus. The error I'm getting is in frmstacktraceunit

Quote:

frmstacktraceunit.pas(70,3) Error: Identifier not found "IMAGE_FILE_MACHINE_AMD64"
frmstacktraceunit.pas(71,41) Error: Identifier not found "IMAGE_FILE_MACHINE_I386"


The offending lines (69 and 71) are referencing those two variables (which I am assuming are constants), but a quick search shows that they are not declared anywhere in the source.

Am I being an idiot? I've been poking around with this for awhile now. In all honestly, all I really want is a decently working version of 6.0 for the x64 capabilities Very Happy

Top notch work, DB. Not that this matters much, but I definitely plan on donating once I have a bit of cash to go around.

Thanks in advance for any replies, sarcastic or not!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Fri Jul 16, 2010 3:07 am    Post subject: Reply with quote

download an updated version of lazarus from here:
http://www.hu.freepascal.org/lazarus/

tip, seeing you probably downloaded an older version first: Before installing delete your c:\users\username\AppData\Local\lazarus folder first

_________________
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
View user's profile Send private message MSN Messenger
Bluesun
How do I cheat?
Reputation: 0

Joined: 16 Jul 2010
Posts: 6

PostPosted: Fri Jul 16, 2010 9:24 am    Post subject: Reply with quote

Dark Byte wrote:
download an updated version of lazarus from here:
<can't post URL's yet apparently>

tip, seeing you probably downloaded an older version first: Before installing delete your c:\users\username\AppData\Local\lazarus folder first


Thank you, I'll try that later tonight Smile.
Back to top
View user's profile Send private message
Bluesun
How do I cheat?
Reputation: 0

Joined: 16 Jul 2010
Posts: 6

PostPosted: Fri Jul 16, 2010 6:51 pm    Post subject: Reply with quote

Dark Byte wrote:
download an updated version of lazarus from here:
<no linkz for me>

tip, seeing you probably downloaded an older version first: Before installing delete your c:\users\username\AppData\Local\lazarus folder first


That was the issue, thank you very much Smile. It compiled quickly

I'm still getting incorrect (i.e. missing) scan results with 64 bit applications, though. Is the 64 bit scan capability incomplete? I'm testing it with Minesweeper (Win7 x64), and I'm not able to find any of the values.

The new memory viewer is very nice, though!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Sat Jul 17, 2010 4:43 am    Post subject: Reply with quote

download the 64-bit version of lazarus. Only that can create a 64-bit exe of cheat engine.
( you must run cheatengine-x86_64.exe , not cheatengine-i386.exe)

as for minesweeper: the time in seconds is stored as a float, not 4 byte like in xp (and you may want to use the pause process option in advanced options to be able to scan 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
View user's profile Send private message MSN Messenger
Bluesun
How do I cheat?
Reputation: 0

Joined: 16 Jul 2010
Posts: 6

PostPosted: Sat Jul 17, 2010 5:40 pm    Post subject: Reply with quote

Dark Byte wrote:
download the 64-bit version of lazarus. Only that can create a 64-bit exe of cheat engine.
( you must run cheatengine-x86_64.exe , not cheatengine-i386.exe)

as for minesweeper: the time in seconds is stored as a float, not 4 byte like in xp (and you may want to use the pause process option in advanced options to be able to scan for that)


I read your earlier post about Lazarus x64 - I made sure that's the one that I downloaded. The compiled executable is "cheatengine-x86_64".

The case with Minesweeper: I was doing a scan "value between" and value type of "All (byte to double)", and I got nothing. Now that I've scanned specifically for a float (also using "value between"), I get a result...very strange.

(EDIT: Trying it again just now, it works (type of All Byte to Double)...which makes no sense, as I tried it several times previously. Sorry for wasting your time with user error!).

Now that I have the address, however, doing a "find out what accesses/writes this address" scan does not work (no results). If you mentioned this somewhere else, I apologize beforehand.

Sorry for asking so many questions -- I love CE, I just need it for x64 >_<. I realize 6.0 is in Alpha, I'm just trying to get a good feel for what works and what does not.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Sat Jul 17, 2010 7:40 pm    Post subject: Reply with quote

what might have caused the idea that it didn't find anything is because the first entry in found address list isn't updating, so if it only found one, (e.g 20) it would still say 20 after 5 seconds (this is a lazarus bug that I have to file a bugreport for or circumvent manually)

as for not finding anything with find what accesses/writes, no idea, it works for me. (it finds minesweeper.exe+2b75b)
in settings->extra try to explicitly set that you use the windows debugger (assuming you haven't compiled the vehdebug dll yet)

Try running the exe without the lazarus debugger (else it might not have the required access rights needed)

anyhow, if it doesn't work, before attaching to minesweeper, go to memory view->view->debug events, and then attach, confirm the list is at least filled with a create process and create thread

also, after enabling the option to find what writes it, check memory view->view->breakpoint list , and confirm that the address is correct

_________________
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
View user's profile Send private message MSN Messenger
Bluesun
How do I cheat?
Reputation: 0

Joined: 16 Jul 2010
Posts: 6

PostPosted: Mon Jul 19, 2010 7:51 pm    Post subject: Reply with quote

Dark Byte wrote:
what might have caused the idea that it didn't find anything is because the first entry in found address list isn't updating, so if it only found one, (e.g 20) it would still say 20 after 5 seconds (this is a lazarus bug that I have to file a bugreport for or circumvent manually)

as for not finding anything with find what accesses/writes, no idea, it works for me. (it finds minesweeper.exe+2b75b)
in settings->extra try to explicitly set that you use the windows debugger (assuming you haven't compiled the vehdebug dll yet)

Try running the exe without the lazarus debugger (else it might not have the required access rights needed)

anyhow, if it doesn't work, before attaching to minesweeper, go to memory view->view->debug events, and then attach, confirm the list is at least filled with a create process and create thread

also, after enabling the option to find what writes it, check memory view->view->breakpoint list , and confirm that the address is correct


Thank you very much for getting back to me so quickly each time; I know you don't owe me anything, so you have my sincere gratitude.

I got the "find what writes/accesses" feature to work. Your suggestion of changing the setting to "use Windows debugger" was the issue. It's very hard troubleshooting an application when you're not overly familiar with its inner workings!

Thanks again.
Back to top
View user's profile Send private message
SER[G]ANT
Expert Cheater
Reputation: 10

Joined: 29 Dec 2005
Posts: 215
Location: Russia

PostPosted: Sun Aug 08, 2010 5:04 pm    Post subject: Reply with quote

rev443
Code:

MainUnit.lrs(117,3) Error: Illegal expression
MainUnit.lrs(117,7) Error: Illegal expression
MainUnit.lrs(117,9) Fatal: Syntax error, "]" expected but "." found


P.S. Lazarus-0.9.29-27028-fpc-2.4.3-20100808-win32.exe

_________________
rzndsa
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites