1DOLLY 72PACKAGE zero-ad-data3REQUIRES HOST runtime@045# Build-only: 0 A.D.'s release data as the game reads it here, made from6# Wildfire Games' archive with Dolly's Python, XZ and Naga: the Petra AI patch,7# the SPIR-V shaders translated to WGSL, the content in archives below the8# site's 25 MiB file limit, and the scripts and maps of a game without graphics.9FROM /v0.1.4/Dollyfile-system-tools 7f6c86fcc73e544e7007646eba2718bbc4d43b7f0516d9558e2dc500b1a05a8010USE /v0.1.4/demos/python/Dollyfile-python 3e3b6f083bff4d9be1a817d8fa142378e2c0b492c42998e71977e2c309bdddb311USE /v0.1.4/demos/tools/Dollyfile-xz 97034a7e8088aba5b63ff0a5f8fea7b42e7e44c88c69ea20e23ad165ae1e658d12USE /v0.1.4/demos/rust/Dollyfile-naga 42ad8432a0f4aa9692a8e7bffb2c1221c06830f644763e4b52aab43b2de6b0df13REQUIRES TOOL python314REQUIRES TOOL xz15REQUIRES TOOL naga16REQUIRES TOOL patch17REQUIRES TOOL sha256sum18REQUIRES TOOL grep19REQUIRES TOOL tar20REQUIRES TOOL cat21REQUIRES TOOL rm2223# The release archive in two halves, as one SOURCE holds at most 1 GiB:24# joined, they are the archive whose digest config/source-pins.sh pins.25SOURCE /v0.1.4/dist/static/zero-ad-data/0ad-unix-data.tar.xz.1 114469c71f00fe27827d5b8ca96211a6b0ab115507c13a07efc022a3a9f2d9de /tmp/0ad/data.tar.xz.126SOURCE /v0.1.4/dist/static/zero-ad-data/0ad-unix-data.tar.xz.2 e52b10890c95af42fcad151821d53e403d8a2766d498b60c2cdda6323078a7ec /tmp/0ad/data.tar.xz.227SLOP cat /tmp/0ad/data.tar.xz.1 /tmp/0ad/data.tar.xz.2 | sha256sum | grep -qx 'e844b30ae2102c47e0a4fff2f0e0ef05ba0cebb1890aa72276fa12457c39526f  <stdin>'2829# The scripts beside this recipe in toolchain/, ICU 68.2's data file, and the30# engine's translations and the licences from 0 A.D.'s source release.31SOURCE /v0.1.4/dist/static/zero-ad-data/tools.tar 7210229c262bf9dc91aae9cb9779e58dc93591de793a2051eeb7a5982eec6910 /tmp/0ad-tools.tar32SLOP tar -xf /tmp/0ad-tools.tar -C /33# Python reads the release as it is unpacked and keeps its 3.6 GB of archives34# in its own memory; each half goes once read.35SLOP time slop -c 'cat /tmp/0ad/data.tar.xz.1 && rm /tmp/0ad/data.tar.xz.1 && cat /tmp/0ad/data.tar.xz.2 && rm /tmp/0ad/data.tar.xz.2' | xz -dc | python3 /tmp/0ad-tools/package-data.py /tmp/0ad-source naga /opt/0ad /usr/share/zero-ad/headless-data.tar /usr/share/zero-ad/shaders3637# zero-ad copies /opt/0ad; the engine's tests read the rest.38FOLDER /opt/0ad39FOLDER /usr/share/zero-ad40