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 


Get PE File Details

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Sat Dec 21, 2024 4:13 pm    Post subject: Get PE File Details Reply with quote

Is there a possibility to get PE file details like [File description, Product Name, Copyright, ...] using Cheat Engine Lua without the need for external libraries?
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Dec 21, 2024 5:15 pm    Post subject: Reply with quote

No. you'll have to parse the PE file yourself (or invoke the windows API's to get that info using ExecuteCodeLocalEx) to get that detailed information. Not even ce's internal PE header dissector has functions to read those fields out

Any particular reason you want to use that? There may be some other way to get what you need.

_________________
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
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Sat Dec 21, 2024 6:04 pm    Post subject: Reply with quote

Sometimes the PE file name does not match the actual name of the title. And such info can be found in PE properties sometimes.
If there's a way I'm down to try. Sure it involves using Windows APIs. I just want the script to run without the need for external libraries
Back to top
View user's profile Send private message Visit poster's website
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