OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 12:03 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: please. i need a .exe decompiler.
PostPosted: Sun Nov 24, 2002 3:13 pm 
hi everyone. i wanted to edit street rod. i think if i get a decompiler that can give me the source of the .exe i can edit the game. am i right? well i looked online for a bit and i cant find one. can someone help me out?


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Sun Nov 24, 2002 3:21 pm 
Well...that IS true if you have the compiler's decompiler that MADE the program AND the program is made a debug version ( very most likely not!).

The closest way of seeing it's code is to ask the author, or to disassemble ( see the asm code ) of the program.


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Sun Nov 24, 2002 5:36 pm 
if you want to do disassembling, NASM comes with a disassembler that goes with its assembler. it's a very handy tool.

there is also a hex editor i use called "Hackman" which has a built-in disassembler. it's slow and not really the best there is, but it serves its purpose.

there really aren't any decompilers that are any good. there was one for Visual Basic 3 that i used years ago, and there may be more recent versions of that, but it would be useless to you.

honestly, decompiling a game produces over a hundred thousand lines of code and hundreds (if not thousands) of randomly-named functions and variables al thrown together in a single C file. it's very hard to sort through all that code and make sense of it, much less modify it.


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Mon Nov 25, 2002 10:35 am 
This question sounds familiar. I think I explained to you before that released executables do not store the names of variables or functions and that getting usable source code back from the executable of a large program is difficult if not impossible.


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Mon Nov 25, 2002 10:51 am 
DOS TC++ debug .exe files had the source code in the debug version....


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Mon Nov 25, 2002 11:46 am 
Tom wrote:
DOS TC++ debug .exe files had the source code in the debug version....

Yes, but that feature of the executable format is intended to allow for symbolic debugging; most commercial production releases strip out the symbol table to save space and prevent reverse engineering. It is notable that this is not a standard practice open-source software, because one of the goals is to encourage users to debug the code (and reverse engineering isn't an issue, since the source is already available).

BTW, you may want to check on the laws in your local jurisdiction; there have been some severe laws against reverse engineering (regardless of the purpose) passed of late in several countries, and in the US Gov't in particular is cracking down hard. It may not be worth the trouble and risk to you to do this, even if it's just to fix a bug you found.


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Mon Nov 25, 2002 2:32 pm 
well if i want to see and edit the source of this game, what can i do?


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Mon Nov 25, 2002 2:46 pm 
ask the person(s) who made the game...


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Tue Nov 26, 2002 2:28 pm 
i dont know what ever happened to this company. this game was like from 88 and 90. i think the companies dead. anything else i can do?


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Tue Nov 26, 2002 3:37 pm 
Hack it ( if there are no more copyrights on it ).


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Tue Nov 26, 2002 3:43 pm 
Steps to hacking:

I almost became a hacker...I don't like it now though ( although you can become a hacker and help Linux! ).

I don't remember.

And DON'T LEARN TO HACK!

Once you learn hacking...you start to want to be a bad hacker! [glow=green,2,300]There is a better to find another way to get the source...[/glow]

What programming language is it in? If you WinRar the file to me...I can find out....


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Wed Nov 27, 2002 1:57 pm 
what the hell is WinRar?


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Wed Nov 27, 2002 9:11 pm 
RAR is another compression format, like ZIP, except that they can't be opened with WinZip.


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Thu Nov 28, 2002 2:29 pm 
RAR is an archive format.

Tom, what the heck are you talking about. I don't want to get on a high horse, but the whole AGI community came about because the source was hacked. That's not to say that Peter Kelly or the Russians who created AGDS were attempting anything malicious. They weren't. And what the 4377 do you mean that after a while you want to become a "bad hacker"? Today, it's making up Game Shark codes, tomorrow, it's taking down CERT?

P.S. Often, it's just as easy or easier to create a clone of a game you like. Also, if the genre or format is a familiar or common one, you may be able to find the source to a familiar project somewhere. Check sourceforge and freshmeat, as well as gamelan. You'd be surprised how much info you'll get if you simply type "free game source code" into google.


Top
  
 
 Post subject: Re:please. i need a .exe decompiler.
PostPosted: Thu Nov 28, 2002 3:51 pm 
grey wolf wrote:
if you want to do disassembling, NASM comes with a disassembler that goes with its assembler. it's a very handy tool.

there is also a hex editor i use called "Hackman" which has a built-in disassembler. it's slow and not really the best there is, but it serves its purpose.

there really aren't any decompilers that are any good. there was one for Visual Basic 3 that i used years ago, and there may be more recent versions of that, but it would be useless to you.

honestly, decompiling a game produces over a hundred thousand lines of code and hundreds (if not thousands) of randomly-named functions and variables al thrown together in a single C file. it's very hard to sort through all that code and make sense of it, much less modify it.


I went to the site..what is the actual decompilier that i should donwload?


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 28 guests


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:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group