mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-17 05:44:08 -07:00
This adds optional support for loading the YAML reflection data using `libyaml`, which is faster than PyYAML's pure Python implementation.
16 lines
421 B
Markdown
16 lines
421 B
Markdown
# Instructions
|
|
|
|
- Install Python 3 and the Python dependencies
|
|
|
|
```sh
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
- Install `glslc` and spirv-tools 2023+ (the easiest way is to install Vulkan SDK)
|
|
- For improved performance you may also install [libyaml](https://github.com/yaml/libyaml)
|
|
|
|
- Run the compile.py script
|
|
|
|
```sh
|
|
python compile.py path-to-folder-with-input-mods mod-output-path rules-path
|
|
```
|