Updated some games and some capatibility functions.

This commit is contained in:
Storm Dragon
2026-04-23 13:37:23 -04:00
parent a9387ddd6a
commit ae4e43cabf
3 changed files with 5 additions and 2 deletions

View File

@@ -250,6 +250,7 @@ download() {
dest="${sourceUrl##*/}" dest="${sourceUrl##*/}"
dest="${dest//%20/ }" dest="${dest//%20/ }"
dest="${dest#*\?filename=}" dest="${dest#*\?filename=}"
dest="${dest#*\?file=}"
dest="${dest%\?*}" dest="${dest%\?*}"
[[ -s "${cache}/${dest}" ]] || rm -f "${cache:?}/${dest}" 2> /dev/null [[ -s "${cache}/${dest}" ]] || rm -f "${cache:?}/${dest}" 2> /dev/null

View File

@@ -15,6 +15,7 @@ fi
gameName="${installerPath##*/}" gameName="${installerPath##*/}"
gameName="${gameName%.sh}" gameName="${gameName%.sh}"
game="${game:-${gameName}}"
installPath="${installPath:-${HOME}/.local/games}" installPath="${installPath:-${HOME}/.local/games}"
cache="${cache:-${XDG_CACHE_HOME:-${HOME}/.cache}/stormux-game-install}" cache="${cache:-${XDG_CACHE_HOME:-${HOME}/.cache}/stormux-game-install}"
launchRoot="${launchRoot:-${HOME}/.local/.launch}" launchRoot="${launchRoot:-${HOME}/.local/.launch}"
@@ -22,7 +23,7 @@ redownload="${redownload:-false}"
ipfsGateway="${ipfsGateway:-https://ipfs.stormux.org}" ipfsGateway="${ipfsGateway:-https://ipfs.stormux.org}"
fex="${fex:-}" fex="${fex:-}"
export installPath cache launchRoot redownload ipfsGateway fex gameName export installPath cache launchRoot redownload ipfsGateway fex gameName game
safe_log_name() { safe_log_name() {
local name="$1" local name="$1"

View File

@@ -1,4 +1,5 @@
download "http://files.l-works.net/judgmentdayfullsetup.exe" # shellcheck shell=bash disable=SC2154 # cache is set by audiogame-manager
download "https://www.l-works.net/files/judgmentdayfullsetup.exe"
install_wine_bottle vb6run dx8vb quartz install_wine_bottle vb6run dx8vb quartz
wine "${cache}/judgmentdayfullsetup.exe" /silent wine "${cache}/judgmentdayfullsetup.exe" /silent
cat << EOF > /tmp/judgementday.reg cat << EOF > /tmp/judgementday.reg