Jump to content

Home

MSVC/Any compiler not needed for coding?


Commodus

Recommended Posts

Posted

Am I right in thinking that you don't really need Visual C++ or a compiler of any kind to make mods for JO? Because you can already open the .c and .h files with notepad (it doesn't display as gibberish) and you can change them into QVMs simply with the BAT files.

 

Did I get this right or have I missed something out?

Posted

I haven't tested if those files works but i have succeed

to build new QVM files and some unknown MAP files

(those which are in that base/vm folder) without

Visual C++

 

So if those works then i yes... i quess

Posted
Originally posted by Commodus

Am I right in thinking that you don't really need Visual C++ or a compiler of any kind to make mods for JO? Because you can already open the .c and .h files with notepad (it doesn't display as gibberish) and you can change them into QVMs simply with the BAT files.

 

Did I get this right or have I missed something out?

 

Yes, that is correct. You don't need MSVC for this. (Read my "*README* Resources & Help" thread)

Posted

Actually - it should be said that a big advantage in using a proper development program (such as MSVC++) is that you get all the debugging tools. You can place breakpoints, step through the code, examine variable values directly etc.

 

VERY helpful...

Posted

Yes, unless your a genius coder who never makes mistakes, it's only practical to use the batch files for very small mods.

Posted

Well - it's not only for checking for mistakes in the code. The development tools also help you analyze existing code.

 

For example - if I want to find out when a particular part of the code get's run, you can just put a breakpoint in and when that part of the code is run, the game is halted at that exact point and that code line is highlighted.

Then, if you want, you can step through the code line by line - see what execution paths are being followed and examine all the variables involved, see how their changing as the code runs etc etc.

 

The useful-ness of this should not be under-estimated, especially when trying to decipher mysterious code!! :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...