South Park™: The Stick of Truth™

Informatie

Creator Bericht
dizlexic Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informatie

Platforms:
Downloads: 8190
Wine: 1.7.39

Feedbacks

Omschrijving

South Park The Stick of Truth

 

Tested on Ubuntu 15.10

Broncode

#!/bin/bash
# Date : (2015-02-15)
# Distribution used to test : Ubuntu 15.10 64-bit
# Author : Daniel Moore
# Licence : GPLv3
# PlayOnLinux: 4.2.6


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

PREFIX="SouthParkTheStickofTruth"
WINEVERSION="1.7.39"
TITLE="South Park™: The Stick of Truth™"
EDITOR="Sublime Text 2"
GAME_URL="http://southpark.ubi.com/stickoftruth/"
STEAM_ID="213670"

AUTHOR="DanielMoore"

#Initialization
POL_SetupWindow_Init

POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "winxp"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"

#Dependencies
POL_Call POL_Install_steam

# Installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Bericht
dizlexic Zaterdag 13 Februari 2016 om 3:19
dizlexic Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,50 @@
+#!/bin/bash
+# Date : (2015-02-15)
+# Distribution used to test : Ubuntu 15.10 64-bit
+# Author : Daniel Moore
+# Licence : GPLv3
+# PlayOnLinux: 4.2.6
+
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="SouthParkTheStickofTruth"
+WINEVERSION="1.7.39"
+TITLE="South Park™: The Stick of Truth™"
+EDITOR="Sublime Text 2"
+GAME_URL="http://southpark.ubi.com/stickoftruth/"
+STEAM_ID="213670"
+
+AUTHOR="DanielMoore"
+
+#Initialization
+POL_SetupWindow_Init
+
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+# Create Prefix
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+# Configuration
+Set_OS "winxp"
+
+POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"
+
+#Dependencies
+POL_Call POL_Install_steam
+
+# Installation
+cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
+POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
+POL_Wine_WaitExit "$TITLE"
+
+# Create Shortcut
+POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"
+
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-02-15)
# Distribution used to test : Ubuntu 15.10 64-bit
# Author : Daniel Moore
# Licence : GPLv3
# PlayOnLinux: 4.2.6


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

PREFIX="SouthParkTheStickofTruth"
WINEVERSION="1.7.39"
TITLE="South Park™: The Stick of Truth™"
EDITOR="Sublime Text 2"
GAME_URL="http://southpark.ubi.com/stickoftruth/"
STEAM_ID="213670"

AUTHOR="DanielMoore"

#Initialization
POL_SetupWindow_Init

POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Configuration
Set_OS "winxp"

POL_SetupWindow_message "$(eval_gettext 'NOTICE: $TITLE will be installed via Steam. After Steam is installed, uncheck Run Steam, click Finish, and Steam will restart. Sign in and install $TITLE.')" "$TITLE"

#Dependencies
POL_Call POL_Install_steam

# Installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
POL_Wine_WaitExit "$TITLE"

# Create Shortcut
POL_Shortcut "steam.exe" "$TITLE" "" "steam://rungameid/$STEAM_ID"

POL_SetupWindow_Close
exit 0

Antwoorden