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 to keep cheatengine from writing in my documents

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

Joined: 05 Feb 2014
Posts: 3

PostPosted: Wed Feb 05, 2014 9:58 am    Post subject: How to keep cheatengine from writing in my documents Reply with quote

I see a folder called My Cheat Tables how do I keep it from writing that file to the my documents? Question

Last edited by get52 on Fri Feb 07, 2014 10:01 am; edited 1 time in total
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Wed Feb 05, 2014 12:06 pm    Post subject: Reply with quote

I am not sure if there is a setting for that but why is it a problem. CE saves the cheat tables in that folder and is pretty convenient.

You can debug CE and stop it from writing that folder if the folder keeps coming back after you delete it. Shouldn't be too hard, just do a search for that folder in string refs. Or recompile CE with that removed.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Wed Feb 05, 2014 1:52 pm    Post subject: Reply with quote

Hardcoded
_________________
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Feb 05, 2014 1:58 pm    Post subject: Reply with quote

Add a lua script to the autorun folder of ce which deletes that folder on execution
_________________
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
get52
How do I cheat?
Reputation: 0

Joined: 05 Feb 2014
Posts: 3

PostPosted: Fri Feb 07, 2014 12:37 pm    Post subject: Reply with quote

Dark Byte wrote:
Add a lua script to the autorun folder of ce which deletes that folder on execution


How do I get Lua to delete the folder and also where is autorun?
Back to top
View user's profile Send private message
faizangmc
Expert Cheater
Reputation: 0

Joined: 12 Nov 2013
Posts: 167

PostPosted: Fri Feb 07, 2014 12:58 pm    Post subject: Reply with quote

get52 wrote:
Dark Byte wrote:
Add a lua script to the autorun folder of ce which deletes that folder on execution


How do I get Lua to delete the folder and also where is autorun?


Here,

C:\Program Files\Cheat Engine 6.3\autorun

if u installed in c drive
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Fri Feb 07, 2014 4:48 pm    Post subject: Reply with quote

Code that will remove this folder every time:
Code:
pathDelete="C:\\Users\\Admin\\Documents\\My Cheat Tables"
io.popen('rmdir "'..pathDelete..'"'):close()

(it will remove folder only, if it is empty)


Force CT files path:
Code:
desiredMyCheatTablesPath="E:\\TablesHerePlease"
getMainForm().SaveDialog1.InitialDir = desiredMyCheatTablesPath
getMainForm().opendialog1.InitialDir = desiredMyCheatTablesPath

--and Lua package search
package.path = package.path..';'..desiredMyCheatTablesPath..'\\?.lua'

(just create folder for CT files wherever you want, and update desiredMyCheatTablesPath)


all \ must be changed to \\

_________________
Back to top
View user's profile Send private message MSN Messenger
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Fri Feb 07, 2014 8:39 pm    Post subject: Reply with quote

...Or plan B: open cheatengine-i386.exe or cheatengine-x86_64.exe with an hex editor (or CE itself) search for the string "My Cheat Tables" and replace it by "My Cheat*Tables". Windows does not allow * in directory names->directory creation fails->hohoho.
_________________
DO NOT PM me if you want help on making/fixing/using a hack.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Fri Feb 07, 2014 8:46 pm    Post subject: Reply with quote

The problem with that is that the kernel functions will refuse to work then on 64-bit uf you're using the signed version of the driver (The signed version checks if the .exe files have a proper signature)
_________________
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
get52
How do I cheat?
Reputation: 0

Joined: 05 Feb 2014
Posts: 3

PostPosted: Mon Feb 10, 2014 2:45 pm    Post subject: Reply with quote

faizangmc wrote:
get52 wrote:
Dark Byte wrote:
Add a lua script to the autorun folder of ce which deletes that folder on execution


How do I get Lua to delete the folder and also where is autorun?


Here,

C:\Program Files\Cheat Engine 6.3\autorun

if u installed in c drive


I went in my cheatengines files (Cheat Engine 6.1) and couldnt find a autorun folder so i created my own and stuck the lua script MGR.player made but it didnt work Sad Halp im tired of manually deleteing this folder Razz
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Mon Feb 10, 2014 3:10 pm    Post subject: Reply with quote

What? You still use CE 6.1 ?


Above Lua script is for CE6.3 Smile

_________________
Back to top
View user's profile Send private message MSN Messenger
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