GOG.com - System Shock 2

Informations

Creator Message
visitntx Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 11582
Wine: 3.0.3

Feedbacks

Description

System Shock 2 is a 1999 first-person action role-playing survival horror video game.

Wikipedia.

GOG now has installers for Mac

Source code

#!/bin/bash
# Date : (2013-03-31)
# Last Revision : (2015-12-21 03-41)
# Wine version used : 1.7.55
# Distribution used to test : Debian Sid (Unstable)
# Author : VisitntX visitntx@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [VisitntX] (2013-09-07)
#   Initial script.
# [Yepoleb] (2015-12-21)
#   Fix crash of GOG installer.
# [Dadu042] (2020-04-19 17:30).
#   Wine 1.7.55 (outdated) -> 3.0.3 (not tested)

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

GOGID="system_shock_2"
PREFIX="SystemShock2_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - System Shock 2"
SHORTCUT_NAME="System Shock 2"

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

POL_SetupWindow_presentation "$TITLE" "Irrational Games and Looking Glass / Night Dive Studios" "http://www.gog.com/en/gamecard/$GOGID" "VisitntX" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "d2aeff3075e5b099d353bd4610d9da3d"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# Setting the Windows Version
Set_OS win98

# Cleaning Wine by rebooting
POL_Wine_reboot

POL_Shortcut "Shock2.exe" "$SHORTCUT_NAME" "" "" "Game;RolePlaying;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/System Shock 2/Manual.pdf"

POL_SetupWindow_Close

exit 0

Contributions

Filters:

Contribute
Member Message
MajorMo Saturday 15 June 2024 at 13:05
MajorMo Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

This update has been adjusted for the latest version of System Shock 2 on GOG.

The installer file:

setup_system_shocktm_2_2.48_(31077).exe
Changes in script:

- Wine 5.0.3 (tested and works)

- The app exe is now called "SS2.exe"

 

PS: System Shock 2 requires architecture i-386 to be installed. (If not, Playonlinux will fail with a useless message: "POL_wine crashed".)

Differences

@@ -1,12 +1,12 @@
 #!/bin/bash
 # Date : (2013-03-31)
-# Last Revision : (2015-12-21 03-41)
-# Wine version used : 1.7.55
-# Distribution used to test : Debian Sid (Unstable)
-# Author : VisitntX visitntx@gmail.com
+# Last Revision : (2024-06-14)
+# Wine version used : 5.0.3
+# Distribution used to test : BunsenLabs Linux (debian 11)
+# Authors : MajorMo, Dadu042, Yepoleb, VisitntX
 # Script licence : GPL v.2
 # Program licence : Retail
-# Depend :
+# Depend : architecture i386
 #
 # CHANGELOG
 # [VisitntX] (2013-09-07)
@@ -15,13 +15,15 @@
 #   Fix crash of GOG installer.
 # [Dadu042] (2020-04-19 17:30).
 #   Wine 1.7.55 (outdated) -> 3.0.3 (not tested)
+# [MajorMo] (2024-06-14)
+#   Wine 5.0.3, Update name of application exe
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="system_shock_2"
 PREFIX="SystemShock2_gog"
-WORKING_WINE_VERSION="3.0.3"
+WORKING_WINE_VERSION="5.0.3"
 
 TITLE="GOG.com - System Shock 2"
 SHORTCUT_NAME="System Shock 2"
@@ -32,7 +34,7 @@
 POL_SetupWindow_SetID 1817
 POL_Debug_Init
 
-POL_SetupWindow_presentation "$TITLE" "Irrational Games and Looking Glass / Night Dive Studios" "http://www.gog.com/en/gamecard/$GOGID" "VisitntX" "$PREFIX"
+POL_SetupWindow_presentation "$TITLE" "Irrational Games and Looking Glass / Night Dive Studios" "http://www.gog.com/en/gamecard/$GOGID" "MajorMo" "$PREFIX"
 
 POL_Call POL_GoG_setup "$GOGID" "d2aeff3075e5b099d353bd4610d9da3d"
 
@@ -47,9 +49,9 @@
 # Cleaning Wine by rebooting
 POL_Wine_reboot
 
-POL_Shortcut "Shock2.exe" "$SHORTCUT_NAME" "" "" "Game;RolePlaying;" # "$SHORTCUT_NAME.png"
+POL_Shortcut "SS2.exe" "$SHORTCUT_NAME" "" "" "Game;RolePlaying;" # "$SHORTCUT_NAME.png"
 POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/System Shock 2/Manual.pdf"
 
 POL_SetupWindow_Close
 
-exit 0
\ No newline at end of file
+exit 0

New source code

#!/bin/bash
# Date : (2013-03-31)
# Last Revision : (2024-06-14)
# Wine version used : 5.0.3
# Distribution used to test : BunsenLabs Linux (debian 11)
# Authors : MajorMo, Dadu042, Yepoleb, VisitntX
# Script licence : GPL v.2
# Program licence : Retail
# Depend : architecture i386
#
# CHANGELOG
# [VisitntX] (2013-09-07)
#   Initial script.
# [Yepoleb] (2015-12-21)
#   Fix crash of GOG installer.
# [Dadu042] (2020-04-19 17:30).
#   Wine 1.7.55 (outdated) -> 3.0.3 (not tested)
# [MajorMo] (2024-06-14)
#   Wine 5.0.3, Update name of application exe

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

GOGID="system_shock_2"
PREFIX="SystemShock2_gog"
WORKING_WINE_VERSION="5.0.3"

