Canonical character artwork for 万世战线 Aeonfront. The repository keeps lightweight WebP images and full-resolution PNG sources together on main, with a generated card-to-file index.
mainis authoritative and containswebp/,hd/, validation scripts and generated indexes.webpis a compatibility split for older lightweight submodule consumers.hdis a compatibility split for older desktop packaging consumers.
New builds must not switch Git branches at runtime or during packaging. Use the pinned main tree and scripts/prepare-assets.mjs to stage only the required format into a build directory.
The default index command reads generated card definitions from the sibling character repository. A different path can be supplied through AEONFRONT_CARDS.
npm run build:index
npm run validate:assets
npm test
node scripts/prepare-assets.mjs --output=../build/card-assets
node scripts/prepare-assets.mjs --hd --output=../build/card-assets-hdgenerated/card-assets.json maps every cardId, character UID, name, slug and image key to WebP, thumbnail and HD paths. generated/asset-report.json records missing mappings, fallbacks, unreferenced files, unsupported formats and duplicate binary content.
Add ${characterName}.webp under webp/ and ${characterName}.png under hd/, preserving the exact character name used by the data repository. Rebuild the index and run validation. A fallback is permitted only when neither source format exists; existing art must never be replaced by a fallback.