#!/bin/bash
[ -z
"$PLAYONLINUX"
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
GOGID=
"wizardry_8"
PREFIX=
"Wizardry8_gog"
WORKING_WINE_VERSION=
"1.6.2"
TITLE=
"GOG.com - Wizardry 8"
SHORTCUT_NAME=
"Wizardry 8"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1710
POL_Debug_Init
POL_Call
POL_GoG_setup
"$GOGID"
--alternate
"setup_$GOGID"
"1"
"10deb68474ef67ecd8bd414407ffbdf3"
POL_Wine_SelectPrefix
"$PREFIX"
POL_Wine_PrefixCreate
"$WORKING_WINE_VERSION"
POL_Call
POL_GoG_install
POL_Call
POL_Install_mfc42
cat
<< _EOF_ >
"$WINEPREFIX/drive_c/GOG Games/Wizardry 8/3DVideo.CFG"
Glide2x
800
600
16
RAD Game Tools RSX 3D Audio
_EOF_
POL_System_TmpCreate
"$PREFIX"
cat
<< _EOFREG_ >
"$POL_System_TmpDir/settings.reg"
[HKEY_CURRENT_USER\\Software\\Zeus Software\\nGlide]
"Aspect"
=
"1"
"Gamma"
=
"5"
"Refresh"
=
"0"
"Resolution"
=
"1"
"Splash"
=
"0"
"Vsync"
=
"1"
_EOFREG_
POL_Wine
regedit
"$POL_System_TmpDir/settings.reg"
POL_System_TmpDelete
POL_Shortcut
"Wiz8.EXE"
"$SHORTCUT_NAME"
"$SHORTCUT_NAME.png"
""
"Game;RolePlaying;"
POL_Shortcut_Document
"$SHORTCUT_NAME"
"$WINEPREFIX/drive_c/GOG Games/Wizardry 8/Wizardry 8 - Manual.pdf"
POL_SetupWindow_Close
cat
<<_EOF_ >
"$POL_USER_ROOT/configurations/configurators/$SHORTCUT_NAME"
#!/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/Wizardry 8/"
||
exit
1
TITLE=
"$TITLE"
POL_Wine
nglide_config.exe
exit
0
_EOF_
exit
0