Profs Posted August 26, 2005 Share Posted August 26, 2005 Hello im curious what program language write mta ? how you do things to change in the game plkz antswer me Sorry for my English Link to comment
zerb Posted August 26, 2005 Share Posted August 26, 2005 English its wrote in. Different servers are located in different countrys of the world so like dutch servers will speak dutch while french servers may speak french etc. Link to comment
Profs Posted August 26, 2005 Author Share Posted August 26, 2005 noo you dont undarstand what PROGRAMING language was write mta? and how mta creators made the fings diferent when in real single game Link to comment
ChrML Posted August 26, 2005 Share Posted August 26, 2005 I think he meant programming language. 0.5 and Blue are written in C++. Add-ons / game modes for Blue must also be written using C++. Link to comment
Profs Posted August 26, 2005 Author Share Posted August 26, 2005 but when i opened mta.(i dont rimember good the name of the file ) with notepad the languge was not like c++ why ? Link to comment
Jigga Posted August 26, 2005 Share Posted August 26, 2005 u mean the .scm? it just uses different vars, it's all c++ style Link to comment
ChrML Posted August 26, 2005 Share Posted August 26, 2005 (edited) 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 August 26, 2005 by Guest Link to comment
ChrML Posted August 26, 2005 Share Posted August 26, 2005 Jigga: Sorry Scm is nothing like C++ Link to comment
Profs Posted August 26, 2005 Author Share Posted August 26, 2005 amm so maybe are some programs who can open program code in c++ ? Link to comment
zerb Posted August 26, 2005 Share Posted August 26, 2005 noo you dont undarstand what PROGRAMING language was write mta? and how mta creators made the fings diferent when in real single game Link to comment
Jigga Posted August 26, 2005 Share Posted August 26, 2005 erm... u meant the .exe lol... cant you decompile it in borland or sth?? ChrML, yea, my bad Link to comment
ChrML Posted August 26, 2005 Share Posted August 26, 2005 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 jhxp Posted August 26, 2005 MTA Team Share Posted August 26, 2005 erm... u meant the .exe lol... cant you decompile it in borland or sth?? not really : 2. You are not allowed to alter any binaries or libraries that came with the software. This includes, butis 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
Recommended Posts