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.
This commit is contained in:
Itms
2024-09-04 17:19:49 +02:00
parent eb499b4c5c
commit 8d0af4b184
4 changed files with 35 additions and 18 deletions
@@ -1,11 +0,0 @@
rem **Download translations from the latest nightly build**
rem **This will overwrite any uncommitted changes to messages.json files**
svn export --force --depth files https://svn.wildfiregames.com/nightly-build/trunk/binaries/data/l10n ..\..\..\binaries\data\l10n
for %%m in (mod public) do (
svn export --force --depth files https://svn.wildfiregames.com/nightly-build/trunk/binaries/data/mods/%%m/l10n ..\..\..\binaries\data\mods\%%m\l10n
)
svn export --force https://svn.wildfiregames.com/nightly-build/trunk/binaries/data/mods/public/gui/credits/texts/translators.json ..\..\..\binaries\data\mods\public\gui\credits\texts\translators.json
@@ -1,5 +0,0 @@
rem **Download SPIR-V shaders from the latest nightly build**
for %%m in (mod public) do (
svn export --force https://svn.wildfiregames.com/nightly-build/trunk/binaries/data/mods/%%m/shaders/spirv ..\..\..\binaries\data\mods\%%m\shaders\spirv
)