Page 1 of 1

Opening GE exes

PostPosted: Sun Aug 26, 2007 10:57 am
by Troodon
Hi,
I've heard that some companies and experts can "open" and view the script of some exe files made by for example Visual Basic. How possible it is to experts to read an exe made by GE? Could someone for example open a file and check a string variable value from it? Or read algorithms from the file and forecast what the program does? Thanks

Re: Opening GE exes

PostPosted: Wed Aug 29, 2007 11:45 pm
by Fuzzy
To know more, you want to research de-compilers, hex editing, code profiling... wikipedia would be a good start.

Re: Opening GE exes

PostPosted: Thu Aug 30, 2007 7:13 pm
by Troodon
But I don't know how GE packs those ged files into exes. Thanks for the keywords by the way, I didn't think about them because english isn't my first language.

Re: Opening GE exes

PostPosted: Fri Aug 31, 2007 10:11 am
by Fuzzy
An exe is an exe, for the most part. there are traces that show what compiler made them though. With modern compilers, they are getting more and more standardized, so it should be harder to determine what langauge was used to create.

I guess what you should know is that the exe only contains part of the data. your operating system doesnt need to keep the names you used for variables and such. You can get a idea for this by comparing the exe to the ged it was made from. the GED should be larger.

Re: Opening GE exes

PostPosted: Fri Aug 31, 2007 7:33 pm
by Troodon
Ok, thanks Pete. :)

Re: Opening GE exes

PostPosted: Sat Sep 01, 2007 4:38 am
by Fuzzy
Its really fun to edit the exes and try to change things though. I used to be pretty good at it as a teen, but with windows and modern OSes, they are a lot more complicated.

Re: Opening GE exes

PostPosted: Tue Sep 11, 2007 7:54 am
by motorollin
When you export your .ged it will be converted to C/C++ code and then compiled in to a binary. If you want to convert it back to code then you would need to look in to a C or C++ decompiler.

Decompilers are often specific to the compiler that created the executable. This is because the examine the platform-specific machine code and translate it back in to readable source code. So you would need to ask Makslane what compiler is used by GE for whichever platform your executable runs on. Assuming he wants to tell you, you could then try to find a decompiler to match.

Even if you can get the executable decompiled, you would end up with C or C++ source code, not a Game Editor .ged file. So unless you know how to programme in C/C++ this would not be very useful to you.

Re: Opening GE exes

PostPosted: Tue Sep 11, 2007 6:16 pm
by Troodon
Well, I wasn't thinking reading exe files myself. I just tought that if I store a solid password inside a exe file, maybe somebody could easily find the password by just putting my exe in C or even in raw binary.

Re: Opening GE exes

PostPosted: Tue Sep 11, 2007 10:15 pm
by Fuzzy
Nope. Otherwise Windows would be open source.

On the other hand, that was the basis for cracking game codes years ago. We had to look up a page in a booklet based on a page number given by the game at start up. That would be checked against a list in the exe or possibly a different file.