mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-16 05:13:58 -07:00
With v3.12.0 shfmt changed the behavior of the `--simplify` option to ignore any EditorConfig when it's provided. Therefore, this option is now moved to the EditorConfig as suggested by the shfmt author. See https://github.com/mvdan/sh/issues/1173 for details. |
||
|---|---|---|
| .. | ||
| tests | ||
| compile.py | ||
| generate_rules.py | ||
| get-nightly-shaders.sh | ||
| merge_rules.py | ||
| README.md | ||
| requirements.txt | ||
Instructions
-
Install Python 3 and the Python dependencies
pip install -r requirements.txt -
Install
glslcand spirv-tools 2023+ (the easiest way is to install Vulkan SDK) -
For improved performance you may also install libyaml
-
Run the compile.py script
python compile.py path-to-folder-with-input-mods mod-output-path rules-path