The forum

World Of Warplanes

Correction

Author Replies
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

  1. #!/bin/bash
  2. # Date : (2013-03-30)
  3. # Last revision : (2013-03-30)
  4. # Distribution used to test : Ubuntu-gnome 64
  5. # Author : Massawi33
  6. # Licence : GPLv3
  7. # PlayOnLinux:  playonlinux-4.2.2
  8.   
  9. [ "$PLAYONLINUX" = "" ] && exit 0
  10. source "$PLAYONLINUX/lib/sources"
  11.  
  12. TITLE="WorldOfWarplanes"
  13. PREFIX="WOWarplanes"
  14. WORKING_WINE_VERSION="1.7.12"
  15. PUBLISHER="BigWorld Technology"
  16. GAME_URL="http://worldofwarplanes.com/"
  17. AUTHOR="Massawi33"
  18. GAME_VMS="128"
  19.  
  20. # Setup
  21. POL_SetupWindow_Init
  22. POL_Debug_Init
  23.  
  24. POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
  25.  
  26. POL_Wine_SelectPrefix "$PREFIX"
  27. POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  28.  
  29. # Components
  30. POL_Call POL_Install_vcrun2008
  31. POL_Call POL_Install_d3dx9_36
  32. POL_Call POL_Install_d3dcompiler_43
  33. POL_Call POL_Install_dxdiag
  34. POL_Call POL_Install_dxfullsetup
  35. POL_Call POL_Install_corefonts
  36. POL_Call POL_Install_msxml3
  37. POL_Call POL_Install_wininet
  38. POL_Call POL_Install_ie8
  39.  
  40. # Asking about memory size of graphic card
  41. POL_SetupWindow_VMS "$GAME_VMS"
  42.  
  43. #Select which version
  44. POL_SetupWindow_menu "$(eval_gettext 'Which region version of World of Tanks would you like to install?')" "$TITLE" "North America~Europe" "~"
  45. [ "$APP_ANSWER" = "North America" ] && REGION="na"
  46. [ "$APP_ANSWER" = "Europe" ] && REGION="eu"
  47. # Download
  48. cd "$WINEPREFIX/drive_c"
  49. POL_Download "http://dl.wargaming.net/wowp/$REGION/files/WoWP_internet_install_$REGION.exe"
  50.  
  51. 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"
  52.  
  53. #Installation
  54. POL_Wine_WaitBefore "$TITLE"
  55. POL_Wine start /unix "$WINEPREFIX/drive_c/$REGION.exe"
  56. POL_Wine_WaitExit "$TITLE"
  57.  
  58. # Create Shortcuts

  59. POL_Shortcut "WOWpLauncher.exe" "$TITLE"
  60.  
  61. POL_SetupWindow_Close
  62.  
  63. 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
  1. #!/bin/bash
  2. # Date : (2013-03-30)
  3. # Last revision : (2013-03-30)
  4. # Distribution used to test : Ubuntu-gnome 64
  5. # Author : Massawi33
  6. # Licence : GPLv3
  7. # PlayOnLinux:  playonlinux-4.2.2
  8.  
  9. [ "$PLAYONLINUX" = "" ] && exit 0
  10. source "$PLAYONLINUX/lib/sources"
  11.  
  12. TITLE="WorldOfWarplanes"
  13. PREFIX="WOWarplanes"
  14. WORKING_WINE_VERSION="1.7.12"
  15. PUBLISHER="BigWorld Technology"
  16. GAME_URL="http://worldofwarplanes.com/"
  17. AUTHOR="Massawi33"
  18. GAME_VMS="128"
  19.  
  20. # Setup
  21. POL_SetupWindow_Init
  22. POL_SetupWindow_SetID 1983
  23. POL_Debug_Init
  24.  
  25. POL_SetupWindow_presentation "$TITLE" "$PUBLISHER" "$GAME_URL" "$AUTHOR" "$PREFIX"
  26.  
  27. POL_Wine_SelectPrefix "$PREFIX"
  28. POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  29.  
  30. # Components
  31. POL_Call POL_Install_vcrun2008
  32. POL_Call POL_Install_d3dx9_36
  33. POL_Call POL_Install_d3dcompiler_43
  34. POL_Call POL_Install_dxdiag
  35. POL_Call POL_Install_dxfullsetup
  36. POL_Call POL_Install_corefonts
  37. POL_Call POL_Install_msxml3
  38. POL_Call POL_Install_wininet
  39. POL_Call POL_Install_ie8
  40.  
  41. # Asking about memory size of graphic card
  42. POL_SetupWindow_VMS "$GAME_VMS"
  43.  
  44. #Select which version
  45. POL_SetupWindow_menu "$(eval_gettext 'Which region version of World of Tanks would you like to install?')" "$TITLE" "North America~Europe" "~"
  46. [ "$APP_ANSWER" = "North America" ] && REGION="na"
  47. [ "$APP_ANSWER" = "Europe" ] && REGION="eu"
  48. # Download
  49. cd "$WINEPREFIX/drive_c"
  50. POL_Download "http://dl.wargaming.net/wowp/$REGION/files/WoWP_internet_install_$REGION.exe"
  51.  
  52. 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"
  53.  
  54. #Installation
  55. POL_Wine start /unix "$WINEPREFIX/drive_c/WoWP_internet_install_$REGION.exe"
  56. POL_Wine_WaitExit "$TITLE"
  57.  
  58. # Create Shortcuts
  59.  
  60. POL_Shortcut "WOWpLauncher.exe" "$TITLE"
  61.  
  62. POL_SetupWindow_Close
  63.  
  64. exit 0
petch Sunday 20 April 2014 at 5:27
petch

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 dmcayonlinux.com