ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Aug 23, 2017 9:32 pm

All times are UTC




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Help decompile a exe
PostPosted: Mon Mar 13, 2017 4:16 pm 

Joined: Tue Feb 14, 2017 5:38 am
Posts: 12
So i got my hands on this one tool where you can compile scripts for a game and im trying to get the code in the executable. But when i try and get a decompiler and decompile the program it says not supported. Is there anyway i can get the source code? Btw the decompiler i used was JetBrains- dotpeak


Top
   
 Post subject: Re: Help decompile a exe
PostPosted: Mon Mar 13, 2017 4:49 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 6459
You need for sure provide more information and what type of output you are expecting.
If your target is really having the original source code then you are 100% wrong :)
If you want some snippets of code (like some functions) then it's ok.

It's also important what's the language on which has been programmed the program, for example for .NET go with
http://ilspy.net/, for Flash https://www.free-decompiler.com/flash/, and so on.
For all the other executables:
- REC http://www.backerstreet.com/rec/rec.htm
- plugin for IDA: https://github.com/yegord/snowman
- Boomerang (not suggested): http://boomerang.sourceforge.net/
Obviously those are the free solutions.


Top
   
 Post subject: Re: Help decompile a exe
PostPosted: Tue Mar 14, 2017 1:05 am 
User avatar

Joined: Sat Dec 27, 2014 8:49 pm
Posts: 91
Parody wrote:
So i got my hands on this one tool where you can compile scripts for a game and im trying to get the code in the executable. But when i try and get a decompiler and decompile the program it says not supported. Is there anyway i can get the source code? Btw the decompiler i used was JetBrains- dotpeak


dotPeek is specific to .NET IL languages such as C#/Vb.NET and similar. If the program is coded in something else (C/C++/Delphi/ASM/etc.) then it will not work. You should first determine what language the program is coded in to determine the best route to take in terms of disassembling and getting some form of readable code back. If the program is not done in a higher level language such as a managed language like C# or similar, then you are not going to have any tools available to get the full source code back since none exist to fully decompile a lower level language such as C or C++.

_________________
My personal site: http://atom0s.com
Donations can be made via Paypal: Click Here


Top
   
 Post subject: Re: Help decompile a exe
PostPosted: Tue Mar 14, 2017 2:18 am 

Joined: Tue Feb 14, 2017 5:38 am
Posts: 12
The tool is a compiler for xsc/csc files for a game called gta 5. I got the source code (i think). So there is an option that lets you open a script and it opens a folder to select a file. The tool creates a folder called "www" and when you try and drag or copy to desktop it says folder not found. But i compressed into a zip and it worked. So idk if its the actual source. Now im just trying to figure out how to decompile any script with xsc or csc file. Xsc is for xbox and csc is for ps3. When I try and decompile a script it gives me an error with a missing opcode which idk what it means


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC


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 post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited