|
||
|
|||||||
| Starbucks @ RunUO.com Unmoderated forum for off-topic banter, screen shots, chit-chat and things of this nature. Flames are permitted, and you can pretty much do nearly anything within reason. No advertisements. |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
Um i been wanting to decompile a really old program for its source code so i can re-write it to have some extra features that i believe it needs.
The problem is that the program is no longer updated or worked on, so i figured i could just decompile it and re-write it for myself. So i started Googling for a decompiler that will decompile a .exe to a source code of my choice, preferably .Net VB or .Net C#, so far i have no sucess in finding a free decompiler to decompile the .exe, so i figured i might as well post here and ask if anyone knows of one that they may use or have used in the past. TIA |
|
|
|
|
#2 (permalink) |
|
Master of the Internet
Join Date: Apr 2005
Location: Nowhere
Age: 22
Posts: 11,653
|
You cannot decompile an exe to get the source code.
__________________
-Socks are great. Ask Radwen. http://www.runuo.com/forums/starbucks-runuo-com/76473-ask-radwen.html |
|
|
|
|
#3 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,824
|
You cannot decompile a C++ exe or dll to get source, you can however decompile a .Net dll or exe into source, but 9 out of 10 times it wont be the same code, and it wont work right.... How about instead of being a cunt and stealing someone elses code, you be original, and write the fucking application yourself. Asshole.
Also, if for any reason you are talking about ConnectUO, go fuck yourself, I just updated it today, and have started working on more updates...hopefully you aren't talking about it, but if you are, you are a cunt....
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
#4 (permalink) | |
|
Forum Expert
|
Quote:
Um why would i decompile connect uo?, razor connects to uo and it isn't ugly and crash prone. |
|
|
|
|
|
#5 (permalink) | |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,824
|
Quote:
Im still guessing it has something todo with UO.
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
#6 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
#7 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,824
|
its prolly written in C++ so you aren't going to get anywhere, write the server from scratch.
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
#11 (permalink) | |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,824
|
Quote:
anyway, yes, different compilers, different language.... but none the less both compile to machine code and cannot be decompiled or viewed in their original state....
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
#13 (permalink) |
|
Forum Novice
Join Date: Jul 2004
Location: Switzerland
Age: 25
Posts: 234
|
So eh... written in C
Then you shouldnt expect anything really useful from a decompiler as nearly every bit of information besides the procedural workflow gets removed/optimized and stripped away when the compiler does it's duty. This means: No comments, no variable names, no macros nor inline-functions. No custom datatypes, No functoin names (except the entrypoint 'main' and perhaps some external functions in shared link libraries) and most likely: lots of ASM instructions. ![]() The produced code doesnt even look like the original code. And if you compile it again, you'll get, probably, something different. ![]() There are lots of decompilers out there. Use a webcrawler to get one that fits your needs. But im pretty sure there's no decompiler for a native PE to managed code, as those languages lack support of ASM instructions. Decompilers need them, as not every bit of machine code can be translated back to a function that would make any sense. And nothing more than translators they are. Think of them like using babelfish. ![]() If you're into added functionality, you should try code-injection rather than decompillation. That way, you dont fuck up the binaries ( hell - debuggung decompillated code), and you dont have to distribute property of the legal owner/creator of the code, which would be an infringement. But this topic is pretty advanced... sorry to say if you don't know the difference between C and C++ then both ways are most likely beyond your abilities.Anyways, it could be a good hint to have decompillated C code procedures to write your very own server. But even that is miles away from Copy/Pasteable code. Good luck. |
|
|
|
|
#16 (permalink) |
|
Master of the Internet
Join Date: Dec 2005
Age: 20
Posts: 12,927
|
There's no such thing as overreacting when Alex21 is involved. Consider it along the lines of the straw that broke the camel's back. As far as Jeff's educated guess about cuo, its most likely accurate, as Alex21 has expressed desire to do that in the past. So it's not just a random accusation.
|
|
|
|
|
#17 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,824
|
cant take the heat, get the fuck out of the kitchen. oh, and have a nice day.
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
#18 (permalink) |
|
Newbie
Join Date: Jan 2005
Age: 22
Posts: 69
|
Just out of interest, Jeff, how do you think the applications powering the shards which your app links to were created? Don't get me wrong, I know the RunUO team are clever, but I doubt the packet descriptions came to them in a dream. Same for Krioss' client and its handling of graphics, sound, and other UO datafiles.
You sure are uppity about reverse engineering for somebody whose claim to fame is an app built on private server emulators. |
|
|
|
|
#19 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
#21 (permalink) | |
|
Forum Expert
|
Quote:
, and we havn't really though of making a client yet, with razor to compete with why bother. |
|
|
|
|
|
#22 (permalink) | |
|
Master of the Internet
|
Quote:
__________________
![]() Now open - uo15.net - The best in Publish 15 emulation |
|
|
|
|
|
#24 (permalink) |
|
Forum Expert
|
I like how much easier it is to play on a custom shard with CUO.
But Razor is great for no custom shards and macros. Plus all the other things one can do with it.
__________________
Rose: You think you're so impressive. The Doctor: I am so impressive! Rose: You wish. |
|
|