Once you have followed the setup tutorial for your mod, the next step is compiling it. This is relatively straightforward but requires some initial setup.
It is recommended to have a backup of the Blitz3D binaries before making any modification, if a step is done wrongly.
This is similar to modifying Blitz3D binaries, except that these are declaration files for DLLs that the game uses.
The compiler then uses these declarations to implement the use of the DLLs inside the game's code.
There are two methods of compiling:
As mentioned in the setup tutorial when using IDEal, Blitz3D installation directory should be located at
C:/Program Files/
.
Open the Main.bb
file inside Blitz3D or IDEal.
Then, press F5 to begin the game's compilation.
When using an external IDE, such as Notepad++, the blitzcc.exe
program is used to compile the game.
This requires the following setup:
blitzcc -h
to see if the compiler actually runs without any errors.You can compile with the following command:
blitzcc Main.bb
To generate an executable run the following command:
blitzcc -o Executable_Name.exe Main.bb