-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathcv-roms.sh
115 lines (104 loc) · 3.73 KB
/
cv-roms.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
#!/bin/bash
###
### Auto Installer of free Homebrew ROMS for Retropie/Emulationstation!
### !LEGALLY!
### Accepted File Extensions: .bin .col .rom .zip
###
clear
echo " "
echo " ======================================================================="
echo " Welcome to Games Auto Installer for RetroPie (Emulationstation)!"
echo " This package contains only free -> LEGAL GAMES!"
echo " Copyright goes to the owner of the particular game."
echo " Last update: 11th October 2018"
echo " "
echo " #######################################################################"
echo " WARNING!! This installer will remove existing ROMs & GAMELISTS!"
echo " #######################################################################"
echo " "
echo " List of all Homebrew games, which will be installed for Colecovision"
echo " can be found on: https://github.com/retrobrews/colecovision-games"
echo " "
echo " Please wait until end of installation."
echo " Emulation station will be started automatically at the end."
echo " ======================================================================="
echo " "
read -n 1 -s -p "Press any key to continue... OR Ctrl+C to stop operation"
echo " "
clear
echo " "
echo " ======================================================================="
echo " Downloading and Extracting Games to ROM directory, please wait..."
echo " ======================================================================="
echo " "
sleep 2
cd /home/pi/RetroPie/roms
if [ ! -d "coleco" ]; then
mkdir coleco
fi
cd coleco
###CLEAN EVERYTHING!
rm -rf *.*
### GAMES
wget --no-check-certificate -q -O master.zip 'https://codeload.github.com/retrobrews/colecovision-games/zip/master'
unzip master.zip
mv -v colecovision-games-master/* /home/pi/RetroPie/roms/coleco > /dev/null
rm -rf colecovision-games-master
rm *.zip
clear
echo " "
echo " ======================================================================="
echo " Downloading and Extracting Games to ROM directory, please wait..."
echo " ======================================================================="
echo " "
echo " DOWNLOAD ... done."
sleep 2
echo " "
echo " ======================================================================="
echo " Updating gamelist for Colecovision"
echo " ======================================================================="
echo " "
sleep 2
cd ~
cd /home/pi/.emulationstation/gamelists/
if [ ! -d "coleco" ]; then
mkdir coleco
fi
cd coleco
###CLEAN EVERYTHING!
rm -rf *.*
mv /home/pi/RetroPie/roms/coleco/gamelist.xml /home/pi/.emulationstation/gamelists/coleco > /dev/null
sleep 2
cd /home/pi
rm cv-roms.sh
clear
echo " "
echo " ======================================================================="
echo " Updating gamelist for Colecovision"
echo " ======================================================================="
echo " "
echo " GAMELIST UPDATE ... done."
sleep 2
clear
echo " "
echo " ======================================================================="
echo " Installation is Complete..."
echo " ======================================================================="
echo " "
echo " *** NOTE: DO NOT FORGET TO INSTALL CV EMULATOR MANUALLY! ***"
echo " "
echo " This script was not written by developers of RetroPie, Emulationstation"
echo " or any Homebrew/Free game"
echo " "
echo " For further support on this script please email to: "
echo " retrobrews {CAT} gmail {DOG} com"
echo " ======================================================================="
echo " BIG THANKS GOING to: "
echo " various sources over the internet for the awesome games & covers!!"
echo " ======================================================================="
echo " "
echo " Enjoy the new games. Now script will run Emulationstation, please wait."
echo " "
echo " "
sleep 15
emulationstation