#!/bin/bash
[ -z
"$PLAYONLINUX"
] &&
exit
0
source
"$PLAYONLINUX/lib/sources"
GOGID=
"race_driver_grid"
PREFIX=
"GRID_gog"
WORKING_WINE_VERSION=
"1.7.30"
TITLE=
"GOG.com - Race Driver: GRID"
SHORTCUT_NAME=
"Race Driver: GRID"
POL_SetupWindow_Init
POL_Debug_Init
POL_Call
POL_GoG_setup
"$GOGID"
"1f4a7a2c36212a3ede5915c700578c74"
"035a1fe8d2d57b7146cb26422c6d7878"
"b9fb8635c41d2b13e898df2c80283dde"
POL_Wine_SelectPrefix
"$PREFIX"
POL_Wine_PrefixCreate
"$WORKING_WINE_VERSION"
POL_Call
POL_GoG_install
Set_OS winxp
POL_Call
POL_Install_d3dx9_36
POL_SetupWindow_VMS
"256"
sed
-e
's/maxWidth="1280"/maxWidth="1920"/'
-i
"$WINEPREFIX/drive_c/GOG Games/Race Driver GRID/system/hardware_settings_restrictions.xml"
POL_Wine_reboot
GOGPATH=
"$GOGROOT/Race Driver GRID"
POL_Shortcut
"GRID.exe"
"$SHORTCUT_NAME"
"$SHORTCUT_NAME.png"
""
"Game;SportsGame"
POL_Shortcut_Document
"$SHORTCUT_NAME"
"$GOGPATH/Manuals/Manual.pdf"
POL_SetupWindow_Close
POL_Wine
"$WINEPREFIX/drive_c/GOG Games/Race Driver GRID/Language Setup.exe"
exit
0