feat: add RetroArch cores download script with full system coverage
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2e3812af51
commit
2b696218a9
|
|
@ -0,0 +1,60 @@
|
||||||
|
81_libretro.so
|
||||||
|
atari800_libretro.so
|
||||||
|
bluemsx_libretro.so
|
||||||
|
cap32_libretro.so
|
||||||
|
daphne_libretro.so
|
||||||
|
dosbox_pure_libretro.so
|
||||||
|
easyrpg_libretro.so
|
||||||
|
ecwolf_libretro.so
|
||||||
|
fake08_libretro.so
|
||||||
|
fbneo_libretro.so
|
||||||
|
fceumm_libretro.so
|
||||||
|
flycast_libretro.so
|
||||||
|
freechaf_libretro.so
|
||||||
|
freeintv_libretro.so
|
||||||
|
fuse_libretro.so
|
||||||
|
gambatte_libretro.so
|
||||||
|
gearcoleco_libretro.so
|
||||||
|
genesis_plus_gx_libretro.so
|
||||||
|
handy_libretro.so
|
||||||
|
hatari_libretro.so
|
||||||
|
lowresnx_libretro.so
|
||||||
|
mame_libretro.so
|
||||||
|
mednafen_pce_fast_libretro.so
|
||||||
|
mednafen_pcfx_libretro.so
|
||||||
|
mednafen_supergrafx_libretro.so
|
||||||
|
mednafen_vb_libretro.so
|
||||||
|
mednafen_wswan_libretro.so
|
||||||
|
melonds_libretro.so
|
||||||
|
mgba_libretro.so
|
||||||
|
mupen64plus_next_libretro.so
|
||||||
|
neocd_libretro.so
|
||||||
|
nestopia_libretro.so
|
||||||
|
np2kai_libretro.so
|
||||||
|
o2em_libretro.so
|
||||||
|
opera_libretro.so
|
||||||
|
pcsx_rearmed_libretro.so
|
||||||
|
picodrive_libretro.so
|
||||||
|
pokemini_libretro.so
|
||||||
|
potator_libretro.so
|
||||||
|
ppsspp_libretro.so
|
||||||
|
prboom_libretro.so
|
||||||
|
prosystem_libretro.so
|
||||||
|
puae_libretro.so
|
||||||
|
px68k_libretro.so
|
||||||
|
race_libretro.so
|
||||||
|
sameduck_libretro.so
|
||||||
|
scummvm_libretro.so
|
||||||
|
snes9x_libretro.so
|
||||||
|
stella_libretro.so
|
||||||
|
tic80_libretro.so
|
||||||
|
uzem_libretro.so
|
||||||
|
vecx_libretro.so
|
||||||
|
vemulator_libretro.so
|
||||||
|
vice_x128_libretro.so
|
||||||
|
vice_x64_libretro.so
|
||||||
|
vice_xplus4_libretro.so
|
||||||
|
vice_xvic_libretro.so
|
||||||
|
virtualjaguar_libretro.so
|
||||||
|
x1_libretro.so
|
||||||
|
yabasanshiro_libretro.so
|
||||||
|
|
@ -0,0 +1,26 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Download pre-compiled aarch64 libretro cores and package them as a tarball.
|
||||||
|
set -e
|
||||||
|
|
||||||
|
outdir="${1:-./artifacts}"
|
||||||
|
cores_dir="$(mktemp -d)"
|
||||||
|
trap 'rm -rf "$cores_dir"' 0
|
||||||
|
|
||||||
|
base_url="https://raw.githubusercontent.com/christianhaitian/retroarch-cores/master/aarch64"
|
||||||
|
target_dir="$cores_dir/home/emulation/.config/retroarch/cores"
|
||||||
|
mkdir -p "$target_dir"
|
||||||
|
|
||||||
|
while IFS= read -r core; do
|
||||||
|
[ -z "$core" ] && continue
|
||||||
|
[[ "$core" =~ ^# ]] && continue
|
||||||
|
echo "Downloading $core..."
|
||||||
|
if wget -q "$base_url/${core}.zip" -O "/tmp/${core}.zip" 2>/dev/null; then
|
||||||
|
unzip -o -q "/tmp/${core}.zip" -d "$target_dir/"
|
||||||
|
rm -f "/tmp/${core}.zip"
|
||||||
|
else
|
||||||
|
echo "Warning: Failed to download $core, skipping"
|
||||||
|
fi
|
||||||
|
done < scripts/core-list.txt
|
||||||
|
|
||||||
|
tar cf "$outdir/cores.tar" -C "$cores_dir" .
|
||||||
|
echo "Cores tarball created at $outdir/cores.tar"
|
||||||
Loading…
Reference in New Issue