From c3b1538b1418d483692c43c53255bd7cde56335c Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Sun, 25 Dec 2022 13:46:51 -0500 Subject: [PATCH 1/4] All wine bottles are now sandboxed. I think I have everything working like it should, but there certainly could be bugs. If you would like to help test, please install your favorite games and make sure they work just as well as before. --- audiogame-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index c28f41f..5a781da 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -551,7 +551,7 @@ install_wine_bottle() { cp "${cache}/nvda2speechd" "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" chmod +x "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" fi - winetricks -q $@ ${winVer:-winxp} ${winetricksSettings}; } | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 + winetricks -q sandbox $@ ${winVer:-winxp} ${winetricksSettings}; } | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 } From 92c0996d3743fa84abc76c0b82dd0b827059b581 Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Sun, 25 Dec 2022 17:21:49 -0500 Subject: [PATCH 2/4] Commented minecraft and hearthstone because they do not work. Not sure how they managed to get uncommented and pushed. --- audiogame-manager.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 5a781da..925d927 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -997,7 +997,7 @@ gameList=( "Grizzly Gulch" "Hammer of Glory" "haunted Party" - "Hearthstone" + #"Hearthstone" "Hunter" "Insect Therapy" "Interceptor" @@ -1013,7 +1013,7 @@ gameList=( "Manamon" "Manamon 2" #"Marina Break" - "Minecraft" + #"Minecraft" "Monkey Business" "MudSplat French" "MudSplat English" From d81f7617c3179b7381827fc04bd9895129332e7e Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Tue, 27 Dec 2022 17:37:09 -0500 Subject: [PATCH 3/4] Game "Christmas Chaos" added but commented out because Tolk.dll sucks. --- audiogame-manager.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 925d927..9e8c415 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -964,6 +964,7 @@ gameList=( "Challenge of the Horse" "Chillingham" #"Chopper Challenge" + #"Christmas Chaos" "Christmas WhoopAss" "Code Dungeon" "Coin Collector" @@ -1750,6 +1751,15 @@ case "${game}" in wine "${cache}/BC-Setup.exe" /silent #add_launcher "c:\Program Files\" ;; + "Christmas Chaos") + export WINEARCH=win64 + export winVer="win7" + install_wine_bottle speechsdk + download "https://repo.accessiware.com/games/christmaschaos/ChristmasChaos.zip" "https://github.com/RastislavKish/nvda2speechd/releases/download/v0.1/nvda2speechd64.dll" + unzip -d "$WINEPREFIX/drive_c/Program Files" "${cache}/ChristmasChaos.zip" + find "${WINEPREFIX}" -type f -name 'nvdaControllerClient64.dll' -exec cp -v "${cache}/nvda2speechd64.dll" "{}" \; + add_launcher "c:\Program Files\ChristmasChaos\ChristmasChaos.exe" + ;; "Christmas WhoopAss") install_wine_bottle vb6run dx8vb download "https://www.agarchive.net/games/draconis/christmas%20whoopass%20setup.exe" From 03dfcdbf0457b0e1dd851d046e0477d3d48c79f2 Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Mon, 2 Jan 2023 20:00:31 -0500 Subject: [PATCH 4/4] Fixed a bug in sandbox that could affect some installers. --- audiogame-manager.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 9e8c415..676277d 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -551,7 +551,7 @@ install_wine_bottle() { cp "${cache}/nvda2speechd" "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" chmod +x "${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/nvda2speechd" fi - winetricks -q sandbox $@ ${winVer:-winxp} ${winetricksSettings}; } | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 + winetricks -q isolate_home $@ ${winVer:-winxp} ${winetricksSettings}; } | dialog --progressbox "Installing wine bottle, please wait..." -1 -1 } @@ -2874,5 +2874,6 @@ export norh=false # Must install a voice, and rhvoice works easily with 64 bit. exit 1 ;; esac +winetricks sandbox exit 0