Jump to content

What language?


Recommended Posts

Because MTA is compiled from C++. What you see when you open an executable (.exe) in notepad is plain machine binary code compiled from C++. If MTA was purely Open Source, you could download the source and view it as C++ and eventually compile an .exe yourself. The final version of MTA "blue" will have many parts that are open source even though most of the core parts will remain closed.

Edited by Guest
Link to comment
amm so maybe are some programs who can open program code in c++ ? :)

That's called reverse compiling (aka decompiling). Nothing can convert machine code to good C++ because it's pretty impossible. Reason is that C++ has complex functions converted into simple machine code and there's no way it could reconstruct a C++ compatible source using it. You can convert machine code to assembly though and that's pretty easy, but after all, assembly is nothing but human readable machine code and huge programs decompiled are not easy to read in assembly at all (it would take you ages to understand everything).

Java is an another language compiled to a binary format (not machine code). Java can actually be decompiled back to pretty nice Java code (haha, too bad for the close sourced Java programmers).

Also programs written in assembly (well, pretty few people actually write windows programs in assembly) can be decompiled back to an almost identical assembly code and thus also be easier to understand, but still damn hard.

Link to comment
  • MTA Team
erm... u meant the .exe lol... cant you decompile it in borland or sth??

not really :P :

2. You are not allowed to alter any binaries or libraries that came with the software. This includes, but

is not limited to reverse engineering, decompiling, disassembling and hex editing. An exception can be

made for educational purposes although this requires a new license which has to be requested to and

approved by the MTA team or when such activity is expressly permitted by applicable law

notwithstanding this limitation

*Note: You are not required to accept this License, since you have not signed it (not accepting means

you are not allowed to install/use MTA). However, nothing else grants you permission to modify the

program. These actions are prohibited by law.

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...