Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

site: press downloads (screenshots and AI concept art zips) (#426)

Eyal Golan0fc4e59200d5
diff --git a/site/.gitignore b/site/.gitignore
index ddce69b68..f769e76a4 100644
--- a/site/.gitignore
+++ b/site/.gitignore
@@ -1,3 +1,4 @@
node_modules/
dist/
.astro/
+public/downloads/
diff --git a/site/README.md b/site/README.md
index 3f8e00a8a..a9aa6583f 100644
--- a/site/README.md
+++ b/site/README.md
@@ -23,6 +23,7 @@ npm run preview # http://localhost:4321/statecraft-israel/en/
- `src/lib/media.ts`: every image and video the site shows, with its label. The images are read from `docs/images/` and `promo/final/` and converted to AVIF and WebP at build time; they are not copied into `site/`.
- `docs/images/captures.yaml`: the in-engine screenshots. The site's hero and in-engine gallery are the README's `docs/images/build-*.jpg`, described by this file (build, date, title and alt text in both languages; the first entry is the hero). The build fails if a screenshot has no entry or an entry has no file.
- `src/lib/repo.ts`: reads `content/events/`, `ASSETS.yaml` and the event photographs' mapping at build time. The History and Sources pages show that content as it is.
+- `scripts/press-kit.mjs`: the Press page's two downloads, written to `public/downloads/` (git-ignored) at the start of every build and never committed: a zip of the in-engine screenshots from `captures.yaml`, and a zip of the AI concept art in `promo/final/` as full-size JPEG (quality 90), with "AI concept art" in every file name and "AI likeness, not a photograph" in the two with likenesses of real ministers. Each holds a README.txt with the label, licence and provenance of every image, taken from `ASSETS.yaml`.
- `src/data/contributors.yaml`: the Contributors grid. Photos go in `src/assets/contributors/`, each with an `ASSETS.yaml` row and the person's consent. Never a GitHub avatar, never a generated image of a person.
## The gameplay clip
diff --git a/site/package.json b/site/package.json
index ef6cb7dc2..05e65b3b8 100644
--- a/site/package.json
+++ b/site/package.json
@@ -9,7 +9,7 @@
},
"scripts": {
"dev": "astro dev",
- "build": "astro build && node scripts/prune-dist.mjs && node scripts/check-site.mjs",
+ "build": "node scripts/press-kit.mjs && astro build && node scripts/prune-dist.mjs && node scripts/check-site.mjs",
"preview": "astro preview"
},
"dependencies": {
diff --git a/site/scripts/check-site.mjs b/site/scripts/check-site.mjs
index dceeb6682..fdc9f77b0 100644
--- a/site/scripts/check-site.mjs
+++ b/site/scripts/check-site.mjs
@@ -10,10 +10,15 @@
// 7. the contributors page puts each person from contributors.yaml in their group (team, historians and sensitivity
// reviewers, past contributors, with years), and leaves out a group with no one in it. SITE_CONTRIBUTORS, as in
// the build, points at a fixture instead (site/scripts/fixtures/contributors.yaml has one of each).
+// 8. the Press page's two zips (scripts/press-kit.mjs) exist, hold exactly the expected files and a README that names
+// each of them, keep concept art out of the screenshots, carry "AI concept art" in every concept file name
+// (and "AI likeness, not a photograph" in 04 and 08, which the README's first line names), and
+// are linked from the Press page in both languages.
// Run after `astro build` (npm run build does both). Exit 1 with one line per problem.
import fs from 'node:fs';
import path from 'node:path';
import YAML from 'yaml';
+import { plan, zipEntries, zipRead, CONCEPT_TAG, LIKENESS_TAG } from './press-kit.mjs';
const dist = path.resolve(process.argv[2] ?? 'dist');
const problems = [];
@@ -163,9 +168,48 @@ for (const lang of ['en', 'he']) {
}
}
+// 8. The press downloads.
+const [shotsZip, artZip] = plan();
+for (const z of [shotsZip, artZip]) {
+ const file = path.join(dist, 'downloads', z.zip);
+ if (!fs.existsSync(file) || fs.statSync(file).size === 0) { problems.push(`downloads/${z.zip}: missing or empty`); continue; }
+ const buf = fs.readFileSync(file);
+ let entries;
+ try { entries = zipEntries(buf); } catch (e) { problems.push(`downloads/${z.zip}: not a readable zip (${e.message})`); continue; }
+ const names = entries.map((e) => e.name);
+ const want = [`${z.dir}/README.txt`, ...z.entries.map((e) => `${z.dir}/${e.name}`)].sort();
+ if (JSON.stringify([...names].sort()) !== JSON.stringify(want)) problems.push(`downloads/${z.zip}: holds ${names.join(', ')}; expected ${want.join(', ')}`);
+ if (z.entries.length === 0) problems.push(`downloads/${z.zip}: no images`);
+ for (const e of entries) if (e.size === 0) problems.push(`downloads/${z.zip}: ${e.name} is empty`);
+ const readme = entries.find((e) => e.name.endsWith('/README.txt'));
+ const text = readme ? zipRead(buf, readme).toString('utf8') : '';
+ for (const e of z.entries) if (!text.includes(e.name)) problems.push(`downloads/${z.zip}: README.txt does not list ${e.name}`);
+ if (z === artZip) {
+ if (!text.includes('AI-generated concept art')) problems.push(`downloads/${z.zip}: README.txt does not say the images are AI-generated concept art`);
+ for (const e of z.entries) if (!e.name.includes(CONCEPT_TAG)) problems.push(`downloads/${z.zip}: ${e.name} lacks "${CONCEPT_TAG}" in its name`);
+ // The two images with AI likenesses of real ministers say so in the README's first line and in their file names.
+ const first = text.split('\n')[0];
+ for (const stem of ['04-cabinet-1948', '08-defense-1955']) {
+ const e = z.entries.find((x) => x.name.includes(stem));
+ if (!e || !e.name.includes(LIKENESS_TAG)) problems.push(`downloads/${z.zip}: ${stem} lacks "${LIKENESS_TAG}" in its name`);
+ if (!first.includes(stem)) problems.push(`downloads/${z.zip}: README.txt's first line does not name ${stem}`);
+ }
+ if (!/AI likeness/.test(first) || !/not photographs?/.test(first)) problems.push(`downloads/${z.zip}: README.txt's first line does not say the likenesses are not photographs`);
+ } else {
+ if (!text.includes('In-engine capture') || !text.includes('CC BY 4.0')) problems.push(`downloads/${z.zip}: README.txt lacks the label or the licence`);
+ for (const n of names) if (/concept|hero|social|trailer|cinematic|\.(mp4|webm|png)$/i.test(n)) problems.push(`downloads/${z.zip}: ${n} is not an in-engine screenshot`);
+ }
+ for (const lang of ['en', 'he']) {
+ const page = path.join(dist, lang, 'press', 'index.html');
+ if (!fs.existsSync(page) || !new RegExp(`href="[^"]*/downloads/${z.zip.replace(/\./g, '\\.')}"`).test(fs.readFileSync(page, 'utf8'))) {
+ problems.push(`${lang}/press/index.html: no link to downloads/${z.zip}`);
+ }
+ }
+}
+
if (problems.length) {
console.error(problems.join('\n'));
console.error(`check-site: ${problems.length} problem(s)`);
process.exit(1);
}
-console.log(`check-site: ${pages.length} pages OK (both languages, labels on every image and video, nothing from other origins, devlog RSS feeds)`);
+console.log(`check-site: ${pages.length} pages OK (both languages, labels on every image and video, nothing from other origins, devlog RSS feeds, contributors groups, press zips)`);
diff --git a/site/scripts/press-kit.mjs b/site/scripts/press-kit.mjs
new file mode 100644
index 000000000..7e99b15d9
--- /dev/null
+++ b/site/scripts/press-kit.mjs
@@ -0,0 +1,227 @@
+// Builds the Press page's two downloads into public/downloads/ (git-ignored; issue #417), which astro build then copies
+// into dist/downloads/. Nothing here is committed: the zips are made at every build from files already in the repository.
+// - statecraft-israel-screenshots.zip: the in-engine screenshots listed in docs/images/captures.yaml, never concept
+// art or the trailer;
+// - statecraft-israel-ai-concept-art.zip: the AI-generated images in promo/final/ (the ASSETS.yaml rows marked
+// ai_generated), as JPEG at quality 90 and full size, each renamed to carry "AI concept art" in its file name, and
+// "AI likeness, not a photograph" too for the images src/lib/media.ts marks as likenesses.
+// Each zip holds a README.txt with the label, licence and provenance of every file, taken from ASSETS.yaml. The zips
+// are deterministic: sorted entries, a fixed timestamp, no extra fields. Images are stored (JPEG does not deflate
+// further); the README is deflated. Run before `astro build` (npm run build does it).
+import fs from 'node:fs';
+import path from 'node:path';
+import zlib from 'node:zlib';
+import { fileURLToPath } from 'node:url';
+import YAML from 'yaml';
+
+const here = fileURLToPath(new URL('../../', import.meta.url));
+
+export const SCREENSHOTS = 'statecraft-israel-screenshots';
+export const CONCEPT = 'statecraft-israel-ai-concept-art';
+export const CONCEPT_TAG = 'AI concept art';
+export const LIKENESS_TAG = 'AI likeness, not a photograph';
+
+// ASSETS.yaml globs use fnmatch: '*' also matches '/'.
+function fnmatch(glob) {
+ let re = '';
+ for (let i = 0; i < glob.length; i++) {
+ const c = glob[i];
+ if (c === '*') re += '.*';
+ else if (c === '?') re += '.';
+ else if (c === '[') {
+ const end = glob.indexOf(']', i + 1);
+ re += end < 0 ? '\\[' : `[${glob.slice(i + 1, end).replace(/^!/, '^').replace(/\\/g, '\\\\')}]`;
+ if (end >= 0) i = end;
+ } else re += c.replace(/[.+^${}()|\\/]/g, '\\$&');
+ }
+ return new RegExp(`^${re}$`);
+}
+
+function assetRow(rules, file) {
+ const row = rules.find((r) => fnmatch(r.glob).test(file));
+ if (!row) throw new Error(`press-kit: ${file} has no ASSETS.yaml row`);
+ return row;
+}
+
+const longDate = (d) => new Date(`${d}T00:00:00Z`).toLocaleDateString('en-GB', { day: 'numeric', month: 'long', year: 'numeric', timeZone: 'UTC' });
+
+const provenance = (rows) => [...rows.values()].map((r) =>
+ [`Files matching ${r.glob}:`, ` Licence: ${r.licence}`, ` ${r.ai_generated ? 'Made with' : 'Source'}: ${r.source}`, r.note ? ` Note: ${r.note}` : null,
+ r.status === 'owner-verify' ? ' The project owner has not yet confirmed the generator terms for this row (status owner-verify in ASSETS.yaml).' : null]
+ .filter(Boolean).join('\n')).join('\n\n');
+
+/**
+ * The two zips: their names, entries (zip path and source file) and README text. Reads only, writes nothing.
+ * `repo` is the repository root; pass it when this module is bundled (the Press page does), since import.meta.url
+ * then no longer points into site/scripts/.
+ */
+export function plan(repo = here) {
+ const read = (p) => fs.readFileSync(path.join(repo, p));
+ const rules = YAML.parse(read('ASSETS.yaml').toString('utf8')).rules;
+ const captures = YAML.parse(read('docs/images/captures.yaml').toString('utf8'));
+
+ // 1. In-engine screenshots, as captures.yaml lists them.
+ const label = `In-engine capture — ${captures.build}, ${longDate(String(captures.date))}`;
+ const shots = captures.images.map((img) => ({ file: `docs/images/${img.file}`, img }))
+ .sort((a, b) => a.file.localeCompare(b.file));
+ const shotRows = new Map();
+ const shotLines = shots.map(({ file, img }) => {
+ const row = assetRow(rules, file);
+ if (row.ai_generated) throw new Error(`press-kit: ${file} is marked ai_generated; it cannot go in the screenshots zip`);
+ shotRows.set(row.glob, row);
+ return [img.file, ` ${img.title.en}. ${label}. Licence: ${row.licence}.`, img.ai_part ? ` ${img.ai_part.en}` : null]
+ .filter(Boolean).join('\n');
+ });
+ const shotsReadme = [
+ 'Statecraft: Israel: in-engine screenshots',
+ '',
+ `Real screenshots of the game's own WebGL build (${captures.build}, ${longDate(String(captures.date))}). They show the`,
+ 'current prototype as it is. No concept art and no trailer frames are in this zip.',
+ '',
+ 'Label them "In-engine capture" with the build and date, and credit "Statecraft: Israel contributors"',
+ '(CC BY 4.0, https://creativecommons.org/licenses/by/4.0/).',
+ '',
+ 'צילומי מסך אמיתיים מתוך המשחק, ברישיון CC BY 4.0. הקרדיט: "Statecraft: Israel contributors".',
+ '',
+ 'Files:',
+ '',
+ shotLines.join('\n'),
+ '',
+ 'Licence and provenance (from ASSETS.yaml):',
+ '',
+ provenance(shotRows),
+ '',
+ 'Source: https://github.com/eyalgolan/statecraft-israel (docs/images/, provenance in ASSETS.yaml)',
+ '',
+ ].join('\n');
+
+ // 2. AI-generated concept art: every image in promo/final/ whose ASSETS.yaml row says ai_generated.
+ const finals = fs.readdirSync(path.join(repo, 'promo/final')).sort()
+ .map((n) => `promo/final/${n}`)
+ .filter((f) => /\.(png|jpe?g|webp)$/i.test(f) && assetRow(rules, f).ai_generated);
+ // The images with AI likenesses of real people are the ones src/lib/media.ts marks `likeness: true`.
+ const mediaTs = read('site/src/lib/media.ts').toString('utf8');
+ const likeness = new Set([...mediaTs.matchAll(/likeness: true[^\n]*file: '([^']+)'/g)].map((m) => m[1]));
+ const conceptRows = new Map();
+ const art = finals.map((file) => {
+ const row = assetRow(rules, file);
+ conceptRows.set(row.glob, row);
+ const stem = path.basename(file).replace(/\.\w+$/, '');
+ const l = likeness.has(file);
+ return { file, stem, likeness: l, name: `${CONCEPT_TAG} - ${stem}${l ? ` - ${LIKENESS_TAG}` : ''}.jpg`, row };
+ });
+ const likenesses = art.filter((a) => a.likeness).map((a) => a.stem);
+ if (likenesses.length === 0) throw new Error('press-kit: media.ts marks no concept image as a likeness; the README would say nothing about them');
+ const likenessLine = `${likenesses.length > 1 ? `${likenesses.slice(0, -1).join(', ')} and ${likenesses.at(-1)} are AI likenesses` : `${likenesses[0]} is an AI likeness`} of real people, not photographs.`;
+ const artLines = art.map(({ name, row, likeness: l }) => `${name}\n Concept art — AI-generated.${l ? ' Shows AI likenesses of real people, not photographs.' : ''} Licence: ${row.licence} (no rights claimed).`);
+ const conceptReadme = [
+ likenessLine,
+ '',
+ 'Statecraft: Israel: AI concept art',
+ '',
+ 'Every image in this zip is AI-generated concept art. None of it is a screenshot of the game, and it shows things',
+ 'the current build does not have. The images are JPEG copies (quality 90, full size) of the PNGs in promo/final/.',
+ '',
+ 'If you publish any of these images, label them as AI-generated concept art. For screenshots of the game,',
+ 'use the in-engine screenshots zip instead.',
+ '',
+ 'כל התמונות בקובץ הזה הן אמנות קונספט שנוצרה בבינה מלאכותית, ולא צילומי מסך מהמשחק. אם אתם מפרסמים אותן,',
+ 'ציינו שזו אמנות קונספט שנוצרה בבינה מלאכותית.',
+ '',
+ 'Files:',
+ '',
+ artLines.join('\n'),
+ '',
+ 'Licence and provenance (from ASSETS.yaml):',
+ '',
+ provenance(conceptRows),
+ '',
+ 'Source: https://github.com/eyalgolan/statecraft-israel (promo/final/)',
+ '',
+ ].join('\n');
+
+ return [
+ { zip: `${SCREENSHOTS}.zip`, dir: SCREENSHOTS, readme: shotsReadme,
+ entries: shots.map(({ file }) => ({ name: path.basename(file), file: path.join(repo, file) })) },
+ { zip: `${CONCEPT}.zip`, dir: CONCEPT, readme: conceptReadme,
+ entries: art.map(({ name, file }) => ({ name, file: path.join(repo, file), jpeg: true })), likenessLine },
+ ];
+}
+
+// A minimal zip writer (PKWARE APPNOTE 6.3): no new dependency. Fixed DOS time 1980-01-01 00:00, UTF-8 names.
+const DOS_TIME = 0, DOS_DATE = (0 << 9) | (1 << 5) | 1;
+export function zip(files) {
+ const locals = [], centrals = [];
+ let offset = 0;
+ for (const { name, data } of [...files].sort((a, b) => (a.name < b.name ? -1 : a.name > b.name ? 1 : 0))) {
+ const nameBuf = Buffer.from(name, 'utf8');
+ const deflated = /\.(txt|md)$/i.test(name) ? zlib.deflateRawSync(data, { level: 9 }) : null;
+ const method = deflated && deflated.length < data.length ? 8 : 0;
+ const body = method === 8 ? deflated : data;
+ const crc = zlib.crc32(data);
+ const head = Buffer.alloc(30);
+ head.writeUInt32LE(0x04034b50, 0); head.writeUInt16LE(20, 4); head.writeUInt16LE(0x0800, 6);
+ head.writeUInt16LE(method, 8); head.writeUInt16LE(DOS_TIME, 10); head.writeUInt16LE(DOS_DATE, 12);
+ head.writeUInt32LE(crc, 14); head.writeUInt32LE(body.length, 18); head.writeUInt32LE(data.length, 22);
+ head.writeUInt16LE(nameBuf.length, 26); head.writeUInt16LE(0, 28);
+ const cen = Buffer.alloc(46);
+ cen.writeUInt32LE(0x02014b50, 0); cen.writeUInt16LE((3 << 8) | 20, 4); cen.writeUInt16LE(20, 6);
+ cen.writeUInt16LE(0x0800, 8); cen.writeUInt16LE(method, 10); cen.writeUInt16LE(DOS_TIME, 12);
+ cen.writeUInt16LE(DOS_DATE, 14); cen.writeUInt32LE(crc, 16); cen.writeUInt32LE(body.length, 20);
+ cen.writeUInt32LE(data.length, 24); cen.writeUInt16LE(nameBuf.length, 28);
+ cen.writeUInt32LE((0o100644 << 16) >>> 0, 38); cen.writeUInt32LE(offset, 42);
+ locals.push(head, nameBuf, body);
+ centrals.push(cen, nameBuf);
+ offset += head.length + nameBuf.length + body.length;
+ }
+ const cd = Buffer.concat(centrals);
+ if (offset + cd.length > 0xffffffff) throw new Error('press-kit: zip over 4 GB needs Zip64');
+ const end = Buffer.alloc(22);
+ end.writeUInt32LE(0x06054b50, 0); end.writeUInt16LE(files.length, 8); end.writeUInt16LE(files.length, 10);
+ end.writeUInt32LE(cd.length, 12); end.writeUInt32LE(offset, 16);
+ return Buffer.concat([...locals, cd, end]);
+}
+
+/** One entry's bytes, uncompressed. */
+export function zipRead(buf, e) {
+ const start = e.offset + 30 + buf.readUInt16LE(e.offset + 26) + buf.readUInt16LE(e.offset + 28);
+ const body = buf.subarray(start, start + e.csize);
+ return e.method === 8 ? zlib.inflateRawSync(body) : body;
+}
+
+/** The entry names of a zip, read from its central directory (used by scripts/check-site.mjs). */
+export function zipEntries(buf) {
+ const eocd = buf.lastIndexOf(Buffer.from([0x50, 0x4b, 0x05, 0x06]));
+ if (eocd < 0) throw new Error('no end of central directory');
+ const count = buf.readUInt16LE(eocd + 10);
+ let p = buf.readUInt32LE(eocd + 16);
+ const out = [];
+ for (let i = 0; i < count; i++) {
+ if (buf.readUInt32LE(p) !== 0x02014b50) throw new Error('bad central directory');
+ const n = buf.readUInt16LE(p + 28), x = buf.readUInt16LE(p + 30), c = buf.readUInt16LE(p + 32);
+ out.push({ name: buf.toString('utf8', p + 46, p + 46 + n), csize: buf.readUInt32LE(p + 20), size: buf.readUInt32LE(p + 24), offset: buf.readUInt32LE(p + 42), method: buf.readUInt16LE(p + 10) });
+ p += 46 + n + x + c;
+ }
+ return out;
+}
+
+if (process.argv[1] === fileURLToPath(import.meta.url)) {
+ // Written into public/downloads/ (git-ignored) before astro build, so the Press page can show the real sizes and
+ // Astro copies the zips into dist/downloads/.
+ const out = path.resolve(process.argv[2] ?? 'public/downloads');
+ fs.mkdirSync(out, { recursive: true });
+ const { default: sharp } = await import('sharp');
+ // Concept art as JPEG at quality 90 and native size; sharp drops the metadata, so the bytes depend only on the
+ // source PNG and the sharp/libjpeg version.
+ const jpeg = (file) => sharp(file).flatten({ background: '#ffffff' })
+ .jpeg({ quality: 90, chromaSubsampling: '4:4:4', mozjpeg: false, progressive: false }).toBuffer();
+ for (const z of plan()) {
+ const files = [
+ { name: `${z.dir}/README.txt`, data: Buffer.from(z.readme, 'utf8') },
+ ...await Promise.all(z.entries.map(async (e) => ({ name: `${z.dir}/${e.name}`, data: e.jpeg ? await jpeg(e.file) : fs.readFileSync(e.file) }))),
+ ];
+ const buf = zip(files);
+ fs.writeFileSync(path.join(out, z.zip), buf);
+ console.log(`press-kit: downloads/${z.zip} ${files.length} files, ${(buf.length / 1e6).toFixed(1)} MB`);
+ }
+}
diff --git a/site/src/content/en/press.md b/site/src/content/en/press.md
index 25badf756..24cbe74c6 100644
--- a/site/src/content/en/press.md
+++ b/site/src/content/en/press.md
@@ -22,7 +22,7 @@ The game deals with war, terror and the Holocaust as historical events. Its fram
- The concept art is AI-generated and does not show the current build. If you use it, label it as AI-generated concept art.
- The cinematic trailer was made with AI video tools and is not gameplay. Describe it that way.
-There is no logo yet.
+The screenshots and the concept art are in two zips under Downloads, at the end of this page. There is no logo yet.
## Not affiliated
diff --git a/site/src/content/he/press.md b/site/src/content/he/press.md
index db4b4dd42..26c5d0338 100644
--- a/site/src/content/he/press.md
+++ b/site/src/content/he/press.md
@@ -22,7 +22,7 @@
- אמנות הקונספט נוצרה בבינה מלאכותית ואינה מראה את הגרסה הנוכחית. אם אתם משתמשים בה, ציינו שזו אמנות קונספט שנוצרה בבינה מלאכותית.
- הטריילר הקולנועי נוצר בכלי וידאו של בינה מלאכותית ואינו צילום מהמשחק. תארו אותו כך.
-עדיין אין לוגו.
+צילומי המסך ואמנות הקונספט נמצאים בשני קובצי zip תחת "הורדות", בסוף הדף. עדיין אין לוגו.
## אין קשר
diff --git a/site/src/pages/[lang]/press.astro b/site/src/pages/[lang]/press.astro
index a126dd072..d629726be 100644
--- a/site/src/pages/[lang]/press.astro
+++ b/site/src/pages/[lang]/press.astro
@@ -1,13 +1,41 @@
---
+import fs from 'node:fs';
+import path from 'node:path';
import ProsePage from '../../components/ProsePage.astro';
-import { type Lang, languages, href, t } from '../../i18n/ui';
+import { type Lang, languages, href, t, asset } from '../../i18n/ui';
+import { plan } from '../../../scripts/press-kit.mjs';
export const getStaticPaths = () => languages.map((lang) => ({ params: { lang } }));
const lang = Astro.params.lang as Lang;
const he = lang === 'he';
+// scripts/press-kit.mjs writes the zips into public/downloads/ before astro build (npm run build); the build runs in
+// site/, so the repository root is its parent.
+const [shots, art] = plan(path.resolve(process.cwd(), '..'));
+const mb = (z: ReturnType<typeof plan>[number]) =>
+ `${Math.max(1, Math.round(fs.statSync(path.resolve('public/downloads', z.zip)).size / 1e6))} MB`;
---
<ProsePage lang={lang} page="press" name="press" navKey="nav.press"
heading={he ? 'לעיתונות' : 'Press'}
intro={he ? 'עובדות על המשחק, ואיך להשתמש בתמונות.' : 'Facts about the game, and how to use its images.'}
description={he ? 'דף נתונים על Statecraft: Israel לעיתונאים.' : 'A factsheet on Statecraft: Israel for the press.'}>
+ <section class="prose downloads" aria-labelledby="downloads">
+ <h2 id="downloads">{he ? 'הורדות' : 'Downloads'}</h2>
+ <ul>
+ <li>
+ <a href={asset(`downloads/${shots.zip}`)} download>{he ? 'צילומי מסך מתוך המשחק' : 'In-engine screenshots'}</a>{' '}
+ <span dir="ltr">(zip, {mb(shots)})</span>{he
+ ? `: ${shots.entries.length} צילומי מסך מהגרסה הנוכחית, ברישיון CC BY 4.0. בלי אמנות קונספט ובלי הטריילר.`
+ : `: ${shots.entries.length} screenshots of the current build, CC BY 4.0. No concept art and no trailer.`}
+ </li>
+ <li>
+ <a href={asset(`downloads/${art.zip}`)} download>{he ? 'אמנות קונספט שנוצרה בבינה מלאכותית' : 'AI concept art'}</a>{' '}
+ <span dir="ltr">(zip, {mb(art)})</span>{he
+ ? <>: {art.entries.length} תמונות שנוצרו בבינה מלאכותית, ללא טענת זכויות (CC0). הן אינן מראות את המשחק, ובשם כל קובץ מופיע הכיתוב <span lang="en" dir="ltr">AI concept art</span>.</>
+ : <>: {art.entries.length} AI-generated images, CC0 with no rights claimed. They do not show the game, and every file name says “AI concept art”.</>}
+ </li>
+ </ul>
+ <p>{he
+ ? 'בכל קובץ zip יש README.txt עם התווית, הרישיון והמקור של כל תמונה.'
+ : 'Each zip has a README.txt with the label, licence and origin of every image.'}</p>
+ </section>
<p class="prose"><a class="btn" href={href(lang, 'media')}>{t(lang, 'nav.media')}</a></p>
</ProsePage>