Massawi33 |
Sunday 30 March 2014 at 17:10
|
Massawi33
|
I made a small error code in the download section you can change the code with this one ? Thank you
- #!/bin/bash
- # Date : (2013-03-30)
- # Last revision : (2013-03-30)
- # Distribution used to test : Ubuntu-gnome 64
- # Author : Massawi33
- # Licence : GPLv3
- # PlayOnLinux: playonlinux-4.2.2
-
- [ "$PLAYONLINUX" = "" ] && exit 0
- source "$PLAYONLINUX/lib/sources"
-
- TITLE="WorldOfWarplanes"
- PREFIX="WOWarplanes"
- WORKING_WINE_VERSION="1.7.12"
- PUBLISHER="BigWorld Technology"
- GAME_URL="http://worldofwarplanes.com/"
- AUTHOR="Massawi33"
- GAME_VMS="128"
-
- # Setup
- POL_SetupWindow_Init
- POL_Debug_Init
-
- POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
- POL_Wine_SelectPrefix "$PREFIX"
- POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
- # Components
- POL_Call POL_Install_vcrun2008
- POL_Call POL_Install_d3dx9_36
- POL_Call POL_Install_d3dcompiler_43
- POL_Call POL_Install_dxdiag
- POL_Call POL_Install_dxfullsetup
- POL_Call POL_Install_corefonts
- POL_Call POL_Install_msxml3
- POL_Call POL_Install_wininet
- POL_Call POL_Install_ie8
-
- # Asking about memory size of graphic card
- POL_SetupWindow_VMS "$GAME_VMS"
-
- #Select which version
- POL_SetupWindow_menu "$(eval_gettext 'Which region version of World of Tanks would you like to install?')" "$TITLE" "North America~Europe" "~"
- [ "$APP_ANSWER" = "North America" ] && REGION="na"
- [ "$APP_ANSWER" = "Europe" ] && REGION="eu"
- # Download
- cd "$WINEPREFIX/drive_c"
- POL_Download "http://dl.wargaming.net/wowp/$REGION/files/WoWP_internet_install_$REGION.exe"
-
- POL_SetupWindow_message "$(eval_gettext 'Attention:After installation is complete, the patcher will load. After, go to the top right of the patcher and click the wrench, Then Un-check the box for "Allow Torrent", if this is not done the patcher will crash after 1 minuite. When finished with this, please close the patcher before logging in or finish updating to complete the installation. After this, you can run "$TITLE" when setup is done')" "$TITLE"
-
- #Installation
- POL_Wine_WaitBefore "$TITLE"
- POL_Wine start /unix "$WINEPREFIX/drive_c/$REGION.exe"
- POL_Wine_WaitExit "$TITLE"
-
- # Create Shortcuts
- POL_Shortcut "WOWpLauncher.exe" "$TITLE"
-
- POL_SetupWindow_Close
-
- exit 0
|
petch |
Sunday 30 March 2014 at 19:20
|
petch
|
|
Massawi33 |
Sunday 20 April 2014 at 2:18
|
Massawi33
|
Can you change code with this one . i have changed the row number 55 thanks - #!/bin/bash
- # Date : (2013-03-30)
- # Last revision : (2013-03-30)
- # Distribution used to test : Ubuntu-gnome 64
- # Author : Massawi33
- # Licence : GPLv3
- # PlayOnLinux: playonlinux-4.2.2
-
[ "$PLAYONLINUX" = "" ] && exit 0 source "$PLAYONLINUX/lib/sources" -
TITLE= "WorldOfWarplanes" PREFIX= "WOWarplanes" WORKING_WINE_VERSION= "1.7.12" PUBLISHER= "BigWorld Technology" GAME_URL= "http://worldofwarplanes.com/" AUTHOR= "Massawi33" GAME_VMS= "128" -
- # Setup
- POL_SetupWindow_Init
- POL_SetupWindow_SetID 1983
- POL_Debug_Init
-
POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX" -
POL_Wine_SelectPrefix "$PREFIX" POL_Wine_PrefixCreate "$WORKING_WINE_VERSION" -
- # Components
POL_Call POL_Install_vcrun2008 POL_Call POL_Install_d3dx9_36 POL_Call POL_Install_d3dcompiler_43 POL_Call POL_Install_dxdiag POL_Call POL_Install_dxfullsetup POL_Call POL_Install_corefonts POL_Call POL_Install_msxml3 POL_Call POL_Install_wininet POL_Call POL_Install_ie8 -
- # Asking about memory size of graphic card
POL_SetupWindow_VMS "$GAME_VMS" -
- #Select which version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World of Tanks would you like to install?')" "$TITLE" "North America~Europe" "~" [ "$APP_ANSWER" = "North America" ] && REGION= "na" [ "$APP_ANSWER" = "Europe" ] && REGION= "eu" - # Download
cd "$WINEPREFIX/drive_c" POL_Download "http://dl.wargaming.net/wowp/$REGION/files/WoWP_internet_install_$REGION.exe" -
POL_SetupWindow_message "$(eval_gettext 'Attention:After installation is complete, the patcher will load. After, go to the top right of the patcher and click the wrench, Then Un-check the box for " Allow Torrent ", if this is not done the patcher will crash after 1 minute. When finished with this, please close the patcher before logging in or finish updating to complete the installation. After this, you can run " $TITLE " when setup is done')" "$TITLE" -
- #Installation
POL_Wine start /unix "$WINEPREFIX/drive_c/WoWP_internet_install_$REGION.exe" POL_Wine_WaitExit "$TITLE" -
- # Create Shortcuts
-
POL_Shortcut "WOWpLauncher.exe" "$TITLE" -
- POL_SetupWindow_Close
-
exit 0
|
petch |
Sunday 20 April 2014 at 5:27
|
petch
|
|