Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive > Starbucks @ RunUO.com

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
Old 07-04-2008, 02:03 AM   #1 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 17
Posts: 1,334
Send a message via MSN to Alex21
Post A Good Decompiler?

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
Alex21 is offline  
Old 07-04-2008, 02:07 AM   #2 (permalink)
Master of the Internet
 
Radwen's Avatar
 
Join Date: Apr 2005
Location: Nowhere
Age: 23
Posts: 11,652
Default

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
Radwen is offline  
Old 07-04-2008, 02:26 AM   #3 (permalink)
ConnectUO Creator
 
Join Date: Jan 2004
Age: 29
Posts: 6,071
Default

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 - Creator/Core Developer
ConnectUO Swag/Merchandise

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
Jeff is offline  
Old 07-04-2008, 02:34 AM   #4 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 17
Posts: 1,334
Send a message via MSN to Alex21
Default

Quote:
Originally Posted by Jeff View Post
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....
Isn't the purpose of a decompiler to understand how something works? And i didn't mean source code, i ment like the procedures etc to get an idea of how it handles being communicated with over the internet with out fucking packet sniffing, I do not have the time to do it from scratch.

Um why would i decompile connect uo?, razor connects to uo and it isn't ugly and crash prone.
Alex21 is offline  
Old 07-04-2008, 02:38 AM   #5 (permalink)
ConnectUO Creator
 
Join Date: Jan 2004
Age: 29
Posts: 6,071
Default

Quote:
Originally Posted by Alex21 View Post
Isn't the purpose of a decompiler to understand how something works? And i didn't mean source code, i ment like the procedures etc to get an idea of how it handles being communicated with over the internet with out fucking packet sniffing, I do not have the time to do it from scratch.

Um why would i decompile connect uo?, razor connects to uo and it isn't ugly and crash prone.
No decompiling is for fucking cunts, why dont you go read some whitepapers, or a book and learn just like every other respectable programmer... Or... here is a thought, ask questions to ppl who might know how to do something....dont be a fucking idiot, dont decompile someone elses hard work, its rude and wrong....

Im still guessing it has something todo with UO.
__________________
Jeff Boulanger
ConnectUO - Creator/Core Developer
ConnectUO Swag/Merchandise

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
Jeff is offline  
Old 07-04-2008, 02:47 AM   #6 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 17
Posts: 1,334
Send a message via MSN to Alex21
Default

Quote:
Originally Posted by Jeff View Post
No decompiling is for fucking cunts, why dont you go read some whitepapers, or a book and learn just like every other respectable programmer... Or... here is a thought, ask questions to ppl who might know how to do something....dont be a fucking idiot, dont decompile someone elses hard work, its rude and wrong....

Im still guessing it has something todo with UO.
Nothing to do with UO, just an outdated fps shooter which has no hack protection, i was going to re-write the server and introduce some kind of anti-hack code, i also want it to produce reports and handle console commands.
Alex21 is offline  
Old 07-04-2008, 02:49 AM   #7 (permalink)
ConnectUO Creator
 
Join Date: Jan 2004
Age: 29
Posts: 6,071
Default

Quote:
Originally Posted by Alex21 View Post
Nothing to do with UO, just an outdated fps shooter which has no hack protection, i was going to re-write the server and introduce some kind of anti-hack code, i also want it to produce reports and handle console commands.
its prolly written in C++ so you aren't going to get anywhere, write the server from scratch.
__________________
Jeff Boulanger
ConnectUO - Creator/Core Developer
ConnectUO Swag/Merchandise

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
Jeff is offline  
Old 07-04-2008, 02:53 AM   #8 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 17
Posts: 1,334
Send a message via MSN to Alex21
Default

Quote:
Originally Posted by Jeff View Post
its prolly written in C++ so you aren't going to get anywhere, write the server from scratch.
Its written in C
Alex21 is offline  
Old 07-04-2008, 02:55 AM   #9 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 17
Posts: 1,334
Send a message via MSN to Alex21
Default

