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 


Personalizing templates

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
shadel
Advanced Cheater
Reputation: 0

Joined: 19 May 2010
Posts: 52

PostPosted: Sat Sep 18, 2010 6:50 pm    Post subject: Personalizing templates Reply with quote

Can it be done ?
I mean modifying the static structure of the code generated by CE when you do Ctrl+Alt+A > Template > Code injection.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 892

PostPosted: Sun Sep 19, 2010 3:36 am    Post subject: Reply with quote

Check the plugin API. You may be able to implement a hack.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Sep 19, 2010 5:33 am    Post subject: Reply with quote

while a lot is possible with a plugin, this isn't

easiest it just edit frmautoinject.pas and change the script there

_________________
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
shadel
Advanced Cheater
Reputation: 0

Joined: 19 May 2010
Posts: 52

PostPosted: Sun Sep 19, 2010 6:10 am    Post subject: Reply with quote

I can't find that file in the installation directory.
Is it a file to be compiled ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Sep 19, 2010 6:49 am    Post subject: Reply with quote

yeah, you'll have to download the sourcecode, edit and then recompile
_________________
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
shadel
Advanced Cheater
Reputation: 0

Joined: 19 May 2010
Posts: 52

PostPosted: Sun Sep 19, 2010 11:53 am    Post subject: Reply with quote

I tried compiling following these steps :

I have downloaded the Lazarus IDE version 2.4.3 for x64 and installed it.
I cheched out the revision 490 of CE 6 with the latest TortoiseSVN.
I opened cheatengine.lpi in the checkout directory and compiled without modification.

The compiler can't seem to find that file : ServiceDescriptorTables.lrs.
I found a file named ServiceDescriptorTables.lfm and a .pas instead.
What did I do wrong or missed ?

I'm gonna try the 32bit version of Lazarus and CE 5.6
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Sep 19, 2010 7:13 pm    Post subject: Reply with quote

you need the daily snapshot of lazarus

also, because you've installed an older version, before installing the daily snapshot delete c:\users\username\AppData\Local\Lazarus else the compiler settings will be messed up

_________________
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
shadel
Advanced Cheater
Reputation: 0

Joined: 19 May 2010
Posts: 52

PostPosted: Mon Sep 20, 2010 1:44 pm    Post subject: Reply with quote

I don't get it...

The version 2.4.3 looks like the latest version to me but you're telling me that it's older...

In case I was wrong, I downloaded and tried the other links at this site you gave in another post :


So far I tried :
    - Lazarus-0.9.29-27341-fpc-2.4.3-20100920-win64.exe
    - Lazarus-0.9.29-27409-fpc-2.4.3-20100919-win32.exe
    - Lazarus-0.9.28.3-27415-fpc-2.4.0-20100920-win32.exe
    - Lazarus-0.9.29-27409-fpc-2.4.0-20100919-win32.exe


The first three couldn't find the lrs file when compiling and the last couldn't find fpc (which is Free PasCal I presumed).

I made sure to uninstall previous setup between each try and manually delete leftover directories.

I also downloaded some source versions to see if the had the file but couldn't find them with Win7's search engine.

Is that file to be generated or something ?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Sep 20, 2010 2:11 pm    Post subject: Reply with quote

yes the version there is ok
Just delete your c:\users\username\AppData\Local\Lazarus and the install the 0.9.29 version

then build ce and it should work. the .lrs is auto generated based on the .lfm

also, delete the lib folder in the source folder before compiling

_________________
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
shadel
Advanced Cheater
Reputation: 0

Joined: 19 May 2010
Posts: 52

PostPosted: Tue Sep 21, 2010 12:30 pm    Post subject: Reply with quote

I see... There were more deleting to do than I thought sorry.
I'm gonna try right away.

Edit 1 :
I think the problem is that the .lrs isn't generated.
I'm looking into adding ServiceDescriptorTables.lfm somewhere in the project.

Edit 2 :
I tried compiling after renaming entries for ServiceDescriptorTables to sdt.
Now it's sdt.lrs that can't be found T_T.

Edit 3 :
Made it with a workaround : compiled separatedly in new library project and the lrs was generated.
Think it's gonna be ok ?

Edit 4 :
Whoa ! Scan tabs >_>
I was thinking of asking for that but you already added it !

Edit 5 :
To get a proper compilation, I looked into the problem a bit more.
I finally found out : the two files ServiceDescriptorTables.lfm and .pas
really weren't part of the project so we need to open both files and click
Project -> Add to project.
It was so simple... Sorry for all the trouble. Embarassed
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 All times are GMT - 6 Hours
Page 1 of 1

 
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