Posts:
23
Threads:
2
Joined:
30 Sep 2006
Reputation:
Do you know assembly?? As far as I understand, it is pretty much written in that and then converted to machine code.
Posts:
75
Threads:
4
Joined:
3 Sep 2006
Reputation:
Ohh, it is? Well I just need a program to read it in C++ then I guess, right?
Quote:If you realize that all things change, there is nothing you will try to hold on to. If you are not afraid of dying, there is nothing you cannot achieve.
Don't beg for things; Do it yourself, or you'll never get anything.
Posts:
1 773
Threads:
140
Joined:
22 Nov 2004
Reputation:
There is no such thing. You need to know assembly, and there is no way to reprocess it into higher-level code.
Posts:
453
Threads:
11
Joined:
26 Jan 2005
Reputation:
Why not read up on it yourself if you are intertested and decide for yourself if it is too complicated for you to learn or not?
Posts:
1 571
Threads:
16
Joined:
12 Feb 2005
Reputation:
well, why do you think it was years before PD came? its like the hardest language you can learn, and even harder to work backwards. CnCVK is some kind of a genius. PD was pretty bright too.
you know, there is another project going on around here to write a game engine, that project is C++
Posts:
25
Threads:
0
Joined:
28 Jan 2005
Reputation:
Well, if you wrote a perfect AI for doing that, you could (perhaps) make a asm to C++ translator But it would take more time than hacking RA2 into a DirectX 11 engine. Or perhaps at least some basic asm stuff thats used commonly could be detectable and siplified into a "more simple asm".
Posts:
453
Threads:
11
Joined:
26 Jan 2005
Reputation:
Assembly is specific to the processor platform (x86 in this case, 386 and above since its 32bit), its basically a kind of human readable direct representation of machine code... more readable than the binary code anyhow. I'm sure CnCVK or PD could explain some of the finer points, but unless you understand the basics of how to actually write some assembly code to accomplish stuff as you would in a higher level language like C, is there really any point them talking about it?
BTW, I believe there have been attempts to make decompilers that generate something like C code from a compiled binary, but they don't contain a lot of the contextual information or the comments that would have been in the original, making it hard to work out what anything does. A lot of information that is useful to the human writing a program, but not to the computer is stripped when a program is compiled.