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 "Open File" instead of OpenProcess?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
beagle
Cheater
Reputation: 0

Joined: 27 Aug 2014
Posts: 36

PostPosted: Thu Feb 09, 2017 3:07 pm    Post subject: Reply with quote

Sorry to bump.

If i compile that version of cheat engine on github, should openfileasprocess work?

I compiled it and used it to open the 32bit file which works, but it opens it as 64bit assembler. I changed is64bit to false, but it still treats it as 64bit. I then changed the assembler to 32 bit (setAssemblerMode(int): 0=32-bit, 1=64-bit) to get around that, which seems to work.

But my problem is when i write to the file something gets changed that corrupts it (I also have to restart to access the file). When i try and open the .exe windows 10 makes a full screen popup and says "This app can't run on your PC".

I compared the .exe with the original with a hex compare tool and i think it is only changing the bytes that i tell it to, so i'm not sure what is getting corrupted.

I just thought i would ask and see if anyone might know why, but if not ill just wait for the official update before i try anything more.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu Feb 09, 2017 4:09 pm    Post subject: Reply with quote

perhaps the executable is signed. You may have to remove that first. (check for unsigners on google or something)

also, win10 screens sometimes have a secret spot you can click that will show a button that lets you run it anyhow. (e. g a more info link will show it at times)

or get a windows version where you choose yourself what to run

_________________
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
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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