Forums

[Script] Gabriel Knight 1 - 20th anniversary edition

GOG version

Auteur Réponses
Pingouache Samedi 25 Octobre 2014 à 14:53
PingouacheAnonymous

Hello,

A PoL script does exist for GK1, but not yet for the brand new remake (20th anniversary edition). I did a very simple script for the GOG installer, and tested it on openSUSE 13.2 RC1. Everything works perfectly on my computer, and the script is also suitable to install the new patch (2.0.1.3) which is also available on GOG.

It's my first script ever, so every comment is welcome!

#!/bin/bash
# Date : (2014-10-25 15-30)
# Last revision : (2014-10-25 15-30)
# Wine version used : 1.7.28
# Distribution used to test : openSUSE 13.2 RC1
# Author : Frédéric Santos frederic.santos@aol.fr
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="GOG.com - Gabriel Knight 1 - 20th anniversary"
PREFIX="GK1_20th_gog"
SHORTCUT_NAME="Gabriel Knight 1: Sins of the Fathers - 20th anniversary edition"
WORKING_WINE_VERSION="1.7.28"
GOGID="gabriel_knight_sins_of_the_fathers_20th_anniversary_edition"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Phoenix Online Studios" "Retailer: www.gog.com" "Frédéric Santos" "$PREFIX"
 
POL_Call POL_GoG_setup "$GOGID" "15dbbb7846db05599bba0c810a2f6c38"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_Call POL_GoG_install
 
# OS and memory settings
Set_OS win7
 
POL_SetupWindow_VMS "512"
 
# End
POL_Wine_reboot
 
POL_Shortcut "GK1.exe" "$SHORTCUT_NAME" "" "" "Game;AdventureGame;"
 
POL_SetupWindow_Close
 
exit 0

Thanks!

Edité par Pingouache

Pingouache Samedi 25 Octobre 2014 à 17:59
PingouacheAnonymous

In order to have some feedbacks, I have created a page here:

https://www.playonlinux.com/en/app-2321-GOGcom__Gabriel_Knight_1_Sins_of_the_Fathers__20th_anniversary_edition.html

and I posted it on GK's forum. I think that players from there are more likely to test it. ;)

petch Samedi 25 Octobre 2014 à 18:44
petch
Développeur

Hi,

I don't think there's much to say about the script, looks ok to me so I validated it as-is.

Cheers,

Pierre.
 

Struwelpeter Mardi 30 Décembre 2014 à 13:44
StruwelpeterAnonymous

Edit: Sorry, realised this is not the place for feedback. Moved post accordingly.

Edité par Struwelpeter