View previous topic :: View next topic |
Author |
Message |
get52 How do I cheat?
Reputation: 0
Joined: 05 Feb 2014 Posts: 3
|
Posted: Wed Feb 05, 2014 9:58 am Post subject: How to keep cheatengine from writing in my documents |
|
|
I see a folder called My Cheat Tables how do I keep it from writing that file to the my documents?
Last edited by get52 on Fri Feb 07, 2014 10:01 am; edited 1 time in total |
|
Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Wed Feb 05, 2014 12:06 pm Post subject: |
|
|
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.
_________________
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Wed Feb 05, 2014 1:52 pm Post subject: |
|
|
Hardcoded
_________________
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25793 Location: The netherlands
|
Posted: Wed Feb 05, 2014 1:58 pm Post subject: |
|
|
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 |
|
 |
get52 How do I cheat?
Reputation: 0
Joined: 05 Feb 2014 Posts: 3
|
Posted: Fri Feb 07, 2014 12:37 pm Post subject: |
|
|
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 |
|
 |
faizangmc Expert Cheater
Reputation: 0
Joined: 12 Nov 2013 Posts: 167
|
Posted: Fri Feb 07, 2014 12:58 pm Post subject: |
|
|
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 |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Fri Feb 07, 2014 4:48 pm Post subject: |
|
|
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 |
|
 |
Gniarf Grandmaster Cheater Supreme
Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Fri Feb 07, 2014 8:39 pm Post subject: |
|
|
...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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25793 Location: The netherlands
|
Posted: Fri Feb 07, 2014 8:46 pm Post subject: |
|
|
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 |
|
 |
get52 How do I cheat?
Reputation: 0
Joined: 05 Feb 2014 Posts: 3
|
Posted: Mon Feb 10, 2014 2:45 pm Post subject: |
|
|
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 Halp im tired of manually deleteing this folder
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Mon Feb 10, 2014 3:10 pm Post subject: |
|
|
What? You still use CE 6.1 ?
Above Lua script is for CE6.3
_________________
|
|
Back to top |
|
 |
|