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 


How does cheat engine associate tables to games

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
PersonThatCheatsOnGames
How do I cheat?
Reputation: 0

Joined: 25 Sep 2017
Posts: 3
Location: The Netherlands

PostPosted: Mon Sep 25, 2017 5:57 am    Post subject: How does cheat engine associate tables to games Reply with quote

I read that associating tables to games was a thing, but i can't get it to work.
I have all my cheat tables in my default folder. Butwhen i select my game it doesn't ask me to use *that* table.

Do i need specific requirements?
Do i manually have to link them?
What do i have to do?
Also, as a bonus question, does it matter if i select a process or an active application?

Sorry if those were a bunch of questions, i'm still a newbie.
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Mon Sep 25, 2017 6:32 pm    Post subject: Reply with quote

by default when saving a table for a process, CE saves it with the same name of that process.

so when re-opening that process CE checks if there is any table that match the process name.

if a table matched the process name, then it will ask you to load it or not.

when CE is not attached to a process, then you will not find that little window that asks you if you want to load that table.

if you have downloaded a table from somewhere, then make sure to rename it to process name.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
PersonThatCheatsOnGames
How do I cheat?
Reputation: 0

Joined: 25 Sep 2017
Posts: 3
Location: The Netherlands

PostPosted: Tue Sep 26, 2017 4:17 am    Post subject: Reply with quote

Thanks for explaining!

But it still doesn't seem to work for me.

I even made a table for the CE Tutorial, it saved with the name of the process. When restarting CE and selecting the tutorial process, it still didn't ask me to load that associated table.

If i open the load table window, it fills in the process name so theoretically i should only have to press enter to load the correct table, and it does work!

So it's a bit weird why it doesn't check in the first place.

Could a re install help?

(Also, another bonus question: When i manually load a table, it opens the advanced options window. Is that normal?)
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Tue Sep 26, 2017 6:49 am    Post subject: Reply with quote

its weird, i have no idea if re-installing CE will help.
i hope re-installing fix it.
try to clean un-install first, if you decided to re-install.

if advanced options have some saved instruction addresses, then yeah its normal.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
PersonThatCheatsOnGames
How do I cheat?
Reputation: 0

Joined: 25 Sep 2017
Posts: 3
Location: The Netherlands

PostPosted: Tue Sep 26, 2017 7:28 am    Post subject: Solution Reply with quote

I have found the solution!

After reinstalling i wanted to load the cheat table but saw that it was going to: User/Documents/My Cheat Tables.
So i placed some CT's in that folder to test if that worked as i had used another folder to load my CT's from.

Turns out that that is the fix!
I used another folder because i had read something about loading another folder to make that your default one, but i guess that doesn't work for automatically associating tables.

Maybe that could be a suggestion for 6.8.

Anyway, thanks for all the help and stuff.
I appreciate it!
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Tue Sep 26, 2017 4:31 pm    Post subject: Reply with quote

CE is set to use the 'My Cheat Tables' folder inside of your user documents folder for association by default. The tables directory is built when the main directory is obtained:

Code:
function GetCEdir:string;
var
  PIDL: PItemIDList;
  Path: LPSTR;
  AMalloc: IMalloc;
begin
  CheatEngineDir:=ExtractFilePath(application.ExeName);
  result:=CheatEngineDir;

  //blatantly stolen from http://www.scalabium.com/faq/dct0106.htm
  Path := StrAlloc(MAX_PATH);
  SHGetSpecialFolderLocation(0, CSIDL_PERSONAL, PIDL);
  if SHGetPathFromIDList(PIDL, Path) then
    tablesdir := WinCPToUTF8(Path)+'\My Cheat Tables';
  SHGetMalloc(AMalloc);
  AMalloc.Free(PIDL);
  StrDispose(Path);


  if DirectoryExists(tablesdir)=false then
    tablesdir:='';

end;


https://github.com/cheat-engine/cheat-engine/blob/e743f5bca89eec16f47e91aee336f8b295d1e0e8/Cheat%20Engine/CEFuncProc.pas#L2404

You could request that this become an option that is configurable.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Tue Sep 26, 2017 8:41 pm    Post subject: Re: Solution Reply with quote

PersonThatCheatsOnGames wrote:
I have found the solution!

After reinstalling i wanted to load the cheat table but saw that it was going to: User/Documents/My Cheat Tables.
So i placed some CT's in that folder to test if that worked as i had used another folder to load my CT's from.

Turns out that that is the fix!
I used another folder because i had read something about loading another folder to make that your default one, but i guess that doesn't work for automatically associating tables.

Maybe that could be a suggestion for 6.8.

Anyway, thanks for all the help and stuff.
I appreciate it!


that what i forgot to mention, cheat tables default directory is "My Cheat Tables" under my documents.
good that your problem is fixed.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Wed Sep 27, 2017 8:59 am    Post subject: Reply with quote

atom0s wrote:
You could request that this become an option that is configurable.
alternatively you could simply delete the folder in documents and use mklink /d "%userprofile%\Documents\My Cheat Tables" "new/path" (as admin). That's what I do to keep my cheat tables in Dropbox (which is on an external drive even) along with other folders like ce autorun, appdata settings, vimfiles, etc.
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