Dev Tools v25.1.4
This is a suite of development tools for creating Vircon32 games and programs. This version includes 2 main changes:
- It adds a new tool: "joinpngs", to join multiple images into a single texture and generate its region editor project.
- Introduces 2 new arguments for both assembler and compiler:
- With option -g they will output an additional file with debug info for the generated program.
- With option --debugmode they will create additional files detailing the result of their internal stages, like the compiler's AST tree.
Note that nesting method that joinpngs uses is not very advanced. It should work well in most cases, but it is possible that sometimes it can't find a solution for a group of images that should all fit into a single texture.
In addition to those, there are also some other changes:
- Because of joinpns, the required C++ version to build the tools from source now changes from C++11 to C++17.
- Added support for character literals in the assembler, using notation 'A', and escaped as '\'' or '\x41'.
- Fixed a compiler bug: type consistency was not being checked in declarations of extern variables.
- Fixed a typo in compiler's math.h header: in function atan2, the names of the arguments x and y were swapped. However this was just a naming issue. The inner workings of atan2 did not change.
- Fixed a bug in wav2vircon: output sound was not always being created correctly if inputs had sample rates different from the default 44100 Hz.
How to install:
You should first install the Vircon32 emulator if you don't have it yet. That will already take care of the dependencies, and you will need it to test your programs anyway. After that, choose from the files below to install the Vircon32 development tools on Windows, Linux or MacOS. Depending on your operating system, the process to prepare the developemnt tools for use will be different:
Windows:
Just extract the ZIP into any folder.
Linux:
Install the DEB or RPM package (depending on your system) using the corresponding commands.
DEB:
Install package: sudo dpkg -i
RPM:
sudo yum localinstall
How to execute:
These programs are command line tools, so you will probably want to add the dev tools folder to your execution path, so that game build scripts can find the respective commands (compile, assemble, etc...)