Is there a difference between C and C++?
Alex21 is offline  
Old 07-04-2008, 02:58 AM   #10 (permalink)
Forum Master
 
DontdroptheSOAD's Avatar
 
Join Date: Apr 2003
Location: Manchester, NH
Age: 21
Posts: 6,835
Default

Quote:
Originally Posted by Alex21 View Post
Is there a difference between C and C++?
Absolutely none, they are exactly the same things, they just added the ++ to appeal to the younger crowd.
DontdroptheSOAD is online now  
Old 07-04-2008, 02:59 AM   #11 (permalink)
ConnectUO Creator
 
Join Date: Jan 2004
Age: 29
Posts: 6,071
Default

Quote:
Originally Posted by DontdroptheSOAD View Post
Absolutely none, they are exactly the same things, they just added the ++ to appeal to the younger crowd.
hahahahahahaha

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 - Creator/Core Developer
ConnectUO Swag/Merchandise

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
Jeff is offline  
Old 07-04-2008, 04:52 AM   #12 (permalink)
Forum Expert
 
J MaNN's Avatar
 
Join Date: Apr 2006
Location: ┬MeDiNa, OhIo┬
Age: 21
Posts: 1,317
Default

Quote:
Originally Posted by DontdroptheSOAD View Post
Absolutely none, they are exactly the same things, they just added the ++ to appeal to the younger crowd.
lol, owned.
__________________
J MaNN is offline  
Old 07-04-2008, 06:15 AM   #13 (permalink)
Ray
Forum Novice
 
Join Date: Jul 2004
Location: Switzerland
Age: 26
Posts: 234
Default

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.
Ray is offline  
Old 07-04-2008, 12:57 PM   #14 (permalink)
Newbie
 
Join Date: Nov 2007
Age: 28
Posts: 81
Default

Wow no wonder the runuo forums are known as an unfriendly place.
Talk about overreacting...
Amy- is offline  
Old 07-04-2008, 01:05 PM   #15 (permalink)
Master of the Internet
 
Anti-Basic's Avatar
 
Join Date: Dec 2005
Posts: 13,307
Default

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.
__________________
Quote:
Originally Posted by David View Post
Rats! I was fingered!
Anti-Basic is offline  
Old 07-04-2008, 04:17 PM   #16 (permalink)
ConnectUO Creator
 
Join Date: Jan 2004
Age: 29
Posts: 6,071
Default

Quote:
Originally Posted by Amy- View Post
Wow no wonder the runuo forums are known as an unfriendly place.
Talk about overreacting...
cant take the heat, get the fuck out of the kitchen. oh, and have a nice day.
__________________
Jeff Boulanger
ConnectUO - Creator/Core Developer
ConnectUO Swag/Merchandise

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
Jeff is offline  
Old 07-04-2008, 04:32 PM   #17 (permalink)
Newbie
 
Sleepy Char's Avatar
 
Join Date: Jan 2005
Age: 24
Posts: 70
Default

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.
Sleepy Char is offline  
Old 07-04-2008, 05:50 PM   #18 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 17
Posts: 1,334
Send a message via MSN to Alex21
Default

Quote:
Originally Posted by Anti-Basic View Post
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.
where have i showed the intention, source?
Alex21 is offline  
Old 07-04-2008, 06:07 PM   #19 (permalink)
Master of the Internet
 
Anti-Basic's Avatar
 
Join Date: Dec 2005
Posts: 13,307
Default

Quote:
Originally Posted by Alex21 View Post
where have i showed the intention, source?
You mean the link that got deleted for advertising, where you wanted people to check out your "UO Connect" Website? Gee that name sounds awfully familiar...
__________________
Quote:
Originally Posted by David View Post
Rats! I was fingered!
Anti-Basic is offline  
Old 07-04-2008, 07:04 PM   #20 (permalink)
Forum Expert
 
Alex21's Avatar
 
Join Date: Jul 2007
Location: Australia, Queensland, Sunshine Coast
Age: 17
Posts: 1,334
Send a message via MSN to Alex21
Default

