System Shock 2

Informations

Créateur Messages
DemonHypnos Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 15044
Wine: System

Retours d'expérience

Description

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

Wikipedia.

Code source

#!/bin/bash
#
# CHANGELOG
# [DemonHypnos] (201x ?)
#   First script.
# [Dadu042] (2019-12-09)
#   Standardize NoCD, shortcut.

if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

wget http://upload.wikimedia.org/wikipedia/en/9/91/Systemshock2box.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"

POL_SetupWindow_presentation "System Shock 2" "Irrational Games" "http://www.irrationalgames.com/shock2/index.php" "DemonHypnos" "SS2"

POL_Call POL_Function_NoCDWarning

select_prefix "$REPERTOIRE/wineprefix/SS2/"
POL_SetupWindow_prefixcreate
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

Set_OS win98

POL_SetupWindow_wait_next_signal "Installing System Shock 2...please wait patiently..." "System Shock 2"
wine "$CDROM/setup.exe"

POL_SetupWindow_detect_exit

echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]" > $REPERTOIRE/tmp/Res.reg
Set_Desktop "On" "1024" "768"
regedit $REPERTOIRE/tmp/Res.reg
rm -f $REPERTOIRE/tmp/Res.reg 

mv -r $WINEPREFIX/Sshock2/cutscenes $WINEPREFIX/Sshock2/cutsceness
POL_SetupWindow_reboot

POL_Shortcut "shock2.exe" "System Shock 2" "" "" "Game;"

POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Dimanche 8 Décembre 2019 à 20:18
Dadu042

Information

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

Differences

@@ -1,4 +1,11 @@
 #!/bin/bash
+#
+# CHANGELOG
+# [DemonHypnos] (201x ?)
+#   First script.
+# [Dadu042] (2019-12-09)
+#   Standardize NoCD, shortcut.
+
 if [ "$PLAYONLINUX" = "" ]
 then
 exit 0
@@ -11,6 +18,7 @@
 
 POL_SetupWindow_presentation "System Shock 2" "Irrational Games" "http://www.irrationalgames.com/shock2/index.php" "DemonHypnos" "SS2"
 
+POL_Call POL_Function_NoCDWarning
 
 select_prefix "$REPERTOIRE/wineprefix/SS2/"
 POL_SetupWindow_prefixcreate
@@ -32,9 +40,7 @@
 mv -r $WINEPREFIX/Sshock2/cutscenes $WINEPREFIX/Sshock2/cutsceness
 POL_SetupWindow_reboot
 
-POL_SetupWindow_make_shortcut "SS2" "Sshock2" "shock2.exe" "" "System Shock 2"
-
-POL_SetupWindow_message "A nocd crack is necessary to play this game." "System Shock 2"
+POL_Shortcut "shock2.exe" "System Shock 2" "" "" "Game;"
 
 POL_SetupWindow_Close
 exit
\ No newline at end of file

Nouveau code source

#!/bin/bash
#
# CHANGELOG
# [DemonHypnos] (201x ?)
#   First script.
# [Dadu042] (2019-12-09)
#   Standardize NoCD, shortcut.

if [ "$PLAYONLINUX" = "" ]
then
exit 0
fi
source "$PLAYONLINUX/lib/sources"

wget http://upload.wikimedia.org/wikipedia/en/9/91/Systemshock2box.jpg --output-document="$REPERTOIRE/tmp/leftnotscaled.jpeg"
convert "$REPERTOIRE/tmp/leftnotscaled.jpeg" -scale 150x356\! "$REPERTOIRE/tmp/left.jpeg"
POL_SetupWindow_Init "" "$REPERTOIRE/tmp/left.jpeg"

POL_SetupWindow_presentation "System Shock 2" "Irrational Games" "http://www.irrationalgames.com/shock2/index.php" "DemonHypnos" "SS2"

POL_Call POL_Function_NoCDWarning

select_prefix "$REPERTOIRE/wineprefix/SS2/"
POL_SetupWindow_prefixcreate
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

Set_OS win98

POL_SetupWindow_wait_next_signal "Installing System Shock 2...please wait patiently..." "System Shock 2"
wine "$CDROM/setup.exe"

POL_SetupWindow_detect_exit

echo "[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]" > $REPERTOIRE/tmp/Res.reg
Set_Desktop "On" "1024" "768"
regedit $REPERTOIRE/tmp/Res.reg
rm -f $REPERTOIRE/tmp/Res.reg 

mv -r $WINEPREFIX/Sshock2/cutscenes $WINEPREFIX/Sshock2/cutsceness
POL_SetupWindow_reboot

POL_Shortcut "shock2.exe" "System Shock 2" "" "" "Game;"

POL_SetupWindow_Close
exit

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