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 


Open File/OpenFileAsProcess: Byte Scanning Not Working (6.7)

 
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: Tue Sep 12, 2017 1:59 pm    Post subject: Open File/OpenFileAsProcess: Byte Scanning Not Working (6.7) Reply with quote

When i use 32Bit CE 6.7 to search an .exe (using open file, not open process) for any string of bytes, it wont find it. Then when i switch to 64bit CE, it will find the bytes, but only if i change the end range of the search from "7FFFFFFFFFFFFFFF" to "7FFFFFFF."

I noticed this when i was testing out Openfileasprocess, and my lua AOBscans werent finding anything. Even when using 32Bit CE, Openfileasprocess seems to treat the .exe as 64bit because the memory search end range changes from "7FFFFFFF" to "7FFFFFFFFFFFFFFF" after opefileasprocess opens the file.

Here is the lua code i am working with:
Code:

function OpenFile()
dialog = createOpenDialog(self)
dialog.Title = "Select File"
dialog.InitalDir = os.getenv('%USERPROFILE%')
dialog.DefaultExt=".exe"
dialog.Options ='[ofEnableSizing]'
if dialog.execute() == false then return end
FileName= dialog.FileName
dialog.destroy()
openFileAsProcess(FileName,false)
print('test a')
version = AOBScan("00")
if (version ~= nil) then
print('test b ')
end
end
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Tue Sep 12, 2017 2:12 pm    Post subject: Reply with quote

it's a known issue and already fixed in the source
_________________
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
beagle
Cheater
Reputation: 0

Joined: 27 Aug 2014
Posts: 36

PostPosted: Tue Sep 12, 2017 2:18 pm    Post subject: Reply with quote

oh ok thanks
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 Lua Scripting 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