Quote:
Originally Posted by Anti-Basic View Post
You mean the link that got deleted for advertising, where you wanted people to check out your "UO Connect" Website? Gee that name sounds awfully familiar...
that is a website i started from scratch, and since the name offended you guys, it was changed to join uo, and the graphics are being re-done, ty for all the feedback in that thread btw, it now does almost everything the CUO website does it just doesn't look as good , and we havn't really though of making a client yet, with razor to compete with why bother.
Alex21 is offline  
Old 07-04-2008, 07:13 PM   #21 (permalink)
Master of the Internet
 
Anti-Basic's Avatar
 
Join Date: Dec 2005
Posts: 13,307
Default

I don't think he fully understands the difference between those two programs
__________________
Quote:
Originally Posted by David View Post
Rats! I was fingered!
Anti-Basic is offline  
Old 07-04-2008, 09:03 PM   #22 (permalink)
Forum Novice
 
Rosetta's Avatar
 
Join Date: May 2007
Location: In the Trees =]
Age: 34
Posts: 980
Send a message via AIM to Rosetta
Default

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.
Rosetta is offline  
Old 07-05-2008, 04:05 AM   #23 (permalink)
Account Terminated
 
Join Date: Feb 2005
Age: 20
Posts: 6,929
Send a message via AIM to MrBrightside Send a message via Skype™ to MrBrightside
Default

Quote:
Originally Posted by DontdroptheSOAD View Post
Absolutely none, they are exactly the same things, they just added the ++ to appeal to the younger crowd.
rofl
MrBrightside is offline  
Old 07-05-2008, 05:46 PM   #24 (permalink)
Forum Expert
 
Peoharen's Avatar
 
Join Date: Dec 2004
Location: USA
Age: 25
Posts: 1,055
Send a message via Yahoo to Peoharen
Default

Quote:
Originally Posted by Sleepy Char View Post
I know the RunUO team are clever, but I doubt the packet descriptions came to them in a dream.
It did come to them in the form of a dream.

Krrios used to have administrative access on the OSI shards way back when before he was, as I think the story goes, quit. He disagreed with some people and left to make his own client. Why you would create a client or if you already started it, finish it after being fired is beyond me. But, and again as the story goes, RunUO was created for client testing and bloomed into an emulator because the emulators already developed to a point of hosting shards made by lesser beings was inferior to Krrios's packet tester. Anyway, RunUO holds the claim they didn't compile the old server that came with a UO install CD, and they also claim they didn't decompile the other emulators. If this is true outside of encryption removal then all knowledge of the inner workings would have come form Krrios's experience with EA, which I'm sure is illegal in some way, which may be why he does not post often.

If I can dream of code or programming, surely an android we have to talk binary to so he understands us does too.
__________________
The only public SA project on the net: []http://www.orbsydia.ca/index.php[]
Yes, registration is open again.
Peoharen is offline  
Old 07-05-2008, 05:52 PM   #25 (permalink)
Master of the Internet
 
Anti-Basic's Avatar
 
Join Date: Dec 2005
Posts: 13,307
Default

Quote:
Originally Posted by Peoharen View Post
It did come to them in the form of a dream.

Krrios used to have administrative access on the OSI shards way back when before he was, as I think the story goes, quit. He disagreed with some people and left to make his own client. Why you would create a client or if you already started it, finish it after being fired is beyond me. But, and again as the story goes, RunUO was created for client testing and bloomed into an emulator because the emulators already developed to a point of hosting shards made by lesser beings was inferior to Krrios's packet tester. Anyway, RunUO holds the claim they didn't compile the old server that came with a UO install CD, and they also claim they didn't decompile the other emulators. If this is true outside of encryption removal then all knowledge of the inner workings would have come form Krrios's experience with EA, which I'm sure is illegal in some way, which may be why he does not post often.

If I can dream of code or programming, surely an android we have to talk binary to so he understands us does too.
how could krrios have worked for EA he was like 14 or 15 at the time @_@
__________________
Quote:
Originally Posted by David View Post
Rats! I was fingered!
Anti-Basic is offline  
 

Bookmarks

Tags
decompile, decompiler


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5