the add-ons

veadotube supports a simple add-on system! by adding veadotube add-ons in the form of .zip files into the .veadotube/addons folder of your user directory or the addons folder next to the veadotube executable, veadotube will load them and use them throughout the program.

the only useful type of add-on right now is language packs. with scripting support arriving in the future, you’ll also be able to create custom nodes through add-ons.

below are the allowed file types inside a .zip add-on file:

string files

files that follow the pattern filename.lang.txt are detected as string files. these are loaded by veadotube to show localized strings to the user. lang is a code in the IETF language tag standard, so english for example is en. the rest of the file name does not have any influence.

you can see what these files can look like by checking the text folder next to the veadotube executable! these are the default languages supported by veadotube. languages are only listed on the language dropdown menu if there’s a LANGUAGE key right on top of any of the string files (in the text folder or .zip add-on) with the language name.

you can straight up put your .txt files in the text folder, although doing it through .zip add-ons is fancier and can be carried across different versions of veadotube.

font files

you can put font files (any format as long as it’s supported by FreeType) inside your .zip add-on, to add support for characters that veadotube doesn’t support by default. we recommend going with Noto Sans for fallback fonts.

icon files

images in .png format are loaded as icons that can be used in text and node menus. they follow the same format as strings, so an image called nodes.bitmap.png would provide an icon for the bitmap node category, for example.

if the image name ends in +sdf.png, it is loaded as an SDF texture where the red channel denotes alpha. +sdf2.png also works, where the green channel is alpha and the red channel is whether it’s black or white.

if the image name ends in +20.png, this icon is used at 20px. this is valid for other numbers as long as they’re multiples of 4, starting at 20, which is 1x UI scale. SDF textures can look good starting at 1.5x, so normally you’d only need a 20px, a 24px, and an SDF one.