#!/bin/bash
[ -z
"$PLAYONLINUX"
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
GOGID=
"blackwell_bundle"
PREFIX=
"BlackwellBundle_gog"
WORKING_WINE_VERSION=
"3.0.3"
TITLE=
"GOG.com - Blackwell Bundle"
SHORTCUT_NAME1=
"Blackwell 1: The Blackwell Legacy"
SHORTCUT_NAME2=
"Blackwell 2: Blackwell Unbound"
SHORTCUT_NAME3=
"Blackwell 3: Blackwell Convergence"
SHORTCUT_NAME4=
"Blackwell 4: Blackwell Deception"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1288
POL_Debug_Init
POL_Call
POL_GoG_setup
"$GOGID"
"ef717235021813125b4e1230ec35487f"
POL_Wine_SelectPrefix
"$PREFIX"
POL_Wine_PrefixCreate
"$WORKING_WINE_VERSION"
POL_Call
POL_GoG_install
Set_OS winxp
POL_SetupWindow_VMS
"32"
POL_Wine_reboot
POL_Shortcut
"blackwell1.exe"
"$SHORTCUT_NAME1"
"$SHORTCUT_NAME1.png"
""
"Game;AdventureGame;"
POL_Shortcut_QuietDebug
"$SHORTCUT_NAME1"
POL_Shortcut
"Unbound.exe"
"$SHORTCUT_NAME2"
"$SHORTCUT_NAME2.png"
""
"Game;AdventureGame;"
POL_Shortcut_QuietDebug
"$SHORTCUT_NAME2"
POL_Shortcut
"Convergence.exe"
"$SHORTCUT_NAME3"
"$SHORTCUT_NAME3.png"
""
"Game;AdventureGame;"
POL_Shortcut_QuietDebug
"$SHORTCUT_NAME3"
POL_Shortcut
"Deception.exe"
"$SHORTCUT_NAME4"
"$SHORTCUT_NAME4.png"
""
"Game;AdventureGame;"
POL_Shortcut_QuietDebug
"$SHORTCUT_NAME4"
POL_SetupWindow_Close
cat
<<_EOF_ >
"$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME1"
#!/bin/bash
[ -z
"\$PLAYONLINUX"
] &&
exit
0
source
"\$PLAYONLINUX/lib/sources"
export
WINEPREFIX=
"\$POL_USER_ROOT/wineprefix/$PREFIX"
export
WINEDEBUG=
"-all"
POL_LoadVar_PROGRAMFILES
cd
"\$WINEPREFIX/drive_c/GOG Games/Blackwell Bundle/Episode 1 - The Blackwell Legacy/"
||
exit
1
TITLE=
"$TITLE"
POL_Wine
winsetup.exe
exit
0
_EOF_
cat
<<_EOF_ >
"$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME2"
#!/bin/bash
[ -z
"\$PLAYONLINUX"
] &&
exit
0
source
"\$PLAYONLINUX/lib/sources"
export
WINEPREFIX=
"\$POL_USER_ROOT/wineprefix/$PREFIX"
export
WINEDEBUG=
"-all"
POL_LoadVar_PROGRAMFILES
cd
"\$WINEPREFIX/drive_c/GOG Games/Blackwell Bundle/Episode 2 - Blackwell Unbound/"
||
exit
1
TITLE=
"$TITLE"
POL_Wine
winsetup.exe
exit
0
_EOF_
cat
<<_EOF_ >
"$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME3"
#!/bin/bash
[ -z
"\$PLAYONLINUX"
] &&
exit
0
source
"\$PLAYONLINUX/lib/sources"
export
WINEPREFIX=
"\$POL_USER_ROOT/wineprefix/$PREFIX"
export
WINEDEBUG=
"-all"
POL_LoadVar_PROGRAMFILES
cd
"\$WINEPREFIX/drive_c/GOG Games/Blackwell Bundle/Episode 3 - Blackwell Convergence/"
||
exit
1
TITLE=
"$TITLE"
POL_Wine
winsetup.exe
exit
0
_EOF_
cat
<<_EOF_ >
"$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME4"
#!/bin/bash
[ -z
"\$PLAYONLINUX"
] &&
exit
0
source
"\$PLAYONLINUX/lib/sources"
export
WINEPREFIX=
"\$POL_USER_ROOT/wineprefix/$PREFIX"
export
WINEDEBUG=
"-all"
POL_LoadVar_PROGRAMFILES
cd
"\$WINEPREFIX/drive_c/GOG Games/Blackwell Bundle/Episode 4 - Blackwell Deception/"
||
exit
1
TITLE=
"$TITLE"
POL_Wine
winsetup.exe
exit
0
_EOF_
exit
0