Skip to content

Commit

Permalink
馃憣 IMPROVE: Change message text
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcerrejon committed Oct 2, 2020
1 parent 89c3bfa commit f39fd47
Show file tree
Hide file tree
Showing 15 changed files with 34 additions and 34 deletions.
4 changes: 2 additions & 2 deletions scripts/games/arx.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Arx Libertatis (AKA Arx Fatalis)
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.0.4 (30/Sep/20)
# Version : 1.0.5 (02/Oct/20)
# Compatible : Raspberry Pi 4 (fail)
#
# Help : https://wiki.arx-libertatis.org/Downloading_and_Compiling_under_Linux
Expand Down Expand Up @@ -150,7 +150,7 @@ install() {
install_binaries
generate_icon
echo
read -p "Do you have an original copy of Arx Fatalis (If not, a Shareware version will be installed) (y/N)?: " response
read -p "Do you have an online copy of Arx Fatalis (If not, a Shareware version will be installed) (y/N)?: " response
if [[ $response =~ [Yy] ]]; then
choose_data_files
if ! message_magic_air_copy "$DATA_URL"; then
Expand Down
6 changes: 3 additions & 3 deletions scripts/games/avp.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Aliens versus Predator
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.0.0 (02/Aug/20)
# Version : 1.0.2 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested)
#
# Help : https://www.raspberrypi.org/forums/viewtopic.php?t=100152
Expand Down Expand Up @@ -72,7 +72,7 @@ post_install() {
return 0
fi

mv "$INSTALL_DIR"/avp/.avp "$HOME"
cp -f "$INSTALL_DIR"/avp/.avp "$HOME"
}

install() {
Expand All @@ -81,7 +81,7 @@ install() {
post_install
generate_icon
echo
read -p "Do you have an original copy of Aliens versus Predator (1999 video game) (y/N)?: " response
read -p "Do you have an online copy of Aliens versus Predator (1999 video game) (y/N)?: " response
if [[ $response =~ [Nn] ]]; then
rm -rf "$INSTALL_DIR"/avp/avp_huds "$INSTALL_DIR"/avp/avp_rifs "$INSTALL_DIR"/avp/fastfile
echo -e "\nCopy your files with lowew case on $INSTALL_DIR/avp, cd into the game directory and type ./avp -f (f for full screen)"
Expand Down
4 changes: 2 additions & 2 deletions scripts/games/blood.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Blood
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.0.3 (30/Sep/20)
# Version : 1.0.4 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested)
#
# Help : https://www.techradar.com/how-to/how-to-run-wolfenstein-3d-doom-and-duke-nukem-on-your-raspberry-pi
Expand Down Expand Up @@ -107,7 +107,7 @@ install() {
download_binaries
generate_icon
echo
read -p "Do you have an original copy of Blood (y/N)? " response
read -p "Do you have an online copy of Blood (y/N)? " response
if [[ $response =~ [Yy] ]]; then
DATA_URL=$(extract_url_from_file 4)
if ! message_magic_air_copy "$DATA_URL"; then
Expand Down
4 changes: 2 additions & 2 deletions scripts/games/bstone.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Bstone: A source port of Blake Stone: Aliens Of Gold and Blake Stone: Planet Strike.
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.0.2 (30/Sep/20)
# Version : 1.0.3 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested on Raspberry Pi 4)
#
. ./scripts/helper.sh || . ./helper.sh || wget -q 'https://github.com/jmcerrejon/PiKISS/raw/master/scripts/helper.sh'
Expand Down Expand Up @@ -110,7 +110,7 @@ install() {
[[ ! -d "$CONFIG_DIR" ]] && mkdir -p "$CONFIG_DIR"
cp "$INSTALL_DIR"/bstone/bstone_config.txt "$CONFIG_DIR"
echo
read -p "Do you have an original copy of Blake Stone: Aliens of Gold & Blake Stone: Planet Strike (If not, Shareware of Aliens of Gold will be installed) (Y/n)?: " response
read -p "Do you have an online copy of Blake Stone: Aliens of Gold & Blake Stone: Planet Strike (If not, Shareware of Aliens of Gold will be installed) (Y/n)?: " response
if [[ $response =~ [Nn] ]]; then
# Yes, I know. It's a little bit tricky. Who cares? ;)
rm -rf "$INSTALL_DIR"/bstone/data-full
Expand Down
4 changes: 2 additions & 2 deletions scripts/games/cdoom.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Crispy-Doom ver. 5.8.0 to play DOOM & Heretic
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.6.3 (30/Sep/20)
# Version : 1.6.4 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested)
#
# HELP : To compile crispy-doom, follow the instructions at https://github.com/fabiangreffrath/crispy-doom
Expand Down Expand Up @@ -124,7 +124,7 @@ install() {
menu() {
clear
echo
read -p "Do you have an original copy of Doom/Heretic (If not, a Shareware version will be installed) (Y/n)?: " response
read -p "Do you have an online copy of Doom/Heretic (If not, a Shareware version will be installed) (Y/n)?: " response
if [[ $response =~ [Nn] ]]; then
share_version
LICENSE="Shareware"
Expand Down
4 changes: 2 additions & 2 deletions scripts/games/diablo.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Diablo for Raspberry Pi
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.1.0 (01/Oct/20)
# Version : 1.1.1 (02/Oct/20)
# Compatible : Raspberry Pi 3-4 (tested)
#
# Help : https://github.com/diasurgical/devilutionX/
Expand Down Expand Up @@ -76,7 +76,7 @@ install() {
mv "$INSTALL_DIR"/devilutionx-linux-armhf "$INSTALL_DIR"/diablo1
generate_icon
echo
read -p "Do you have an original copy of Diablo 1 (Y/n)? " response
read -p "Do you have an online copy of Diablo 1 (Y/n)? " response
if [[ $response =~ [Nn] ]]; then
echo -e "\nPlease, copy diabdat.mpq inside $INSTALL_DIR/diablo1"
return 1
Expand Down
4 changes: 2 additions & 2 deletions scripts/games/diablo2.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Diablo 2 Exp. Spanish for Raspberry Pi
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.1.2 (30/Sep/20)
# Version : 1.1.3 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested)
#
# Info : Thks to PI Labs and Notaz
Expand Down Expand Up @@ -114,7 +114,7 @@ install() {
copy_run_script
generate_icon
echo
read -p "Do you have an original copy of Diablo 2 (Y/n)? " response
read -p "Do you have an online copy of Diablo 2 (Y/n)? " response
if [[ $response =~ [Nn] ]]; then
download_binaries
echo -e "\nDone. Please, copy Diablo2 file games inside $INSTALL_DIR/diablo2"
Expand Down
6 changes: 3 additions & 3 deletions scripts/games/dune2.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Dune 2
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.3.1 (26/Jun/20)
# Version : 1.3.2 (02/Oct/20)
# Compatible : Raspberry Pi 1-4 (tested)
#
. ./scripts/helper.sh || . ./helper.sh || wget -q 'https://github.com/jmcerrejon/PiKISS/raw/master/scripts/helper.sh'
Expand Down Expand Up @@ -45,12 +45,12 @@ askDownloadDataFiles() {
--title "[ Download Dune 2 Abandonware ]" \
--yes-label "Yes" \
--no-label "No" \
--yesno "You need the original .PAK files from the original game. Do you want to download? (In some countries the laws may consider it pirate software)" 7 55
--yesno "You need the online .PAK files from the online game. Do you want to download? (In some countries the laws may consider it pirate software)" 7 55
retval=$?

case $retval in
0) echo -e "Installing...\n"; downloadData; return 0 ;;
1) clear ; echo --e "\nPlease copy into ~/.config/dunelegacy/data all the .PAK files from the original game. " ; return 0 ;;
1) clear ; echo --e "\nPlease copy into ~/.config/dunelegacy/data all the .PAK files from the online game. " ; return 0 ;;
esac
}

Expand Down
4 changes: 2 additions & 2 deletions scripts/games/eduke32.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Duke Nukem 3D
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.0.3 (30/Sep/20)
# Version : 1.0.4 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested)
#
# Help : https://www.techradar.com/how-to/how-to-run-wolfenstein-3d-doom-and-duke-nukem-on-your-raspberry-pi
Expand Down Expand Up @@ -110,7 +110,7 @@ install() {
download_binaries
generate_icon
echo
read -p "Do you have an original copy of Duke Nukem Atomic Edition (If not, a shareware version will be installed) (y/N)?: " response
read -p "Do you have an online copy of Duke Nukem Atomic Edition (If not, a shareware version will be installed) (y/N)?: " response
if [[ $response =~ [Yy] ]]; then
DATA_URL=$(extract_url_from_file 1)

Expand Down
4 changes: 2 additions & 2 deletions scripts/games/half-life.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Half Life thks to Salva (Pi Labs)
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.0.6 (01/Oct/20)
# Version : 1.0.7 (02/Oct/20)
# Compatible : Raspberry Pi (tested)
# Repository : https://github.com/ValveSoftware/halflife
#
Expand Down Expand Up @@ -82,7 +82,7 @@ install() {
download_and_extract "$BINARY_URL" "$INSTALL_DIR"
generate_icon
echo
read -p "Do you have an original copy of Half Life (Y/n)?: " response
read -p "Do you have an online copy of Half Life (Y/n)?: " response
if [[ $response =~ [Nn] ]]; then
echo -e "\nDone!. Now copy the /valve directory inside $INSTALL_DIR/half-life"
exit_message
Expand Down
4 changes: 2 additions & 2 deletions scripts/games/openmw.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : OpenMW (The Elder Scrolls III: Morrowind engine)
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.0.3 (30/Sep/20)
# Version : 1.0.4 (02/Oct/20)
# Compatible : Raspberry Pi 3-4
#
source ../helper.sh || source ./scripts/helper.sh || source ./helper.sh || wget -q 'https://github.com/jmcerrejon/PiKISS/raw/master/scripts/helper.sh'
Expand Down Expand Up @@ -87,7 +87,7 @@ install() {
installPackagesIfMissing "${PACKAGES[@]}"
clear
echo
read -p "Do you have an original copy of The Elder Scroll III: Morrowind (If not, only OpenMW binaries will be installed) (y/N)?: " response
read -p "Do you have an online copy of The Elder Scroll III: Morrowind (If not, only OpenMW binaries will be installed) (y/N)?: " response
if [[ $response =~ [Yy] ]]; then
DATA_URL="$(extract_url_from_file 12)"

Expand Down
4 changes: 2 additions & 2 deletions scripts/games/openxcom.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : OpenXcom with the help of user chills340
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.1.0 (30/Sep/20)
# Version : 1.1.1 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested)
#
# Help : https://www.ufopaedia.org/index.php/Compiling_with_CMake_(OpenXcom)
Expand Down Expand Up @@ -112,7 +112,7 @@ install() {
download_binaries
generate_icon
echo
read -p "Do you have an original copy of X-Com:Enemy Unknow (y/N)? " response
read -p "Do you have an online copy of X-Com:Enemy Unknow (y/N)? " response
if [[ $response =~ [Yy] ]]; then
download_data_files "$INSTALL_DIR/openxcom"
end_message
Expand Down
8 changes: 4 additions & 4 deletions scripts/games/quake.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Quake I, ][, ]I[
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.3.0 (30/Sep/20)
# Version : 1.3.1 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested)
#
# Help : Quake 1: | https://godmodeuser.com/p/8#40
Expand Down Expand Up @@ -123,7 +123,7 @@ q1_soundtrack_download() {

q1_magic_air_copy() {
echo
read -p "Do you have an original copy of Quake (If not, a shareware version will be installed) (y/N)?: " response
read -p "Do you have an online copy of Quake (If not, a shareware version will be installed) (y/N)?: " response
if [[ $response =~ [Yy] ]]; then
Q1_DATA_URL=$(extract_url_from_file 15)

Expand Down Expand Up @@ -241,7 +241,7 @@ q2_high_textures_download() {

q2_magic_air_copy() {
echo
read -p "Do you have an original copy of Quake ][ (If not, a shareware version will be installed) (y/N)?: " response
read -p "Do you have an online copy of Quake ][ (If not, a shareware version will be installed) (y/N)?: " response
if [[ $response =~ [Yy] ]]; then
Q2_DATA_URL=$(extract_url_from_file 5)

Expand Down Expand Up @@ -354,7 +354,7 @@ q3_install_binary() {

q3_magic_air_copy() {
echo
read -p "Do you have an original copy of Quake ]I[ (y/N)?: " response
read -p "Do you have an online copy of Quake ]I[ (y/N)?: " response
if [[ $response =~ [Yy] ]]; then
Q3_DATA_URL=$(extract_url_from_file 13)

Expand Down
4 changes: 2 additions & 2 deletions scripts/games/rwolf.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Return to Castle Wolfenstein for Raspberry Pi
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 0.9.1 (17/Aug/20)
# Version : 0.9.2 (02/Oct/20)
# Compatible : Raspberry Pi 1, 2 & 3 (tested)
# TIP : You need at least 160 GB assigned to GPU
#
Expand Down Expand Up @@ -57,7 +57,7 @@ install(){
dialog --title "[ Return to Castle Wolfenstein. PAK License ]" \
--yes-label "Shareware (112MB)" \
--no-label "Complete (646MB)" \
--yesno "Choose what type of PAK files do you want to install. NOTE: For complete version, you must be the owner of the original game (in some countries)" 7 55
--yesno "Choose what type of PAK files do you want to install. NOTE: For complete version, you must be the owner of the online game (in some countries)" 7 55

retval=$?

Expand Down
4 changes: 2 additions & 2 deletions scripts/games/ssam.sh
Expand Up @@ -2,7 +2,7 @@
#
# Description : Serious Sam 1 & 2
# Author : Jose Cerrejon Gonzalez (ulysess@gmail_dot._com)
# Version : 1.2.0 (30/Sep/20)
# Version : 1.2.1 (02/Oct/20)
# Compatible : Raspberry Pi 4 (tested)
#
# Help : https://www.raspberrypi.org/forums/viewtopic.php?t=200458
Expand Down Expand Up @@ -167,7 +167,7 @@ Install Serious Sam 1 or 2
路 Optimized for Raspberry Pi 4.
路 I want to thanks Pi Labs & ptitSeb for the help.
"
read -p "Do you have an original copy of Serious Sam (If not, only the binaries will be installed) (Y/n)?: " response
read -p "Do you have an online copy of Serious Sam (If not, only the binaries will be installed) (Y/n)?: " response
if [[ $response =~ [Nn] ]]; then
install_binaries
fi
Expand Down

0 comments on commit f39fd47

Please sign in to comment.