Files
audiogame-manager/.install/Mist World.sh
Hunter Jozwiak 7ff1cd57f7 Update the installer for Mistworld.
After some time cussin and spittin tobaccer juice, I've gotten things
somewhat working.
Namely:
* Set the WINEARCH to win32 (it was thinking the game was 64-bit)
* Setting the WINEPREFIX to the new path to reflect architectural
changes.
* Removing the unnecessary call to install SAPI.

The notable problem was that for whatever reason the compiled
nvdaControllerClient32.dll the manager was fetching did *not* work
with the game. It complained about testIfRunning not being present in
the compiled executable, which it certainly was.
If you have a spare copy of the DLL lying around that works you should
back that up and if you switch to the testing branch copy it *both* to
AGM cache and the game directory.
2025-09-09 17:24:29 -04:00

20 lines
1.2 KiB
Bash

export WINEARCH="win32"
export winVer="win7"
export WINEPREFIX="$HOME/.local/wine32"
get_installer "Mist World_Setup.exe" "https://drive.google.com/uc?export=download&id=12YeUqorkkMT46ZSR5pcfWxSY8DHOLxZ-"
install_with_progress 7z "Extracting game files..." x -o"$WINEPREFIX/drive_c/Program Files/Mist World" "$cache/Mist World_Setup.exe"
sed -i 's/1024m/768m/g' "$WINEPREFIX/drive_c/Program Files/Mist World/mw.exe.vmoptions"
cp "$WINEPREFIX/drive_c/Program Files/Mist World/"{mw.exe.vmoptions,update.exe.vmoptions}
mkdir "$WINEPREFIX/drive_c/Program Files/Mist World/"{user,users}
add_launcher 'c:\Program Files\Mist World\mw.exe'
echo
echo "If you do not have an account, There is a script in game-scripts to help."
echo "Launch the game, press enter on create account, then drop into a console so the game window does not lose focus."
echo "Change to the game-scripts directory and run"
echo "./mist_world_account_creator.sh and follow the prompts."
echo
echo "To login, type your email address, press tab, and type your password."
echo "If you want to enable automatic login, press tab two times followed by space, then tab and enter."
echo "If you do not want to auto login, you can just press enter after typing your password."
alert