Forums

[Script] GOG.com - Race Driver: Grid

Auteur Réponses
rogue-spectre Samedi 15 Novembre 2014 à 22:42
rogue-spectreAnonymous

Hi,

Description : Racing game developped by Codemaster

 

    I got Grid from GOG recently, since i saw that a script for the CD version was created. I also found a previous script for GOG there http://www.playonmac.com/fr/topic-10580-GOGcom__Race_Driver_GRID.html. I had to modify it since the gog files changed. The game was successfuly installed and run fine on a :

  • Xubuntu 14.04
  • POL 4.2.2
  • Nvidia drivers 341 ( from repositories )
  • wine version 1.7.30

In order to run it smoothly it's recommended to lower the graphics options. I tried with versions lower than the latest but i got problems with lights.

I also tried on an other computer with the same parameters mentioned above ( not the same hardware ), with the 4.2.5 version of POL, but the game, after a few seconds of race crash ( I'll upload a log if i cannot find where is the problem.

 

 

#!/bin/bash
# Date : (2013-06-01 17-00)
# Last revision : (2014-15-11 00-00)
# Wine version used : 1.7.30
# Distribution used to test : Xubuntu 14.04
# Authors : TonyFlow, rogue-spectre
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
 
[ -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_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

POL_SetupWindow_Init
#POL_SetupWindow_SetID
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Codemasters" "http://www.gog.com/gamecard/$GOGID" "TonyFlow,rogue-spectre" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "1f4a7a2c36212a3ede5915c700578c74" "035a1fe8d2d57b7146cb26422c6d7878" "b9fb8635c41d2b13e898df2c80283dde"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# GoG work!
Set_OS winxp

# Install DirectX9
POL_Call POL_Install_d3dx9_36

POL_SetupWindow_VMS "256"

# enable 1920x1080 screen
sed -e 's/maxWidth="1280"/maxWidth="1920"/' -i "$WINEPREFIX/drive_c/GOG Games/Race Driver GRID/system/hardware_settings_restrictions.xml"

# Doesn't hurt ;)
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_Shortcut_Document "$SHORTCUT_NAME" "$GOGPATH/Manuals/Manual FR.pdf"

POL_SetupWindow_Close

# Launch the language setup
POL_Wine "$WINEPREFIX/drive_c/GOG Games/Race Driver GRID/Language Setup.exe"

exit 0

Edité par Dadu042

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com