From ae77ecbcd3e14ce72c28e5a7c01d3c9a913135a8 Mon Sep 17 00:00:00 2001 From: Fulldroper <40297614+Fulldroper@users.noreply.github.com> Date: Wed, 14 Oct 2026 14:53:18 +0300 Subject: [PATCH] 0.16.7: yt-dlp and FFmpeg come with the pack (no AnalogLib setup download) external-files.json lists non-mod files the .mrpack downloads; FFmpeg 9.0.2 essentials and a yt-dlp mirror live in the org's generic packages on Gitea. Co-Authored-By: Claude Opus 5.5 --- config/fancymenu/assets/version.png | Bin 372 -> 384 bytes .../customization/createrp_title.txt | 4 +-- external-files.json | 29 ++++++++++++++++++ index.toml | 4 +-- pack.toml | 4 +-- tools/export-mrpack.mjs | 15 ++++++++- 6 files changed, 49 insertions(+), 7 deletions(-) create mode 100644 external-files.json diff --git a/config/fancymenu/assets/version.png b/config/fancymenu/assets/version.png index bf699cc8c63d4acb7ca7d9423eedf21d7d808a1c..6674201ff18c4cafb7c0bc3b64dbaa283ad1d93a 100644 GIT binary patch delta 357 zcmV-r0h<2w0)PXMB!5RqL_t(|ob6T7Zp0uA1Bw5lpWc31Cc66Ovz#kTw>@2?N;JfY zi9=gUDJ3GJTvltX<;@lmv6`1TF|W*jmm`bIxB;tsS|2eDiF)tx+e6RT$bTHiQr>Ob z9&6^6`PpX9g{CMs#yZ|yf8X~Le}Yhq4~-({LR5fn#vhYD*MA6&125-ycy6LQr^ab> zGj19`-kS@&6bM!Z>sLxw;|FG_IQE8uvo|1_yffGAq%-d<#$m8@+)(eS7k5hWo|_1# zyz^%i+A{8%zLE{9^}ZH4Qz7(tOBczN#%)9T)z^J$;-^)|H5z!z8H0}hJ%LAx-KzsJm*QCA}nON zgj!1}#mua9skPSfWic~bjfzGWh z8Z^S8fc|N6X4V8ZZC2i`4rPBSBs;1?U?BEuowO%0L-a2N2f-<>_;LfeactjU?60rT zsDtX6)Q7xGDpLD6Ci5>}7P?2SsKEB7KdmCJ2d^r&UkRvZGkS7d>=S&Hp5u*h3Xi{6 r{sD~gQUjy-sd}ugnV.mrpack // Mods are referenced by their Modrinth CDN URL (sha1/sha512/size from the Modrinth API); +// external-files.json adds other downloaded files (Analog Audio's yt-dlp/FFmpeg in .analoglib/bin); // config/ and kubejs/ go into overrides/. Zipping uses Windows' bsdtar (tar -a) or `zip` on Linux. import fs from 'fs'; import path from 'path'; @@ -42,7 +43,19 @@ const files = metas.map(m => { downloads: [f.url], fileSize: f.size }; -}).sort((a, b) => a.path.localeCompare(b.path)); +}); +// files that are not mods but are downloaded the same way (Analog Audio's yt-dlp and FFmpeg): external-files.json +const externalFile = path.join(root, 'external-files.json'); +if (fs.existsSync(externalFile)) { + for (const x of JSON.parse(fs.readFileSync(externalFile, 'utf8'))) files.push({ + path: x.path, + hashes: x.hashes, + env: { client: x.side === 'server' ? 'unsupported' : 'required', server: x.side === 'client' ? 'unsupported' : 'required' }, + downloads: x.downloads, + fileSize: x.fileSize + }); +} +files.sort((a, b) => a.path.localeCompare(b.path)); const index = { formatVersion: 1,