ZenHAX
https://zenhax.com/

Help decompile a exe
https://zenhax.com/viewtopic.php?f=11&t=3949
Page 1 of 1

Author:  Parody [ Mon Mar 13, 2017 4:16 pm ]
Post subject:  Help decompile a exe

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

Author:  aluigi [ Mon Mar 13, 2017 4:49 pm ]
Post subject:  Re: Help decompile a exe

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.

Author:  atom0s [ Tue Mar 14, 2017 1:05 am ]
Post subject:  Re: Help decompile a exe

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++.

Author:  Parody [ Tue Mar 14, 2017 2:18 am ]
Post subject:  Re: Help decompile a exe

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

Author:  Defiance [ Fri Dec 07, 2018 9:33 pm ]
Post subject:  Re: Help decompile a exe

Is this for getting the code of gta 5? I’m sorta new to this and I don’t understand everything that’s said.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/