GOG.com - Splinter Cell

Informations

Créateur Messages
petch

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 15965
Wine: 3.0.3

Retours d'expérience

Description

English: One of the best games in the action/stealth genre!
(updated for GOG installer v2)

Français : Un des meilleurs jeux d'action/infiltration !
(mis à jour pour l'installeur GOG v2)

Captures d'écran

MiniatureMiniatureMiniatureMiniatureMiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2012-06-23 11-41)
# Last revision : see changelog
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-06-23 11-41)
#   Initial script.
# [Dadu042] (2020-04-19 17:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="splinter_cell"
PREFIX="SplinterCell_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Splinter Cell"
SHORTCUT_NAME="Tom Clancy's Splinter Cell"

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 1272
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ubisoft Montréal / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "66ca4861f727eddc2ce641670497962c"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

cat <<_EOFFUNC_ > "$GOGROOT/Splinter Cell/system/splinter_funcs"

read_sc_settings () {
  [ -z "\$WINEPREFIX" ] && POL_Debug_Fatal 'read_sc_settings: \$WINEPREFIX must be set'
  perl -ne 'print "SCWIDTH=\$1\nSCHEIGHT=\$2\n" if /^Resolution=(\d+)x(\d+)/' "$GOGROOT/Splinter Cell/system/SplinterCellUser.ini"
}

sync_resolutions () {
  eval \$(read_sc_settings)
  # From what I've read game requires virtual desktop, but I can't really test
  Set_Desktop "On" "\$SCWIDTH" "\$SCHEIGHT"
}

_EOFFUNC_

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "SplinterCell.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'source "splinter_funcs"'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'sync_resolutions'
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Splinter Cell/Manual.pdf"
# C:\GOG Games\Splinter Cell\Readme.rtf
# C:\GOG Games\Splinter Cell\reference card.pdf

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 19 Avril 2020 à 18:53
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,19 +1,24 @@
 #!/bin/bash
 # Date : (2012-06-23 11-41)
-# Last revision : (2013-05-06 20-27)
-# Wine version used : 1.4.1
+# Last revision : see changelog
 # Distribution used to test : Debian Sid (Unstable)
 # Author : Pierre Etchemaite pe-pol@concept-micro.com
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [Pierre Etchemaite] (2012-06-23 11-41)
+#   Initial script.
+# [Dadu042] (2020-04-19 17:30).
+#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="splinter_cell"
 PREFIX="SplinterCell_gog"
-WORKING_WINE_VERSION="1.4.1"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - Splinter Cell"
 SHORTCUT_NAME="Tom Clancy's Splinter Cell"
@@ -66,4 +71,4 @@
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2012-06-23 11-41)
# Last revision : see changelog
# Distribution used to test : Debian Sid (Unstable)
# Author : Pierre Etchemaite pe-pol@concept-micro.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Pierre Etchemaite] (2012-06-23 11-41)
#   Initial script.
# [Dadu042] (2020-04-19 17:30).
#   Wine 1.4.1 (outdated) -> 3.0.3 (not tested)

[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="splinter_cell"
PREFIX="SplinterCell_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - Splinter Cell"
SHORTCUT_NAME="Tom Clancy's Splinter Cell"

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 1272
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "Ubisoft Montréal / Ubisoft" "http://www.gog.com/gamecard/$GOGID" "Pierre Etchemaite" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "66ca4861f727eddc2ce641670497962c"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install


# GoG work!
Set_OS winxp

POL_SetupWindow_VMS "32"

cat <<_EOFFUNC_ > "$GOGROOT/Splinter Cell/system/splinter_funcs"

read_sc_settings () {
  [ -z "\$WINEPREFIX" ] && POL_Debug_Fatal 'read_sc_settings: \$WINEPREFIX must be set'
  perl -ne 'print "SCWIDTH=\$1\nSCHEIGHT=\$2\n" if /^Resolution=(\d+)x(\d+)/' "$GOGROOT/Splinter Cell/system/SplinterCellUser.ini"
}

sync_resolutions () {
  eval \$(read_sc_settings)
  # From what I've read game requires virtual desktop, but I can't really test
  Set_Desktop "On" "\$SCWIDTH" "\$SCHEIGHT"
}

_EOFFUNC_

# Doesn't hurt ;)
POL_Wine_reboot

POL_Shortcut "SplinterCell.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;ActionGame;"
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'source "splinter_funcs"'
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" 'sync_resolutions'
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/Splinter Cell/Manual.pdf"
# C:\GOG Games\Splinter Cell\Readme.rtf
# C:\GOG Games\Splinter Cell\reference card.pdf

POL_SetupWindow_Close

exit 0

Réponses

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 dmca-notice@playonlinux.com