diff --git a/.install/Alter Aeon.sh b/.install/Alter Aeon.sh index b87dce1..47875f2 100644 --- a/.install/Alter Aeon.sh +++ b/.install/Alter Aeon.sh @@ -1,3 +1,5 @@ +game="${0##*/}" +game="${game%.sh}" check_dependencies git sox tt++ git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-alteraeon.git | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 diff --git a/.install/EmpireMUD.sh b/.install/EmpireMUD.sh index f8de25f..ec824a8 100644 --- a/.install/EmpireMUD.sh +++ b/.install/EmpireMUD.sh @@ -1,3 +1,5 @@ +game="${0##*/}" +game="${game%.sh}" check_dependencies git sox tt++ git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-empiremud.git | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 diff --git a/.install/End of Time.sh b/.install/End of Time.sh index fa88532..b4a877e 100644 --- a/.install/End of Time.sh +++ b/.install/End of Time.sh @@ -1,3 +1,5 @@ +game="${0##*/}" +game="${game%.sh}" check_dependencies git opusdec sox tt++ git -C "${installPath}/" clone https://git.2mb.codes/~stormdragon2976/tintin-endoftime | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 diff --git a/.install/Legends of Kallisti.sh b/.install/Legends of Kallisti.sh new file mode 100644 index 0000000..054cda7 --- /dev/null +++ b/.install/Legends of Kallisti.sh @@ -0,0 +1,5 @@ +game="${0##*/}" +game="${game%.sh}" +check_dependencies git sox tt++ +git -C "${installPath}/" clone --recurse-submodules https://github.com:hjozwiak/tintin-kallisti-pack | \ + dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 diff --git a/.install/StickMUD.sh b/.install/StickMUD.sh index 01b80e9..ef63702 100644 --- a/.install/StickMUD.sh +++ b/.install/StickMUD.sh @@ -1,3 +1,5 @@ +game="${0##*/}" +game="${game%.sh}" check_dependencies git sox tt++ git -C "${installPath}/" clone --recurse-submodules https://github.com/stormdragon2976/tintin-stickmud.git | \ dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 diff --git a/.launch/Alter Aeon.game b/.launch/Alter Aeon.game index e67ca7c..b76f733 100644 --- a/.launch/Alter Aeon.game +++ b/.launch/Alter Aeon.game @@ -3,7 +3,7 @@ pushd "${mudPath%/*}" git pull | \ dialog --progressbox "Checking for updates, please wait..." -1 -1 if [[ -n "${COLORTERM}" ]]; then -terminal_emulator tt++ ${mudPath##*/} + terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}" else -tt++ ${mudPath##*/} + tt++ ${mudPath##*/} fi diff --git a/.launch/EmpireMUD.game b/.launch/EmpireMUD.game index ce542ae..c257e63 100644 --- a/.launch/EmpireMUD.game +++ b/.launch/EmpireMUD.game @@ -3,7 +3,7 @@ pushd "${mudPath%/*}" git pull | \ dialog --progressbox "Checking for updates, please wait..." -1 -1 if [[ -n "${COLORTERM}" ]]; then -terminal_emulator tt++ ${mudPath##*/} + terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}" else -tt++ ${mudPath##*/} + tt++ ${mudPath##*/} fi diff --git a/.launch/End of Time.game b/.launch/End of Time.game index 20cc68b..56c09dd 100644 --- a/.launch/End of Time.game +++ b/.launch/End of Time.game @@ -3,7 +3,7 @@ pushd "${mudPath%/*}" git pull | \ dialog --progressbox "Checking for updates, please wait..." -1 -1 if [[ -n "${COLORTERM}" ]]; then -terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}" + terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}" else -tt++ "${mudPath%/*}" "${mudPath##*/}" + tt++ "${mudPath%/*}" "${mudPath##*/}" fi diff --git a/.launch/Legends of Kallisti.game b/.launch/Legends of Kallisti.game new file mode 100644 index 0000000..e79b729 --- /dev/null +++ b/.launch/Legends of Kallisti.game @@ -0,0 +1,9 @@ +mudPath="${installPath}/tintin-kallisti-pack/kallisti.tin" +pushd "${mudPath%/*}" +git pull | \ +dialog --progressbox "Checking for updates, please wait..." -1 -1 +if [[ -n "${COLORTERM}" ]]; then + terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}" +else + tt++ ${mudPath##*/} +fi diff --git a/.launch/StickMUD.game b/.launch/StickMUD.game index 5e55e25..daa7e3e 100644 --- a/.launch/StickMUD.game +++ b/.launch/StickMUD.game @@ -4,7 +4,7 @@ pushd "${mudPath%/*}" git pull | \ dialog --progressbox "Checking for updates, please wait..." -1 -1 if [[ -n "${COLORTERM}" ]]; then -terminal_emulator tt++ ${mudPath##*/} + terminal_emulator "${mudPath%/*}" "tt++" "${mudPath##*/}" else -tt++ ${mudPath##*/} + tt++ ${mudPath##*/} fi