#!/bin/bash
[ -z
"$PLAYONLINUX"
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
GOGID=
"wallace_gromits_grand_adventures"
PREFIX=
"WallaceAndGromitGA_gog"
WORKING_WINE_VERSION=
"1.4.1"
TITLE=
"GOG.com - Wallace and Gromits Grand Adventures"
SHORTCUT_NAME1=
"Wallace and Gromit EP101: Fright of the Bumblebees"
SHORTCUT_NAME2=
"Wallace and Gromit EP102: The Last Resort"
SHORTCUT_NAME3=
"Wallace and Gromit EP103: Muzzled"
SHORTCUT_NAME4=
"Wallace and Gromit EP104: The Bogey Man"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1410
POL_Debug_Init
POL_Call
POL_GoG_setup
"$GOGID"
"afac7e24f26073901727f6b6e3d4f94e"
POL_Wine_SelectPrefix
"$PREFIX"
POL_Wine_PrefixCreate
"$WORKING_WINE_VERSION"
POL_Call
POL_GoG_install
"/nogui"
Set_OS winxp
POL_SetupWindow_VMS
"64"
POL_Call
POL_Install_d3dx9_36
POL_Wine_reboot
POL_Shortcut
"WallaceGromit101.exe"
"$SHORTCUT_NAME1"
""
""
"Game;AdventureGame;"
POL_Shortcut
"WallaceGromit102.exe"
"$SHORTCUT_NAME2"
""
""
"Game;AdventureGame;"
POL_Shortcut
"WallaceGromit103.exe"
"$SHORTCUT_NAME3"
""
""
"Game;AdventureGame;"
POL_Shortcut
"WallaceGromit104.exe"
"$SHORTCUT_NAME4"
""
""
"Game;AdventureGame;"
POL_SetupWindow_Close
for
SHORTCUT
in
"$SHORTCUT_NAME1"
"$SHORTCUT_NAME2"
"$SHORTCUT_NAME3"
"$SHORTCUT_NAME4"
;
do
cat
<<_EOF_ >
"$POL_USER_ROOT/configurations/configurators/$SHORTCUT"
#!/bin/bash
[ -z
"\$PLAYONLINUX"
] &&
exit
0
source
"\$PLAYONLINUX/lib/sources"
export
WINEPREFIX=
"\$POL_USER_ROOT/wineprefix/$PREFIX"
export
WINEDEBUG=
"-all"
POL_LoadVar_PROGRAMFILES
cd
"$GOGROOT/Wallace and Gromit's Grand Adventures/"
||
exit
1
TITLE=
"$TITLE"
POL_Wine
Language.exe
exit
0
_EOF_
done
exit
0