-
Notifications
You must be signed in to change notification settings - Fork 0
/
POL-mystonline.sh
39 lines (31 loc) · 990 Bytes
/
POL-mystonline.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#!/usr/bin/env playonlinux-bash
# Date: 2021-01-13
# Wine version used: 5.7
# Distribution used to test: macOS 10.14.5 "Mojave" & Lubuntu 20.04 LTS 64bit
# Author: Korovev
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
TITLE="Myst Online: Uru Live (again)"
PREFIX="mystonline"
POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Cyan, Inc." "http://mystonline.com" "Korovev" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "5.7"
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
# Installing components
POL_Call POL_Install_winhttp
#POL_Call POL_Install_d3dx10
#POL_Call POL_Install_vcrun2012
#POL_Call POL_Install_crypt32
POL_Wine_WaitExit "$TITLE"
# Download & Install the game
curl -k -L -O "http://account.mystonline.com/download/MOULInstaller.exe"
POL_Wine MOULInstaller.exe
POL_Wine_WaitExit "$TITLE"
# Cleanup
POL_System_TmpDelete
POL_Shortcut "UruLauncher.exe" "Uru Live"
POL_SetupWindow_Close
exit