34 lines
904 B
Text
34 lines
904 B
Text
|
#!/bin/sh
|
||
|
|
||
|
# Global variables
|
||
|
BASEURL="https://github.com/Abdess/retroarch_system/raw/refs/heads/libretro"
|
||
|
TARGETDIR="${HOME}/.var/app/org.libretro.RetroArch/config/retroarch/system"
|
||
|
|
||
|
# Sega CD
|
||
|
SEGACDPREFIX="Sega%20-%20Mega%20CD%20-%20Sega%20CD"
|
||
|
SEGACDFILES="bios_CD_E.bin bios_CD_J.bin bios_CD_U.bin"
|
||
|
|
||
|
for FILE in $SEGACDFILES
|
||
|
do
|
||
|
curl -L "${BASEURL}/${SEGACDPREFIX}/${FILE}" -o "${TARGETDIR}/${FILE}"
|
||
|
done
|
||
|
|
||
|
# Sega Saturn
|
||
|
SEGASATURNPREFIX="Sega%20-%20Saturn"
|
||
|
SEGASATURNFILES="mpr-17933.bin saturn_bios.bin sega_101.bin"
|
||
|
|
||
|
for FILE in $SEGASATURNFILES
|
||
|
do
|
||
|
curl -L "${BASEURL}/${SEGASATURNPREFIX}/${FILE}" -o "${TARGETDIR}/${FILE}"
|
||
|
done
|
||
|
|
||
|
# Sega Dreamcast
|
||
|
DREAMCASTPREFIX="Sega%20-%20Dreamcast"
|
||
|
DREAMCASTFILES="dc_boot.bin dc_flash.bin naomi_boot.bin"
|
||
|
|
||
|
for FILE in $DREAMCASTFILES
|
||
|
do
|
||
|
mkdir -p "${TARGETDIR}/dc"
|
||
|
curl -L "${BASEURL}/${DREAMCASTPREFIX}/${FILE}" -o "${TARGETDIR}/dc/${FILE}"
|
||
|
done
|