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 


Cheatengine problem with file handling

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

Joined: 27 Apr 2018
Posts: 33
Location: pakistan

PostPosted: Sat Jun 08, 2019 6:24 pm    Post subject: Cheatengine problem with file handling Reply with quote

I am trying to make a tool that loads some files and write data to memory through them, used file handling for that. Everything works fine only if I generate trainer as .CETRAINER but when I generate as .exe it creates the files in temp folder which can be accessed through win+r>%temp%, and after I close the .exe those temp files gets removed, and when I use .CETRAINER format the files gets created in root directory permanently. This is not a problem until I dont want my trainer to be .exe format. Pilis help if I done anything wrong
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jun 08, 2019 11:19 pm    Post subject: Reply with quote

delete the files yourself when you're done with them.
The exe trainer deletes *.* but for cetrainer that"s not an option

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

Joined: 27 Apr 2018
Posts: 33
Location: pakistan

PostPosted: Sun Jun 09, 2019 1:02 am    Post subject: Reply with quote

Dark Byte wrote:
delete the files yourself when you're done with them.
The exe trainer deletes *.* but for cetrainer that"s not an option

Actually, I want to keep those files with trainer in .exe, im making a teleport hack that stores 10 locations, I will be thank full to you if you provide me some solution for it,I mean anything that I can do yo stop .exe trainer from deleting those files, if not possible then its ok.
Thanks
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Jun 09, 2019 1:21 am    Post subject: Reply with quote

extract your files to TrainerOrigin , not to the cheatengine dir
_________________
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


Last edited by Dark Byte on Sun Jun 09, 2019 4:18 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
Thunder_Bird
Cheater
Reputation: 0

Joined: 27 Apr 2018
Posts: 33
Location: pakistan

PostPosted: Sun Jun 09, 2019 1:52 am    Post subject: Reply with quote

Dark Byte wrote:
extract your files to trainerOrigin, not to the cheatengine dir
how to do that? I mean how can I change the extraction path?

Edit: Lol TrainerOrigin is a variable hhh
I was thinking something else
@Darkbyte, Thanks man it worked
Lock the and mark as solved if necessary


Last edited by Thunder_Bird on Sun Jun 09, 2019 4:19 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sun Jun 09, 2019 4:18 am    Post subject: Reply with quote

look at how you write your files.
look for getCheatEngineDir() and replace it with TrainerOrigin

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

Joined: 27 Apr 2018
Posts: 33
Location: pakistan

PostPosted: Sun Jun 09, 2019 4:20 am    Post subject: Reply with quote

Dark Byte wrote:
look at how you write your files.
look for getCheatEngineDir() and replace it with TrainerOrigin
once again thanks, solved.
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