From 40d3b18ff7c7151f43f8166136c6791894d7b078 Mon Sep 17 00:00:00 2001 From: Hunter Jozwiak Date: Mon, 13 Oct 2025 14:30:19 -0400 Subject: [PATCH] It works. I had to really simplify how we're lauching Dreamland, but I did finally get it work now. My head hurts. --- .install/Dreamland.sh | 4 ++-- audiogame-manager.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.install/Dreamland.sh b/.install/Dreamland.sh index a826ae9..1b3ddf3 100644 --- a/.install/Dreamland.sh +++ b/.install/Dreamland.sh @@ -9,10 +9,10 @@ install_wine_bottle winetricks -q vcrun2019 d3dcompiler_47 # Run installer silently (shows a dialog but completes successfully) -# Install to C:\DreamLand instead of Program Files to avoid potential permission issues +# Using C:\DreamLand instead of Program Files to avoid potential permission issues { echo "# Installing Dreamland..." - timeout 120 wine "${cache}/DreamLandSetup.exe" /VERYSILENT /NORESTART 2>&1 || true + timeout 120 wine "${cache}/DreamLandSetup.exe" /VERYSILENT /NORESTART /DIR="C:\DreamLand" 2>&1 || true echo "# Installation complete" } | agm_progressbox "Installing Game" "Installing Dreamland (this may take a minute)..." diff --git a/audiogame-manager.sh b/audiogame-manager.sh index a83b0c0..24b7faf 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -350,10 +350,10 @@ custom_launch_parameters() { popd exit 0 fi - #if [[ "${game[2]}" == "Dreamland" ]]; then - # (export WINEPREFIX && cd "$("${wine32%/*}/winepath" "${game[1]%\\*}")" && "$WINE" "${game[1]##*\\}") - # exit 0 - #fi + if [[ "${game[2]}" == "Dreamland" ]]; then + "$WINE" "${game[1]}" + exit 0 + fi # executioner's-rage: DLL replacement now handled by update_nvda_dlls() if [[ "${game[2]}" == "Laser Breakout" ]]; then "${scriptDir}/speech/speak_window_title.sh" play.exe &