Burnout Paradise

Informations

Creator Message
zzh87527 Anonymous

Warning

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

Informations

Platforms:
Downloads: 9562
Wine:

Feedbacks

Source code

#!/bin/bash
# Date : (2014-07-14)
# Wine version used : Latest
# Author : Anonymau5
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Burnout Paradise"
PREFIX="Burnout_Paradise"
 
EDITOR="Valve"
GAME_URL="http://store.steampowered.com/app/24740/"
AUTHOR="Anonymau5"
 
# Starting the script
# 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_Debug_Init
 
POL_SetupWindow_SetID 1742
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
 
# Installing mandatory dependencies
POL_Call POL_Install_steam
 
# Begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "steam.exe" steam://install/24740/
POL_Wine_WaitExit "$TITLE"
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/24740"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
xge59310 Tuesday 22 July 2014 at 5:34
xge59310 Anonymous

Message

OS Ubuntu 14.04

GFX Nvidia 770GTX

Working well.

Replies

Quentin PÂRIS Tuesday 15 July 2014 at 12:27
Quentin PÂRIS
Admin

Information

This update has been approved by the team.

Differences

@@ -14,7 +14,7 @@
 AUTHOR="Anonymau5"
  
 # Starting the script
-POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+# 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_Debug_Init
  

New source code

#!/bin/bash
# Date : (2014-07-14)
# Wine version used : Latest
# Author : Anonymau5
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Burnout Paradise"
PREFIX="Burnout_Paradise"
 
EDITOR="Valve"
GAME_URL="http://store.steampowered.com/app/24740/"
AUTHOR="Anonymau5"
 
# Starting the script
# 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_Debug_Init
 
POL_SetupWindow_SetID 1742
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
POL_SetupWindow_message "$(eval_gettext 'When $TITLE download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue')" "$TITLE"
 
# Installing mandatory dependencies
POL_Call POL_Install_steam
 
# Begin game installation
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "steam.exe" steam://install/24740/
POL_Wine_WaitExit "$TITLE"
 
# Making shortcut
POL_Shortcut "steam.exe" "$TITLE" "$TITLE.png" "steam://rungameid/24740"
 
POL_SetupWindow_Close
exit 0

Replies

Edited by Tinou

Quentin PÂRIS Tuesday 15 July 2014 at 11:35
Quentin PÂRIS
Admin

Message

You've inserted the code in the wrong area ;-)

Replies