0ad/source/tools/spirv
Itms 8d0af4b184
Unify Windows scripts for getting nightly binaries
The new script merges existing scripts for downloading translations and
SPIR-V shaders, and also exports game binaries from the latest nightly
build into the git repo.

This allows contributors, especially artists, to obtain a working build
of the game without learning how to build the game for Windows, refs #1814.
2024-09-04 17:20:50 +02:00
..
compile.py Use UTF-8 as encoding when working with files 2024-08-29 07:22:46 +02:00
get-nightly-shaders.sh Fix issues pointed out by shellcheck 2024-08-28 18:23:18 +02:00
README.md Add a markdownlint pre-commit hook 2024-08-27 10:06:31 +02:00
requirements.txt Adds script to generate SPIR-V from GLSL shaders. Refs #6636 2023-05-02 17:31:28 +00:00

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