The forum

[script] GOG.com - Retro City Rampage DX

Author Replies
felGru Saturday 6 June 2015 at 11:38
felGruAnonymous

#!/bin/bash
# Date : (2015-06-05 22-51)
# Last revision : (2015-06-05 22-51)
# Wine version used : 1.7.44
# Distribution used to test : Debian Stretch (Testing)
# Author : Felix Gruber <felgru@gmx.de>
#    authors of original script
#           Pierre Etchemaite pe-pol@concept-micro.com
#           Ulukyn
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
GOGID="retro_city_rampage_dx"
PREFIX="RetroCityRampageDX_gog"
WORKING_WINE_VERSION="1.7.44"
 
TITLE="GOG.com - Retro City Rampage DX"
SHORTCUT_NAME="Retro City Rampage DX"
 
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 970
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Vblank Entertainment Inc." "http://www.gog.com/gamecard/$GOGID" "Felix Gruber" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "c0c5a94509bf5338a0883fa0a1358c4b"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install
 
# Necessary, since we get a black screen while playing otherwise.
POL_Call POL_Install_d3dx9_36
 
 
# GoG work!
Set_OS winxp
 
POL_SetupWindow_VMS "128"
 
# Doesn't hurt ;)
POL_Wine_reboot
 
POL_Shortcut "retrocityrampage.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;AdventureGame;"
POL_Shortcut_Document "$SHORTCUT_NAME" "$WINEPREFIX/drive_c/GOG Games/Retro City Rampage/manual.pdf"
 
POL_SetupWindow_Close
 
exit 0

 

Edited by felGru

petch Saturday 6 June 2015 at 16:24
petch

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