forked from mirrors/0ad
f2bef8388a
This explicitly uses UTF-8 encoding when reading or writing files with Python. This is necessary as the default locale varies between operating systems.
Instructions
Install python 3 and the python dependencies
pip install -r requirements.txt
Install glslc and spirv-tools 2023+ (the easiest way is to install Vulkan SDK)
Run the compile.py script
python compile.py path-to-folder-with-input-mods mod-output-path rules-path