From ee0f6a041701a96a7523baf2b7c54e5a127f2835 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Sun, 27 Mar 2022 02:56:41 -0400 Subject: [PATCH] Added game "EmpireMUD". updated README. --- README.md | 4 ++++ linux-game-manager.sh | 16 +++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fe3e870..3897394 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,7 @@ While exceptions could probably be added for some of the games, AGM is already a Improper phase of the moon? You drew an imperfect circle when summoning the installer daemons? Your guess is as good as mine. In all seriousness, there are so many different configurations, computers, and distros out there, it is really difficult to give a detailed reason to the exact problem you are having. The best advice I can give is check your game's documentation for dependencies, and your distro's documentation for people who have had similar problems. + +## Q: I installed a game from Desktop or Downloads, where did it go? + +LGM moves games into place when installing them. So the game can be found in ~/.local/games/. This is to save disk space and not have the game in 2 places at once. diff --git a/linux-game-manager.sh b/linux-game-manager.sh index b217a9a..62fa022 100755 --- a/linux-game-manager.sh +++ b/linux-game-manager.sh @@ -282,10 +282,12 @@ game_launcher() { open_url "https://ko-fi.com/stormux" ;; *".tin") - pushd "${game%/*}" + git -C "${game%/*}" pull | \ + dialog --progressbox "Checking for updates, please wait..." -1 -1 if [[ -n "${COLORTERM}" ]]; then terminal_emulator tt++ ${game##*/} else + pushd "${game%/*}" exec tt++ ${game##*/} fi ;; @@ -318,12 +320,14 @@ unset noCache # Use menu friendly names. gameList=( "Aliens" + "Alter Aeon" "Audo" "Auroboros" "Battle Weary" "Bladius" "Chimera" "E.X.O." + "EmpireMUD" "Fantasy Story II" "Monkey Spank" "Numnastics" @@ -396,6 +400,11 @@ case "${game}" in dialog --backtitle "Linux Game manager" \ --infobox "${game} is a web based game and does not need to be installed." -1 -1 ;; + "Alter Aeon") + git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-alteraeon.git | \ + dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 + add_launcher "${installPath}/tintin-alteraeon/aa.tin" + ;; "Audo") get_installer "Audo-linux-x64.zip" "https://shiftbacktick.itch.io/audo" mkdir -p "${installPath}/Audo" @@ -426,6 +435,11 @@ case "${game}" in unzip -d "${installPath}/E.X.O." "${cache}/EXO-linux-x64.zip" add_launcher "${installPath}/E.X.O./EXO" ;; + "EmpireMUD") + git -C "${installPath}/" clone --recurse-submodules https://github.com/lilmike/tintin-empiremud.git | \ + dialog --progressbox "Installing \"${game}\", please wait..." -1 -1 + add_launcher "${installPath}/tintin-empiremud/em.tin" + ;; "Fantasy Story II") get_installer "FS2_2.6_Linux.zip" "https://drive.google.com/file/d/187OaD1HhPoty85yJafZyvfqD5_G3P04c/view?usp=sharing" unzip -d "${installPath}" "${cache}/FS2_2.6_Linux.zip"