Files
audiogame-manager/.install/Dreamland.sh
Hunter Jozwiak 40d3b18ff7 It works.
I had to really simplify how we're lauching Dreamland, but I did
finally get it work now. My head hurts.
2025-10-13 14:30:19 -04:00

23 lines
796 B
Bash

export winVer="win10"
export WINEARCH=win32
export WINEPREFIX="$HOME/.local/wine32"
download https://scwl-1251129685.cos.ap-shanghai.myqcloud.com/dreamland/Win/DreamLandSetup.exe
install_wine_bottle
winetricks -q vcrun2019 d3dcompiler_47
# Run installer silently (shows a dialog but completes successfully)
# Using C:\DreamLand instead of Program Files to avoid potential permission issues
{
echo "# Installing Dreamland..."
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)..."
# Kill any game processes that may have auto-launched
wineserver -k 2>/dev/null || true
add_launcher "c:\DreamLand\DreamLand.exe"