Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mkdir /home/pi/RetroPie/roms/amiga
- cd /home/pi/RetroPie/roms/amiga
- clear
- zip="/home/pi/RetroPie/roms/amiga/amigasnapped.zip"
- roms="/home/pi/RetroPie/roms/amiga/Xenon.adf"
- if [ -f "$roms" ]
- then
- echo "Romset already download and extracted. Please uninstall first."
- sleep 15
- else
- if [ -f "$zip" ]
- then
- echo "Romset main archive already there so Gamewizard will extract it now"
- sleep 5
- unzip -o /home/pi/RetroPie/roms/amiga/amigasnapped.zip -d /home/pi/RetroPie/roms/amiga
- sudo rm -f /home/pi/RetroPie/roms/amiga/amigasnapped.zip
- sudo rm -f /home/pi/RetroPie/roms/amiga/amigasnapped.zip.*
- clear
- if [ -f "$roms" ]
- then
- echo "Amiga romset correctly installed"
- sleep 15
- else
- echo "Something went wrong. Please check your free disk space or the server might be too busy."
- echo "Please try again and notice me of the problem on facebook or the forum."
- sleep 15
- fi
- else
- echo "Downloading and Extracting Romset"
- sleep 5
- wget -q -c --show-progress --limit-rate=1024k http://gamewizard.ca/full/amigasnapped.zip
- unzip -o /home/pi/RetroPie/roms/amiga/amigasnapped.zip -d /home/pi/RetroPie/roms/amiga
- sudo rm -f /home/pi/RetroPie/roms/amiga/amigasnapped.zip
- sudo rm -f /home/pi/RetroPie/roms/amiga/amigasnapped.zip.*
- if [ -f "$roms" ]
- then
- echo "Romset sucessfully installed."
- sleep 15
- else
- echo "Something went wrong. Please check your free disk space or the server might be too busy."
- echo "Please try again and notice me of the problem on facebook or the forum."
- sleep 15
- fi
- fi
- fi
- ###sudo reboot now
- cd /home/pi
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement