2015-02-14 01:55:27 +00:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
# vim: set ts=3 sw=3 noet ft=sh : bash
|
2011-11-02 15:27:23 +00:00
|
|
|
|
2015-02-14 02:05:50 +00:00
|
|
|
SCRIPT="${0#./}"
|
|
|
|
BASE_DIR="${SCRIPT%/*}"
|
|
|
|
WORKDIR=$(pwd)
|
2015-02-02 17:33:50 +00:00
|
|
|
|
2015-02-14 02:05:50 +00:00
|
|
|
if [ "$BASE_DIR" = "$SCRIPT" ]; then
|
|
|
|
BASE_DIR="$WORKDIR"
|
|
|
|
else
|
2015-02-15 22:34:42 +00:00
|
|
|
if [[ "$0" != /* ]]; then
|
|
|
|
# Make the path absolute
|
|
|
|
BASE_DIR="$WORKDIR/$BASE_DIR"
|
|
|
|
fi
|
2015-02-14 02:05:50 +00:00
|
|
|
fi
|
2015-02-02 17:33:50 +00:00
|
|
|
|
2015-02-14 02:05:50 +00:00
|
|
|
. $BASE_DIR/libretro-config.sh
|
2015-02-17 03:51:31 +00:00
|
|
|
. $BASE_DIR/script-modules/fetch-rules.sh
|
2013-05-01 02:11:22 +00:00
|
|
|
|
2015-02-02 08:19:53 +00:00
|
|
|
|
|
|
|
# Keep three copies so we don't have to rebuild stuff all the time.
|
2015-02-14 02:08:56 +00:00
|
|
|
# FIXME: If you need 3 copies of source to compile 3 sets of objects, you're
|
|
|
|
# doing it wrong. We should fix this.
|
2015-02-02 08:19:53 +00:00
|
|
|
fetch_project_bsnes()
|
|
|
|
{
|
2015-02-18 07:17:47 +00:00
|
|
|
echo "=== Fetching $3 ==="
|
|
|
|
fetch_git "$1" "$2" ""
|
|
|
|
fetch_git "$WORKDIR/$2" "$2/perf" ""
|
|
|
|
fetch_git "$WORKDIR/$2" "$2/balanced" ""
|
2015-02-02 08:19:53 +00:00
|
|
|
}
|
|
|
|
|
2015-02-21 09:16:30 +00:00
|
|
|
# TODO: Move all of these rules to their own file
|
2015-02-02 04:24:14 +00:00
|
|
|
|
2015-02-21 07:30:23 +00:00
|
|
|
# FIXME: Not ready for a meta-fetch rule
|
2015-02-21 08:55:22 +00:00
|
|
|
#libretro_bsnes_fetch_url="https://github.com/libretro/bsnes-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
#libretro_bsnes_name="bsnes/higan"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_snes9x_fetch_url="https://github.com/libretro/snes9x.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_snes9x_name="SNES9x"
|
|
|
|
|
2015-02-21 09:02:30 +00:00
|
|
|
libretro_snes9x_next_fetch_url="https://github.com/libretro/snes9x-next.git"
|
|
|
|
libretro_snes9x_next_name="SNES9x Next"
|
2015-02-21 07:30:23 +00:00
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_genesis_plus_gx_fetch_url="https://github.com/libretro/Genesis-Plus-GX.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_genesis_plus_gx="Genesis Plus GX"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_fb_alpha_fetch_url="https://github.com/libretro/fba-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_fb_alpha_name="Final Burn Alpha"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_vba_next_fetch_url="https://github.com/libretro/vba-next.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_vba_next_name="VBA Next"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_vbam_fetch_url="https://github.com/libretro/vbam-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_vbam_name="VBA-M"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_handy_fetch_url="https://github.com/libretro/libretro-handy.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_handy_name="Handy"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_bnes_fetch_url="https://github.com/libretro/bnes-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_bnes_name="bnes/higan"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_fceumm_fetch_url="https://github.com/libretro/libretro-fceumm.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_fceumm_name="FCEUmm"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_gambatte_fetch_url="https://github.com/libretro/gambatte-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_gambatte_name="Gambatte"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_meteor_fetch_url="https://github.com/libretro/meteor-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_meteor_name="Meteor"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_nxengine_fetch_url="https://github.com/libretro/nxengine-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_nxengine_name="NXEngine"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_prboom_fetch_url="https://github.com/libretro/libretro-prboom.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_prboom_name="PrBoom"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_stella_fetch_url="https://github.com/libretro/stella-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_stella_name="Stella"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_desmume_fetch_url="https://github.com/libretro/desmume.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_desmume_name="DeSmuME"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_quicknes_fetch_url="https://github.com/libretro/QuickNES_Core.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_quicknes_name="QuickNES"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_nestopia_fetch_url="https://github.com/libretro/nestopia.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_nestopia_name="Nestopia"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_tyrquake_fetch_url="https://github.com/libretro/tyrquake.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_tyrquake_name="TyrQuake"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_pcsx_rearmed_fetch_url="https://github.com/libretro/pcsx_rearmed.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_pcsx_rearmed_name="PCSX ReARMed"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_gba_fetch_url="https://github.com/libretro/beetle-gba-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_gba_name="Mednafen/Beetle GBA"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_lynx_fetch_url="https://github.com/libretro/beetle-lynx-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_lynx_name="Mednafen/Beetle Lynx"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_ngp_fetch_url="https://github.com/libretro/beetle-ngp-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_ngp_name="Mednafen/Beetle NeoPop"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_pce_fast_fetch_url="https://github.com/libretro/beetle-pce-fast-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_pce_fast_name="Mednafen/Beetle PCE FAST"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_supergrafx_fetch_url="https://github.com/libretro/beetle-supergrafx-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_supergrafx_name="Mednafen/Beetle SuperGrafx"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_psx_fetch_url="https://github.com/libretro/mednafen-psx-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_psx_name="Mednafen PSX"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_pcfx_fetch_url="https://github.com/libretro/beetle-pcfx-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_pcfx_name="Mednafen/Beetle PC-FX"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_snes_fetch_url="https://github.com/libretro/beetle-bsnes-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_snes_name="Mednafen/Beetle bsnes"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_vb_fetch_url="https://github.com/libretro/beetle-vb-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_vb_name="Mednafen/Beetle VB"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mednafen_wswan_fetch_url="https://github.com/libretro/beetle-wswan-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mednafen_wswan_name="Mednafen/Beetle WonderSwan"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_scummvm_fetch_url="https://github.com/libretro/scummvm.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_scummvm_name="ScummVM"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_yabause_fetch_url="https://github.com/libretro/yabause.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_yabause_name="Yabause"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_dosbox_fetch_url="https://github.com/libretro/dosbox-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_dosbox_name="DOSBox"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_virtualjaguar_fetch_url="https://github.com/libretro/virtualjaguar-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_virtualjaguar_name="Virtual Jaguar"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mame078_fetch_url="https://github.com/libretro/mame2003-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mame078_name="MAME 2003 (0.78)"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mame139_fetch_url="https://github.com/libretro/mame2010-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mame139_name="MAME 2010 (0.139)"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mame_fetch_url="https://github.com/libretro/mame.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mame_name="MAME (git)"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_ffmpeg_fetch_url="https://github.com/libretro/FFmpeg.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_ffmpeg_name="FFmpeg"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_bsnes_cplusplus98_fetch_url="https://github.com/libretro/bsnes-libretro-cplusplus98.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_bsnes_cplusplus98_name="bsnes C++98 (v0.85)"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_bsnes_mercury_fetch_url="https://github.com/libretro/bsnes-mercury.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_bsnes_mercury_name="bsnes-mercury"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_picodrive_fetch_url="https://github.com/libretro/picodrive.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_picodrive_name="Picodrive"
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_picodrive_git_submodules="1"
|
|
|
|
libretro_picodrive_git_submodules_update="1"
|
2015-02-21 07:30:23 +00:00
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_tgbdual_fetch_url="https://github.com/libretro/tgbdual-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_tgbdual_name="TGB Dual"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_mupen64plus_fetch_url="https://github.com/libretro/mupen64plus-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_mupen64plus_name="Mupen64Plus"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_dinothawr_fetch_url="https://github.com/libretro/Dinothawr.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_uae_fetch_url="https://github.com/libretro/libretro-uae.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_uae_name="UAE"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_3dengine_fetch_url="https://github.com/libretro/libretro-3dengine.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_3dengine_name="3DEngine"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_remotejoy_fetch_url="https://github.com/libretro/libretro-remotejoy.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_remotejoy_name="RemoteJoy"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_bluemsx_fetch_url="https://github.com/libretro/blueMSX-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_bluemsx_name="blueMSX"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_fmsx_fetch_url="https://github.com/libretro/fmsx-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_fmsx_name="fMSX"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_2048_fetch_url="https://github.com/libretro/libretro-2048.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_vecx_fetch_url="https://github.com/libretro/libretro-vecx.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_ppsspp_fetch_url="https://github.com/libretro/ppsspp.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_ppsspp_name="PPSSPP"
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_ppsspp_git_submodules="1"
|
|
|
|
libretro_ppsspp_git_submodules_update="1"
|
2015-02-21 07:30:23 +00:00
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_prosystem_fetch_url="https://github.com/libretro/prosystem-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_prosystem_name="ProSystem"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_o2em_fetch_url="https://github.com/libretro/libretro-o2em.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_o2em_name="O2EM"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_4do_fetch_url="https://github.com/libretro/4do-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_4do_name="4DO"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_catsfc_fetch_url="https://github.com/libretro/CATSFC-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_catsfc_name="CATSFC"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_stonesoup_fetch_url="https://github.com/libretro/crawl-ref.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_stonesoup_name="Dungeon Crawl Stone Soup"
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_stonesoup_git_submodules="1"
|
2015-02-21 07:30:23 +00:00
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_hatari_fetch_url="https://github.com/libretro/hatari.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_hatari_name="Hatari"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_tempgba_fetch_url="https://github.com/libretro/TempGBA-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_tempgba_name="TempGBA"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_gpsp_fetch_url="https://github.com/libretro/gpsp.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_gpsp_name="gpSP"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_emux_fetch_url="https://github.com/libretro/emux.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_emux_name="Emux"
|
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_fuse_fetch_url="https://github.com/libretro/fuse-libretro.git"
|
2015-02-21 07:30:23 +00:00
|
|
|
libretro_fuse_name="Fuse"
|
|
|
|
|
2015-02-02 04:24:14 +00:00
|
|
|
|
2015-02-21 08:55:22 +00:00
|
|
|
# libretro_fetch_core: Download the given core using its fetch rules
|
|
|
|
#
|
|
|
|
# $1 Name of the core to fetch
|
|
|
|
libretro_fetch_core() {
|
|
|
|
eval "core_name=\$libretro_${1}_name"
|
|
|
|
[ -z "$core_name" ] && core_name="$1"
|
|
|
|
echo "=== $core_name"
|
|
|
|
|
|
|
|
eval "core_fetch_rule=\$libretro_${1}_fetch_rule"
|
|
|
|
[ -z "$core_fetch_rule" ] && core_fetch_rule=fetch_git
|
|
|
|
|
|
|
|
eval "core_dir=\$libretro_${1}_dir"
|
|
|
|
[ -z "$core_dir" ] && core_dir="libretro-$1"
|
|
|
|
|
|
|
|
case "$core_fetch_rule" in
|
|
|
|
fetch_git)
|
|
|
|
eval "core_fetch_url=\$libretro_${1}_fetch_url"
|
|
|
|
if [ -z "$core_fetch_url" ]; then
|
|
|
|
echo "libretro_fetch_core:No URL set to fetch $1 via git."
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
eval "core_git_submodules=\$libretro_${1}_git_submodules"
|
|
|
|
eval "core_git_submodules_update=\$libretro_${1}_git_submodules_update"
|
|
|
|
|
|
|
|
echo "Fetching ${1}..."
|
|
|
|
$core_fetch_rule "$core_fetch_url" "$core_dir" "" $core_git_submodules $core_git_submodules_update
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "libretro_fetch_core:Unknown fetch rule for $1: \"$core_fetch_rule\"."
|
|
|
|
exit 1
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
}
|
|
|
|
|
2015-02-21 09:16:30 +00:00
|
|
|
fetch_retroarch() {
|
|
|
|
echo "=== Fetching RetroArch ==="
|
|
|
|
fetch_git "https://github.com/libretro/RetroArch.git" "retroarch" ""
|
|
|
|
fetch_git "https://github.com/libretro/common-shaders.git" "retroarch/media/shaders_cg" ""
|
|
|
|
fetch_git "https://github.com/libretro/common-overlays.git" "retroarch/media/overlays" ""
|
|
|
|
fetch_git "https://github.com/libretro/retroarch-assets.git" "retroarch/media/assets" ""
|
|
|
|
fetch_git "https://github.com/libretro/retroarch-joypad-autoconfig.git" "retroarch/media/autoconfig" ""
|
|
|
|
fetch_git "https://github.com/libretro/libretro-database.git" "retroarch/media/libretrodb" ""
|
2015-02-02 04:24:14 +00:00
|
|
|
}
|
|
|
|
|
2015-02-21 09:16:30 +00:00
|
|
|
fetch_tools() {
|
|
|
|
fetch_git "https://github.com/libretro/libretro-manifest.git" "libretro-manifest" "libretro/libretro-manifest"
|
|
|
|
fetch_git "https://github.com/libretro/libretrodb.git" "libretrodb" "libretro/libretrodb"
|
|
|
|
fetch_git "https://github.com/libretro/libretro-dat-pull.git" "libretro-dat-pull" "libretro/libretro-dat-pull"
|
|
|
|
fetch_git "https://github.com/libretro/libretro-common.git" "libretro-common" "libretro/common"
|
2015-02-19 05:55:56 +00:00
|
|
|
}
|
|
|
|
|
2015-02-21 09:16:30 +00:00
|
|
|
fetch_libretro_bsnes() {
|
|
|
|
fetch_project_bsnes "https://github.com/libretro/bsnes-libretro.git" "libretro-bsnes" "libretro/bSNES"
|
2015-02-10 17:59:47 +00:00
|
|
|
}
|
|
|
|
|
2015-02-14 01:55:27 +00:00
|
|
|
|
2015-02-18 07:17:47 +00:00
|
|
|
if [ -n "$1" ]; then
|
|
|
|
while [ -n "$1" ]; do
|
2015-02-21 08:55:22 +00:00
|
|
|
case "$1" in
|
|
|
|
fetch_libretro_*)
|
2015-02-21 09:16:30 +00:00
|
|
|
# "Old"-style
|
2015-02-21 08:55:22 +00:00
|
|
|
$1
|
|
|
|
;;
|
|
|
|
*)
|
2015-02-21 09:16:30 +00:00
|
|
|
# New style (just cores for now)
|
2015-02-21 08:55:22 +00:00
|
|
|
libretro_fetch_core $1
|
|
|
|
;;
|
|
|
|
esac
|
2015-02-14 01:27:24 +00:00
|
|
|
shift
|
|
|
|
done
|
2015-02-02 04:35:22 +00:00
|
|
|
else
|
2015-02-14 01:27:24 +00:00
|
|
|
fetch_retroarch
|
|
|
|
fetch_tools
|
2015-02-21 09:02:30 +00:00
|
|
|
|
2015-02-21 09:16:30 +00:00
|
|
|
# TODO: Modular rules-based fetch needed
|
2015-02-21 09:02:30 +00:00
|
|
|
fetch_libretro_bsnes
|
2015-02-21 09:16:30 +00:00
|
|
|
|
2015-02-21 09:02:30 +00:00
|
|
|
libretro_fetch_core snes9x
|
|
|
|
libretro_fetch_core snes9x_next
|
|
|
|
libretro_fetch_core genesis_plus_gx
|
|
|
|
libretro_fetch_core fb_alpha
|
|
|
|
libretro_fetch_core vba_next
|
|
|
|
libretro_fetch_core vbam
|
|
|
|
libretro_fetch_core handy
|
|
|
|
libretro_fetch_core bnes
|
|
|
|
libretro_fetch_core fceumm
|
|
|
|
libretro_fetch_core gambatte
|
|
|
|
libretro_fetch_core meteor
|
|
|
|
libretro_fetch_core nxengine
|
|
|
|
libretro_fetch_core prboom
|
|
|
|
libretro_fetch_core stella
|
|
|
|
libretro_fetch_core desmume
|
|
|
|
libretro_fetch_core quicknes
|
|
|
|
libretro_fetch_core nestopia
|
|
|
|
libretro_fetch_core tyrquake
|
|
|
|
libretro_fetch_core pcsx_rearmed
|
|
|
|
libretro_fetch_core mednafen_gba
|
|
|
|
libretro_fetch_core mednafen_lynx
|
|
|
|
libretro_fetch_core mednafen_ngp
|
|
|
|
libretro_fetch_core mednafen_pce_fast
|
|
|
|
libretro_fetch_core mednafen_supergrafx
|
|
|
|
libretro_fetch_core mednafen_psx
|
|
|
|
libretro_fetch_core mednafen_pcfx
|
|
|
|
libretro_fetch_core mednafen_snes
|
|
|
|
libretro_fetch_core mednafen_vb
|
|
|
|
libretro_fetch_core mednafen_wswan
|
|
|
|
libretro_fetch_core scummvm
|
|
|
|
libretro_fetch_core yabause
|
|
|
|
libretro_fetch_core dosbox
|
|
|
|
libretro_fetch_core virtualjaguar
|
|
|
|
libretro_fetch_core mame078
|
|
|
|
libretro_fetch_core mame139
|
|
|
|
libretro_fetch_core mame
|
|
|
|
libretro_fetch_core ffmpeg
|
|
|
|
libretro_fetch_core bsnes_cplusplus98
|
|
|
|
libretro_fetch_core bsnes_mercury
|
|
|
|
libretro_fetch_core picodrive
|
|
|
|
libretro_fetch_core tgbdual
|
|
|
|
libretro_fetch_core mupen64plus
|
|
|
|
libretro_fetch_core dinothawr
|
|
|
|
libretro_fetch_core uae
|
|
|
|
libretro_fetch_core 3dengine
|
|
|
|
libretro_fetch_core remotejoy
|
|
|
|
libretro_fetch_core bluemsx
|
|
|
|
libretro_fetch_core fmsx
|
|
|
|
libretro_fetch_core 2048
|
|
|
|
libretro_fetch_core vecx
|
|
|
|
libretro_fetch_core ppsspp
|
|
|
|
libretro_fetch_core prosystem
|
|
|
|
libretro_fetch_core o2em
|
|
|
|
libretro_fetch_core 4do
|
|
|
|
libretro_fetch_core catsfc
|
|
|
|
libretro_fetch_core stonesoup
|
|
|
|
libretro_fetch_core hatari
|
|
|
|
libretro_fetch_core tempgba
|
|
|
|
libretro_fetch_core gpsp
|
|
|
|
libretro_fetch_core emux
|
|
|
|
libretro_fetch_core fuse
|
2015-02-02 04:35:22 +00:00
|
|
|
fi
|