TITLE="GOG.com - System Shock 2"
SHORTCUT_NAME="System Shock 2"

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

POL_SetupWindow_presentation "$TITLE" "Irrational Games and Looking Glass / Night Dive Studios" "http://www.gog.com/en/gamecard/$GOGID" "MajorMo" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "d2aeff3075e5b099d353bd4610d9da3d"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# Setting the Windows Version
Set_OS win98

# Cleaning Wine by rebooting
POL_Wine_reboot

POL_Shortcut "SS2.exe" "$SHORTCUT_NAME" "" "" "Game;RolePlaying;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/System Shock 2/Manual.pdf"

POL_SetupWindow_Close

exit 0

Replies

Dadu042 Sunday 19 April 2020 at 18:21
Dadu042

Information

This update has been approved by the team.

Differences

@@ -7,13 +7,21 @@
 # Script licence : GPL v.2
 # Program licence : Retail
 # Depend :
+#
+# CHANGELOG
+# [VisitntX] (2013-09-07)
+#   Initial script.
+# [Yepoleb] (2015-12-21)
+#   Fix crash of GOG installer.
+# [Dadu042] (2020-04-19 17:30).
+#   Wine 1.7.55 (outdated) -> 3.0.3 (not tested)
 
 [ -z "$PLAYONLINUX" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="system_shock_2"
 PREFIX="SystemShock2_gog"
-WORKING_WINE_VERSION="1.7.55"
+WORKING_WINE_VERSION="3.0.3"
 
 TITLE="GOG.com - System Shock 2"
 SHORTCUT_NAME="System Shock 2"
@@ -44,4 +52,4 @@
 
 POL_SetupWindow_Close
 
-exit 0
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2013-03-31)
# Last Revision : (2015-12-21 03-41)
# Wine version used : 1.7.55
# Distribution used to test : Debian Sid (Unstable)
# Author : VisitntX visitntx@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [VisitntX] (2013-09-07)
#   Initial script.
# [Yepoleb] (2015-12-21)
#   Fix crash of GOG installer.
# [Dadu042] (2020-04-19 17:30).
#   Wine 1.7.55 (outdated) -> 3.0.3 (not tested)

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

GOGID="system_shock_2"
PREFIX="SystemShock2_gog"
WORKING_WINE_VERSION="3.0.3"

TITLE="GOG.com - System Shock 2"
SHORTCUT_NAME="System Shock 2"

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

POL_SetupWindow_presentation "$TITLE" "Irrational Games and Looking Glass / Night Dive Studios" "http://www.gog.com/en/gamecard/$GOGID" "VisitntX" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "d2aeff3075e5b099d353bd4610d9da3d"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# Setting the Windows Version
Set_OS win98

# Cleaning Wine by rebooting
POL_Wine_reboot

POL_Shortcut "Shock2.exe" "$SHORTCUT_NAME" "" "" "Game;RolePlaying;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/System Shock 2/Manual.pdf"

POL_SetupWindow_Close

exit 0

Replies

Yepoleb Monday 21 December 2015 at 3:43
Yepoleb Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Fix crash of GOG installer.

Differences

@@ -1,8 +1,8 @@
 #!/bin/bash
 # Date : (2013-03-31)
-# Last Revision : (2014-04-13 22:27)
-# Wine version used : 1.4.1, 1.6.2
-# Distribution used to test : Debian Wheezy (Testing repositories)
+# Last Revision : (2015-12-21 03-41)
+# Wine version used : 1.7.55
+# Distribution used to test : Debian Sid (Unstable)
 # Author : VisitntX visitntx@gmail.com
 # Script licence : GPL v.2
 # Program licence : Retail
@@ -13,7 +13,7 @@
 
 GOGID="system_shock_2"
 PREFIX="SystemShock2_gog"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="1.7.55"
 
 TITLE="GOG.com - System Shock 2"
 SHORTCUT_NAME="System Shock 2"
@@ -44,4 +44,4 @@
 
 POL_SetupWindow_Close
 
-exit
+exit 0

New source code

#!/bin/bash
# Date : (2013-03-31)
# Last Revision : (2015-12-21 03-41)
# Wine version used : 1.7.55
# Distribution used to test : Debian Sid (Unstable)
# Author : VisitntX visitntx@gmail.com
# Script licence : GPL v.2
# Program licence : Retail
# Depend :

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

GOGID="system_shock_2"
PREFIX="SystemShock2_gog"
WORKING_WINE_VERSION="1.7.55"

TITLE="GOG.com - System Shock 2"
SHORTCUT_NAME="System Shock 2"

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

POL_SetupWindow_presentation "$TITLE" "Irrational Games and Looking Glass / Night Dive Studios" "http://www.gog.com/en/gamecard/$GOGID" "VisitntX" "$PREFIX"

POL_Call POL_GoG_setup "$GOGID" "d2aeff3075e5b099d353bd4610d9da3d"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install

# Setting the Windows Version
Set_OS win98

# Cleaning Wine by rebooting
POL_Wine_reboot

POL_Shortcut "Shock2.exe" "$SHORTCUT_NAME" "" "" "Game;RolePlaying;" # "$SHORTCUT_NAME.png"
POL_Shortcut_Document "$SHORTCUT_NAME" "$GOGROOT/System Shock 2/Manual.pdf"

POL_SetupWindow_Close

exit 0

Replies

fell Friday 18 July 2014 at 21:44
fell Anonymous

Message

SS2 runs well, display can be adjusted, all controls working, mouse working as well. Save/load works. Runs perfectly.

Replies

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