Skip to content

Commit

Permalink
Fixes mdeguzis#19 - Adds rudimentary Jaguar support.
Browse files Browse the repository at this point in the history
Command line args override config values, so this works by recycling the Nintendo DS configuration.
  • Loading branch information
elsonrodriguez committed Dec 30, 2015
1 parent a5cb6cb commit 2cb3202
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
12 changes: 11 additions & 1 deletion es-cfgs/es_systems.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ All systems must be contained within the <systemList> tag.-->
<platform>atarilynx</platform>
<theme>atarilynx</theme>
</system>
<system>
<name>atarijaguar</name>
<fullname>Atari Jaguar</fullname>
<path>installdir_temp/ROMs/Atari Jaguar</path>
<extension>.j64</extension>
<command>/usr/bin/retroarch --config config_temp/.config/retroarch/desmume_libretro.cfg -f -L /usr/lib/libretro/virtualjaguar_libretro.so %ROM%</command>
<platform>atarijaguar</platform>
<theme>atarijaguar</theme>
</system>
<system>
<name>gba</name>
Expand Down Expand Up @@ -189,7 +199,7 @@ All systems must be contained within the <systemList> tag.-->
<fullname>Sega Genesis</fullname>
<path>installdir_temp/ROMs/Sega Genesis<</path>
<extension>.bin .gen .zip</extension>
<command>antimicro --hidden --profile /home/obby/.retrorig-es/.config/antimicro/am_gensgs_ps3_blu.joystick.xml & /usr/bin/gens %ROM% && killall antimicro</command>
<command>antimicro --hidden --profile config_temp/.retrorig-es/.config/antimicro/am_gensgs_ps3_blu.joystick.xml & /usr/bin/gens %ROM% && killall antimicro</command>
<platform>genesis</platform>
<theme>genesis</theme>
</system>
Expand Down
10 changes: 10 additions & 0 deletions scriptmodules/helpers.shinc
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ while true; do
cmd=(dialog --backtitle "LibreGeek.org RetroRig Installer" --menu "Load ROMs for which system?" 20 32 24)
options=(1 "Atari 2600"
2 "Atari Lynx"
22 "Atari Jaguar"
3 "NES"
4 "SNES"
5 "Nintendo 64"
Expand Down Expand Up @@ -422,6 +423,15 @@ options=(1 "Atari 2600"
fi
;;

22)
#call file loader
h_file_loader
#copy Atari Jaguar ROMs
if [ -n "$folder" ]; then
cp -R "$folder"/* "$rootdir/ROMs/Atari Jaguar/"
fi
;;

3)
#call file loader
h_file_loader
Expand Down
3 changes: 3 additions & 0 deletions scriptmodules/setup.shinc
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function rrs_prepareFolders()
#setup skelton folders for ROMs
pathlist+=("$rootdir/ROMs/Atari 2600")
pathlist+=("$rootdir/ROMs/Atari Lynx")
pathlist+=("$rootdir/ROMs/Atari Jaguar")
pathlist+=("$rootdir/ROMs/Gamecube")
pathlist+=("$rootdir/ROMs/MAME")
pathlist+=("$rootdir/ROMs/mupen64plus")
Expand Down Expand Up @@ -114,6 +115,7 @@ function rrs_prepareFolders()
#Artwork
pathlist+=("$rootdir/Artwork/Atari 2600")
pathlist+=("$rootdir/Artwork/Atari Lynx")
pathlist+=("$rootdir/Artwork/Atari Jaguar")
pathlist+=("$rootdir/Artwork/Gamecube")
pathlist+=("$rootdir/Artwork/Nintendo 64")
pathlist+=("$rootdir/Artwork/Nintendo DS")
Expand Down Expand Up @@ -148,6 +150,7 @@ function rrs_prepareFolders()
#Saves (if any)
pathlist+=("$rootdir/Saves/Atari 2600")
pathlist+=("$rootdir/Saves/Atari Lynx")
pathlist+=("$rootdir/Saves/Atari Jaguar")
pathlist+=("$rootdir/Saves/MAME")
pathlist+=("$rootdir/Saves/dolphin-emu/GC")
pathlist+=("$rootdir/Saves/dolphin-emu/Wii")
Expand Down

0 comments on commit 2cb3202

Please sign in to comment.