-
-
Save dudleydes/41c7fbc82c63faa6bf4bce240269c94b to your computer and use it in GitHub Desktop.
Scripts to create launch menu for Doom 1 PWADs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Place this file in /home/pi/RetroPie/roms/ports/ | |
#!/bin/bash | |
"/opt/retropie/supplementary/runcommand/runcommand.sh" 0 _PORT_ "doom1-mods" "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
#Script to select and launch mods (PWADs) for Doom 2 using libretro-prboom engine | |
#This script is untested | |
#Place this file in /opt/retropie/configs/ports/doom2-mods | |
#You will need to add emulators.cfg file to the same folder | |
# | |
menu(){ | |
cmd=(dialog --clear --nocancel --backtitle "Mod Launcher for Doom 2" --menu "Choose a mod for Doom 2." 22 86 16) | |
options=( | |
1 "Alien Vendetta" | |
2 "Batman Doom" | |
3 "Fistful of Doom" | |
4 "Simpsons_Doom" | |
0 "Return to EmulationStation" | |
) | |
choice=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) | |
case $choice in | |
1) | |
PRBOOM_FOLDER="alien" | |
;; | |
2) | |
PRBOOM_FOLDER="batman" | |
;; | |
3) | |
PRBOOM_FOLDER="fistful" | |
;; | |
4) | |
PRBOOM_FOLDER="simpsons | |
;; | |
0) | |
return 1 | |
;; | |
esac | |
echo `/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-prboom/prboom_libretro.so --config /opt/retropie/configs/doom/retroarch.cfg /home/pi/RetroPie/roms/ports/$PRBOOM_FOLDER/doom2.wad` | |
} | |
menu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
#Script to select and launch mods for Doom 1 | |
#Place this file in /opt/retropie/configs/ports/doom1-mods | |
# | |
menu(){ | |
cmd=(dialog --clear --nocancel --title "Mod (PWAD) Launcher for Doom" --menu "Choose a Mod for Doom 1." 22 86 16) | |
options=( | |
1 "Aliens TC" | |
2 "Tech Gone Mad" | |
3 "The Classic Episode" | |
0 "Return to EmulationStation" | |
) | |
choice=$("${cmd[@]}" "${options[@]}" 2>&1 >/dev/tty) | |
case $choice in | |
1) | |
CRISPY_FLAG="-episode 2 -deh /home/pi/RetroPie/roms/ports/doom-mods/ATCUD19.DEH -merge /home/pi/RetroPie/roms/ports/doom-mods/ALITCSF.WAD -file /home/pi/RetroPie/roms/ports/doom-mods/ALITCSND.WAD /home/pi/RetroPie/roms/ports/doom-mods/ALITCWAD.WAD" | |
;; | |
2) | |
CRISPY_FLAG="-warp 1 8 -file /home/pi/RetroPie/roms/ports/doom-mods/e1m8b.wad" | |
;; | |
3) | |
CRISPY_FLAG="-episode 2 -file /home/pi/RetroPie/roms/ports/doom-mods/Class_Ep.wad" | |
;; | |
0) | |
return 1 | |
;; | |
esac | |
} | |
launch(){ | |
if [[ "$choice" != 0 ]]; then | |
echo `/opt/retropie/ports/crispy-doom/crispy-doom -iwad /home/pi/RetroPie/roms/ports/doom/doom.wad $CRISPY_FLAG` | |
fi | |
} | |
menu | |
launch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Place this file in /opt/retropie/configs/ports/doom1-mods | |
Doom_PWAD_Launcher = "/opt/retropie/configs/ports/doom-mods/doom1-mods-dialog.sh" | |
default = "Doom_PWAD_Launcher" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment