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.5/Dollyfile-system-tools 39e8ad7c80d06b7a0c420bbeaae2e6b2423e7e633d38640e82d72a73c20e232a10USE /v0.1.5/demos/python/Dollyfile-python 5909c3743aee62ae30b4bc1bfc3b0b221ac5458e2ed4dfb4b6767d8b072fc9ea11USE /v0.1.5/demos/tools/Dollyfile-xz 81e23252e1f473a7ea097b4c0cd9fcd460af14ab79499417ce8bdcac5b33061e12USE /v0.1.5/demos/rust/Dollyfile-naga 6b471b1a619fb1d1100eed590043f392d5b630f99a3f9cf04b31c727347f459713REQUIRES 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.5/dist/static/zero-ad-data/0ad-unix-data.tar.xz.1 114469c71f00fe27827d5b8ca96211a6b0ab115507c13a07efc022a3a9f2d9de /tmp/0ad/data.tar.xz.126SOURCE /v0.1.5/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.5/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