World Of Warships

Informations

Créateur Messages
mimi89999 Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 56592
Wine: 5.3

Retours d'expérience

Description

Naval warfare MMO, free to play. Released in 2015. Wikipedia.

Warning: As of may 2020, the game might now fail to install, because the installation became impossible without the 'Wargaming.net Game Center' (appdb.winehq.org).

 Appdb.winehq.org (test reports). PCGamingWiki.

Captures d'écran

MiniatureMiniatureMiniatureMiniature

Code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : see changelog below
# Wine version used : see below
# Distribution used to test : Kubuntu 19.04 x64
# Author : see changelog
# Licence : GPLv3
# 
# CHANGELOG:
# [mimi89999] (2015-07-04)
#   Initial write.
# [amazingfate] (2016-06-27)
#   Add China server.
# (mauli] (2018-04-11)
#   Fix Download links.
# [VictorLima] (2018-10-11)
#   Fix North America Download link. Wine 1.7.55 -> 3.17
# [Dadu042] (2019-05-23)
#   Clean up. Approve latests submits. Wine 1.7.55 -> 4.01
# [Dadu042] (2019-06-24)
#   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5
# [Dadu042] (2019-06-26)
#   Wine 4.0.1 -> 4.11. POL_RequiredVersion 4.3.4
# [Dadu042] (2020-01-09)
#   Fix POL_RequiredVersion.
#   Fix POL_Shortcut category.
# [Dadu042] (2020-06-08)
#   Wine 4.11 -> 5.3
#   Game now fail to install correctly. I think it's because the 'Wargaming Game Center' is now mandatory.
#   Disable automatic setup download.

 
# KNOWN ISSUES:
# - Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
# 'Bad exe format for: Games\World_of_Warships\bin64\WorldOfWarships64.exe.'
# After the first window, then click the button Play, the game launcher crashes. Same if launched in 'safe mode' (little button on the right of Play).
# Workaround : launch 'WorldOfWarships32.exe' instead of 'WoWSLauncher.exe'
#
# Game does crash at the end of a game session.  Wine 3.21 and 4.0.1 26/06/2019. Game v0.8.4.0
# Fixed by using Wine 4.11
#
#
# - After installing the 'Wargaming Game Center' (it's the begin of the installation), its window keep black.  Wine 4.21, 5.0. Fix: Wine 5.3
# - After installing the 'Wargaming Game Center' (it's the begin of the installation), it does crash.  Wine 4.11
# - After installing the 'Wargaming Game Center' I get 'Wargaming.net Game Center has stopped working' (window). Wine 5.3
# - After installing the 'Wargaming Game Center' it does not open (only appear in the task bar), installation stall. Wine 5.7


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="5.3"
AUTHOR="Several (see the changelog)"
EDITOR="Lesta Studio"
GAME_URL="https://en.wikipedia.org/wiki/World_of_Warships"
GAME_VMS="512"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571
   
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win10"

#######################################
#  Installing mandatory dependencies  #
#######################################

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

################
#      GPU     #
################
          
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
           
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
            
# Useful for Nvidia GPUs
POL_Call POL_Install_physx

#######################################
#  Select WoWS version                #
#######################################

cd "$WINEPREFIX/drive_c"

POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE"
INSTALLER="$APP_ANSWER"

# Disabled because as of 2020-06 these .EXE (Europe) fail to install. The game seems now to require to use 'Wargaming Game Center'.
#
# POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
# [ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
# [ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
#
# POL_Download "$DL_URL"
# INSTALLER="${DL_URL##*/}"
  
# Useful ?  Submitted by Mauli, 2018.
# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
  
POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

################################ 
# Modify WoWSLauncher.cfg file #
################################

OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "" "" "Game;StrategyGame;"
 
# Probable fix for those whose launcher is stuck at receiving updates:
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html
 
# Workaround (see KNOWN ISSUES above. There are 2 shortcuts because this script does not force WineArch):
POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "" "" "Game;StrategyGame;"
POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "" "" "Game;StrategyGame;"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Lundi 8 Juin 2020 à 13:49
Dadu042

Information

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

Differences

@@ -26,7 +26,8 @@
 #   Fix POL_Shortcut category.
 # [Dadu042] (2020-06-08)
 #   Wine 4.11 -> 5.3
-#   Game now fail to install correctly.
+#   Game now fail to install correctly. I think it's because the 'Wargaming Game Center' is now mandatory.
+#   Disable automatic setup download.
 
  
 # KNOWN ISSUES:
@@ -41,7 +42,7 @@
 #
 # - After installing the 'Wargaming Game Center' (it's the begin of the installation), its window keep black.  Wine 4.21, 5.0. Fix: Wine 5.3
 # - After installing the 'Wargaming Game Center' (it's the begin of the installation), it does crash.  Wine 4.11
-# - After installing the 'Wargaming Game Center' it does 'Stop working' (window). Wine 5.3
+# - After installing the 'Wargaming Game Center' I get 'Wargaming.net Game Center has stopped working' (window). Wine 5.3
 # - After installing the 'Wargaming Game Center' it does not open (only appear in the task bar), installation stall. Wine 5.7
 
 
@@ -90,16 +91,25 @@
 POL_Call POL_Install_physx
 
 #######################################
-#  Main part of this script           #
+#  Select WoWS version                #
 #######################################
-   
-#Select WoWS version
-POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
-[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
-[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
-[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
-[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
-[ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
+
+cd "$WINEPREFIX/drive_c"
+
+POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE"
+INSTALLER="$APP_ANSWER"
+
+# Disabled because as of 2020-06 these .EXE (Europe) fail to install. The game seems now to require to use 'Wargaming Game Center'.
+#
+# POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
+# [ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
+# [ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
+# [ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
+# [ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
+# [ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
+#
+# POL_Download "$DL_URL"
+# INSTALLER="${DL_URL##*/}"
   
 # Useful ?  Submitted by Mauli, 2018.
 # [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
@@ -107,11 +117,6 @@
 # [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
 # [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
   
-  
-cd "$WINEPREFIX/drive_c"
-POL_Download "$DL_URL"
-INSTALLER="${DL_URL##*/}"
-
 POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"
 
 POL_Wine_WaitBefore "World Of Warships"

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : see changelog below
# Wine version used : see below
# Distribution used to test : Kubuntu 19.04 x64
# Author : see changelog
# Licence : GPLv3
# 
# CHANGELOG:
# [mimi89999] (2015-07-04)
#   Initial write.
# [amazingfate] (2016-06-27)
#   Add China server.
# (mauli] (2018-04-11)
#   Fix Download links.
# [VictorLima] (2018-10-11)
#   Fix North America Download link. Wine 1.7.55 -> 3.17
# [Dadu042] (2019-05-23)
#   Clean up. Approve latests submits. Wine 1.7.55 -> 4.01
# [Dadu042] (2019-06-24)
#   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5
# [Dadu042] (2019-06-26)
#   Wine 4.0.1 -> 4.11. POL_RequiredVersion 4.3.4
# [Dadu042] (2020-01-09)
#   Fix POL_RequiredVersion.
#   Fix POL_Shortcut category.
# [Dadu042] (2020-06-08)
#   Wine 4.11 -> 5.3
#   Game now fail to install correctly. I think it's because the 'Wargaming Game Center' is now mandatory.
#   Disable automatic setup download.

 
# KNOWN ISSUES:
# - Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
# 'Bad exe format for: Games\World_of_Warships\bin64\WorldOfWarships64.exe.'
# After the first window, then click the button Play, the game launcher crashes. Same if launched in 'safe mode' (little button on the right of Play).
# Workaround : launch 'WorldOfWarships32.exe' instead of 'WoWSLauncher.exe'
#
# Game does crash at the end of a game session.  Wine 3.21 and 4.0.1 26/06/2019. Game v0.8.4.0
# Fixed by using Wine 4.11
#
#
# - After installing the 'Wargaming Game Center' (it's the begin of the installation), its window keep black.  Wine 4.21, 5.0. Fix: Wine 5.3
# - After installing the 'Wargaming Game Center' (it's the begin of the installation), it does crash.  Wine 4.11
# - After installing the 'Wargaming Game Center' I get 'Wargaming.net Game Center has stopped working' (window). Wine 5.3
# - After installing the 'Wargaming Game Center' it does not open (only appear in the task bar), installation stall. Wine 5.7


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="5.3"
AUTHOR="Several (see the changelog)"
EDITOR="Lesta Studio"
GAME_URL="https://en.wikipedia.org/wiki/World_of_Warships"
GAME_VMS="512"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571
   
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win10"

#######################################
#  Installing mandatory dependencies  #
#######################################

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

################
#      GPU     #
################
          
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
           
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
            
# Useful for Nvidia GPUs
POL_Call POL_Install_physx

#######################################
#  Select WoWS version                #
#######################################

cd "$WINEPREFIX/drive_c"

POL_SetupWindow_browse "$(eval_gettext 'Please select the installation file (.EXE)')" "$TITLE"
INSTALLER="$APP_ANSWER"

# Disabled because as of 2020-06 these .EXE (Europe) fail to install. The game seems now to require to use 'Wargaming Game Center'.
#
# POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
# [ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
# [ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
#
# POL_Download "$DL_URL"
# INSTALLER="${DL_URL##*/}"
  
# Useful ?  Submitted by Mauli, 2018.
# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
  
POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

################################ 
# Modify WoWSLauncher.cfg file #
################################

OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "" "" "Game;StrategyGame;"
 
# Probable fix for those whose launcher is stuck at receiving updates:
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html
 
# Workaround (see KNOWN ISSUES above. There are 2 shortcuts because this script does not force WineArch):
POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "" "" "Game;StrategyGame;"
POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "" "" "Game;StrategyGame;"
 
POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Lundi 8 Juin 2020 à 13:20
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Fail to install.

Differences

@@ -24,44 +24,75 @@
 # [Dadu042] (2020-01-09)
 #   Fix POL_RequiredVersion.
 #   Fix POL_Shortcut category.
+# [Dadu042] (2020-06-08)
+#   Wine 4.11 -> 5.3
+#   Game now fail to install correctly.
 
+ 
 # KNOWN ISSUES:
-# Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
+# - Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
 # 'Bad exe format for: Games\World_of_Warships\bin64\WorldOfWarships64.exe.'
 # After the first window, then click the button Play, the game launcher crashes. Same if launched in 'safe mode' (little button on the right of Play).
 # Workaround : launch 'WorldOfWarships32.exe' instead of 'WoWSLauncher.exe'
 #
 # Game does crash at the end of a game session.  Wine 3.21 and 4.0.1 26/06/2019. Game v0.8.4.0
 # Fixed by using Wine 4.11
+#
+#
+# - After installing the 'Wargaming Game Center' (it's the begin of the installation), its window keep black.  Wine 4.21, 5.0. Fix: Wine 5.3
+# - After installing the 'Wargaming Game Center' (it's the begin of the installation), it does crash.  Wine 4.11
+# - After installing the 'Wargaming Game Center' it does 'Stop working' (window). Wine 5.3
+# - After installing the 'Wargaming Game Center' it does not open (only appear in the task bar), installation stall. Wine 5.7
+
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="World Of Warships"
 PREFIX="WorldOfWarships"
-WINEVERSION="4.11"
+WINEVERSION="5.3"
 AUTHOR="Several (see the changelog)"
 EDITOR="Lesta Studio"
 GAME_URL="https://en.wikipedia.org/wiki/World_of_Warships"
+GAME_VMS="512"
 
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2571
-  
+   
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
-Set_OS "win7"
-  
-POL_SetupWindow_VMS "512"
-  
+Set_OS "win10"
+
+#######################################
+#  Installing mandatory dependencies  #
+#######################################
+
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dcompiler_43
-  
+
+################
+#      GPU     #
+################
+          
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+           
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+            
+# Useful for Nvidia GPUs
+POL_Call POL_Install_physx
+
+#######################################
+#  Main part of this script           #
+#######################################
+   
 #Select WoWS version
 POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
 [ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
@@ -69,23 +100,28 @@
 [ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
 [ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
 [ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
- 
+  
 # Useful ?  Submitted by Mauli, 2018.
 # [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
 # [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
 # [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
 # [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
- 
- 
+  
+  
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"
 INSTALLER="${DL_URL##*/}"
-  
+
+POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"
+
 POL_Wine_WaitBefore "World Of Warships"
 POL_Wine start /unix "$INSTALLER"
 POL_Wine_WaitExit "World Of Warships"
-  
-# Edit WoWSLauncher.cfg file
+
+################################ 
+# Modify WoWSLauncher.cfg file #
+################################
+
 OLD="<launcher_transport>3"
 NEW="<launcher_transport>2"
 DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
@@ -99,7 +135,7 @@
   fi
 done
 /bin/rm $TFILE
-  
+   
 OLD="<display_seeding_mode>2"
 NEW="<display_seeding_mode>0"
 DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
@@ -113,7 +149,7 @@
   fi
 done
 /bin/rm $TFILE
-  
+   
 OLD="<display_seeding_mode>1"
 NEW="<display_seeding_mode>0"
 DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
@@ -127,16 +163,16 @@
   fi
 done
 /bin/rm $TFILE
-  
+   
 POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "" "" "Game;StrategyGame;"
-
+ 
 # Probable fix for those whose launcher is stuck at receiving updates:
 POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
 # As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html
-
-# Workaround (see KNOWNISSUES above. There are 2 shortcuts because this script does not force WineArch):
+ 
+# Workaround (see KNOWN ISSUES above. There are 2 shortcuts because this script does not force WineArch):
 POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "" "" "Game;StrategyGame;"
 POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "" "" "Game;StrategyGame;"
-
+ 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : see changelog below
# Wine version used : see below
# Distribution used to test : Kubuntu 19.04 x64
# Author : see changelog
# Licence : GPLv3
# 
# CHANGELOG:
# [mimi89999] (2015-07-04)
#   Initial write.
# [amazingfate] (2016-06-27)
#   Add China server.
# (mauli] (2018-04-11)
#   Fix Download links.
# [VictorLima] (2018-10-11)
#   Fix North America Download link. Wine 1.7.55 -> 3.17
# [Dadu042] (2019-05-23)
#   Clean up. Approve latests submits. Wine 1.7.55 -> 4.01
# [Dadu042] (2019-06-24)
#   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5
# [Dadu042] (2019-06-26)
#   Wine 4.0.1 -> 4.11. POL_RequiredVersion 4.3.4
# [Dadu042] (2020-01-09)
#   Fix POL_RequiredVersion.
#   Fix POL_Shortcut category.
# [Dadu042] (2020-06-08)
#   Wine 4.11 -> 5.3
#   Game now fail to install correctly.

 
# KNOWN ISSUES:
# - Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
# 'Bad exe format for: Games\World_of_Warships\bin64\WorldOfWarships64.exe.'
# After the first window, then click the button Play, the game launcher crashes. Same if launched in 'safe mode' (little button on the right of Play).
# Workaround : launch 'WorldOfWarships32.exe' instead of 'WoWSLauncher.exe'
#
# Game does crash at the end of a game session.  Wine 3.21 and 4.0.1 26/06/2019. Game v0.8.4.0
# Fixed by using Wine 4.11
#
#
# - After installing the 'Wargaming Game Center' (it's the begin of the installation), its window keep black.  Wine 4.21, 5.0. Fix: Wine 5.3
# - After installing the 'Wargaming Game Center' (it's the begin of the installation), it does crash.  Wine 4.11
# - After installing the 'Wargaming Game Center' it does 'Stop working' (window). Wine 5.3
# - After installing the 'Wargaming Game Center' it does not open (only appear in the task bar), installation stall. Wine 5.7


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="5.3"
AUTHOR="Several (see the changelog)"
EDITOR="Lesta Studio"
GAME_URL="https://en.wikipedia.org/wiki/World_of_Warships"
GAME_VMS="512"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571
   
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win10"

#######################################
#  Installing mandatory dependencies  #
#######################################

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

################
#      GPU     #
################
          
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
           
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
            
# Useful for Nvidia GPUs
POL_Call POL_Install_physx

#######################################
#  Main part of this script           #
#######################################
   
#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
[ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
  
# Useful ?  Submitted by Mauli, 2018.
# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
  
  
cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_SetupWindow_message "$(eval_gettext 'Note: we recommend you to uncheck all the checkboxes:\n[x] -> [ ]')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

################################ 
# Modify WoWSLauncher.cfg file #
################################

OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
   
POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "" "" "Game;StrategyGame;"
 
# Probable fix for those whose launcher is stuck at receiving updates:
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html
 
# Workaround (see KNOWN ISSUES above. There are 2 shortcuts because this script does not force WineArch):
POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "" "" "Game;StrategyGame;"
POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "" "" "Game;StrategyGame;"
 
POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Jeudi 9 Janvier 2020 à 19:45
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -21,6 +21,9 @@
 #   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5
 # [Dadu042] (2019-06-26)
 #   Wine 4.0.1 -> 4.11. POL_RequiredVersion 4.3.4
+# [Dadu042] (2020-01-09)
+#   Fix POL_RequiredVersion.
+#   Fix POL_Shortcut category.
 
 # KNOWN ISSUES:
 # Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
@@ -48,7 +51,7 @@
 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
-POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
+POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"
 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
@@ -125,15 +128,15 @@
 done
 /bin/rm $TFILE
   
-POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "Game;StrategyGame;"
+POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "" "" "Game;StrategyGame;"
 
-# Probable fix for those whose launcher is stuck at receiving updates:
+# Probable fix for those whose launcher is stuck at receiving updates:
 POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
 # As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html
 
 # Workaround (see KNOWNISSUES above. There are 2 shortcuts because this script does not force WineArch):
-POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "Game;StrategyGame;"
-POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "Game;StrategyGame;"
+POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "" "" "Game;StrategyGame;"
+POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "" "" "Game;StrategyGame;"
 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : see changelog below
# Wine version used : see below
# Distribution used to test : Kubuntu 19.04 x64
# Author : see changelog
# Licence : GPLv3
# 
# CHANGELOG:
# [mimi89999] (2015-07-04)
#   Initial write.
# [amazingfate] (2016-06-27)
#   Add China server.
# (mauli] (2018-04-11)
#   Fix Download links.
# [VictorLima] (2018-10-11)
#   Fix North America Download link. Wine 1.7.55 -> 3.17
# [Dadu042] (2019-05-23)
#   Clean up. Approve latests submits. Wine 1.7.55 -> 4.01
# [Dadu042] (2019-06-24)
#   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5
# [Dadu042] (2019-06-26)
#   Wine 4.0.1 -> 4.11. POL_RequiredVersion 4.3.4
# [Dadu042] (2020-01-09)
#   Fix POL_RequiredVersion.
#   Fix POL_Shortcut category.

# KNOWN ISSUES:
# Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
# 'Bad exe format for: Games\World_of_Warships\bin64\WorldOfWarships64.exe.'
# After the first window, then click the button Play, the game launcher crashes. Same if launched in 'safe mode' (little button on the right of Play).
# Workaround : launch 'WorldOfWarships32.exe' instead of 'WoWSLauncher.exe'
#
# Game does crash at the end of a game session.  Wine 3.21 and 4.0.1 26/06/2019. Game v0.8.4.0
# Fixed by using Wine 4.11

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

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="4.11"
AUTHOR="Several (see the changelog)"
EDITOR="Lesta Studio"
GAME_URL="https://en.wikipedia.org/wiki/World_of_Warships"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571
  
POL_Debug_Init

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

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"
  
POL_SetupWindow_VMS "512"
  
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
  
#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
[ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
 
# Useful ?  Submitted by Mauli, 2018.
# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
 
 
cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"
  
POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"
  
# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "" "" "Game;StrategyGame;"

# Probable fix for those whose launcher is stuck at receiving updates:
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

# Workaround (see KNOWNISSUES above. There are 2 shortcuts because this script does not force WineArch):
POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "" "" "Game;StrategyGame;"
POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "" "" "Game;StrategyGame;"

POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Mercredi 26 Juin 2019 à 17:55
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

See changelog. Played 15 min.

 

I wonder if the code about 'display_seeding_mode' is really required (seems related to torrents inside the game, was copied from World of Tanks).

Differences

@@ -19,7 +19,7 @@
 #   Clean up. Approve latests submits. Wine 1.7.55 -> 4.01
 # [Dadu042] (2019-06-24)
 #   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5
-# [Dadu042] (2019-06-27)
+# [Dadu042] (2019-06-26)
 #   Wine 4.0.1 -> 4.11. POL_RequiredVersion 4.3.4
 
 # KNOWN ISSUES:

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : see changelog below
# Wine version used : see below
# Distribution used to test : Kubuntu 19.04 x64
# Author : see changelog
# Licence : GPLv3
# 
# CHANGELOG:
# [mimi89999] (2015-07-04)
#   Initial write.
# [amazingfate] (2016-06-27)
#   Add China server.
# (mauli] (2018-04-11)
#   Fix Download links.
# [VictorLima] (2018-10-11)
#   Fix North America Download link. Wine 1.7.55 -> 3.17
# [Dadu042] (2019-05-23)
#   Clean up. Approve latests submits. Wine 1.7.55 -> 4.01
# [Dadu042] (2019-06-24)
#   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5
# [Dadu042] (2019-06-26)
#   Wine 4.0.1 -> 4.11. POL_RequiredVersion 4.3.4

# KNOWN ISSUES:
# Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
# 'Bad exe format for: Games\World_of_Warships\bin64\WorldOfWarships64.exe.'
# After the first window, then click the button Play, the game launcher crashes. Same if launched in 'safe mode' (little button on the right of Play).
# Workaround : launch 'WorldOfWarships32.exe' instead of 'WoWSLauncher.exe'
#
# Game does crash at the end of a game session.  Wine 3.21 and 4.0.1 26/06/2019. Game v0.8.4.0
# Fixed by using Wine 4.11

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

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="4.11"
AUTHOR="Several (see the changelog)"
EDITOR="Lesta Studio"
GAME_URL="https://en.wikipedia.org/wiki/World_of_Warships"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571
  
POL_Debug_Init

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

POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"
  
POL_SetupWindow_VMS "512"
  
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
  
#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
[ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
 
# Useful ?  Submitted by Mauli, 2018.
# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
 
 
cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"
  
POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"
  
# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "Game;StrategyGame;"

# Probable fix for those whose launcher is stuck at receiving updates:
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

# Workaround (see KNOWNISSUES above. There are 2 shortcuts because this script does not force WineArch):
POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "Game;StrategyGame;"
POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "Game;StrategyGame;"

POL_SetupWindow_Close
exit 0

Réponses

Edité par Dadu042

Dadu042 Lundi 24 Juin 2019 à 23:04
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Game does now pass the login screen.
I played 10 minutes then had a crash when the game session ended. Perhaps has to try newer wine versions (currently 3.0.5).

Differences

@@ -1,42 +1,54 @@
 #!/bin/bash
 # Date : (2015-07-04)
-# Last revision : (2019-05-23)
+# Last revision : see changelog below
 # Wine version used : see below
-# Distribution used to test : Xubuntu 19.04 x64
+# Distribution used to test : Kubuntu 19.04 x64
 # Author : mimi89999
 # Licence : GPLv3
 # 
 # CHANGELOG:
-# [Dadu042] (2019-05-23)
-#   Clean up. Approve latests submits.
-# [amazingfate] (2016-06-27)
-#   Add China server.
 # [mimi89999] (2015-07-04)
 #   Initial write.
+# [amazingfate] (2016-06-27)
+#   Add China server.
+# (mauli] (2018-04-11)
+#   Fix Download links.
+# [VictorLima] (2018-10-11)
+#   Fix North America Download link. Wine 1.7.55 -> 3.17
+# [Dadu042] (2019-05-23)
+#   Clean up. Approve latests submits. Wine 1.7.55 -> 4.01
+# [Dadu042] (2019-06-24)
+#   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5
+
+# KNOWN ISSUES:
+# Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
+# 'Bad exe format for: Games\World_of_Warships\bin64\WorldOfWarships64.exe.'
+# After the first window, then click the button Play, the game launcher crashes. Same if launched in 'safe mode' (little button on the right of Play).
+# Workaround : launch 'WorldOfWarships32.exe' instead of 'WoWSLauncher.exe'
 
 TITLE="World Of Warships"
 PREFIX="WorldOfWarships"
-WINEVERSION="4.0.1"
- 
+WINEVERSION="3.0.5"
+  
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2571
- 
+  
 POL_Debug_Init
- 
+  
 POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999 (2015)" "$PREFIX"
- 
+  
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 Set_OS "win7"
- 
+  
 POL_SetupWindow_VMS "512"
- 
+  
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dcompiler_43
- 
+  
 #Select WoWS version
 POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
 [ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
@@ -44,22 +56,22 @@
 [ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
 [ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
 [ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
-
-# Useful ?  Submitted by Mauli, 2018.
-# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
-# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
-# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
-# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
-
-
+ 
+# Useful ?  Submitted by Mauli, 2018.
+# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
+# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
+# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
+# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
+ 
+ 
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"
 INSTALLER="${DL_URL##*/}"
- 
+  
 POL_Wine_WaitBefore "World Of Warships"
 POL_Wine start /unix "$INSTALLER"
 POL_Wine_WaitExit "World Of Warships"
- 
+  
 # Edit WoWSLauncher.cfg file
 OLD="<launcher_transport>3"
 NEW="<launcher_transport>2"
@@ -74,7 +86,7 @@
   fi
 done
 /bin/rm $TFILE
- 
+  
 OLD="<display_seeding_mode>2"
 NEW="<display_seeding_mode>0"
 DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
@@ -88,7 +100,7 @@
   fi
 done
 /bin/rm $TFILE
- 
+  
 OLD="<display_seeding_mode>1"
 NEW="<display_seeding_mode>0"
 DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
@@ -102,10 +114,16 @@
   fi
 done
 /bin/rm $TFILE
- 
-POL_Shortcut "WoWSLauncher.exe" "World Of Warships" "Game;StrategyGame;"
+  
+POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "Game;StrategyGame;"
+
+# Probable fix for those whose launcher is stuck at receiving updates:
 POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
 # As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html
- 
+
+# Workaround (see KNOWNISSUES above): 2 shortcuts because this script does not force WineArch:
+POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "Game;StrategyGame;"
+POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "Game;StrategyGame;"
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : see changelog below
# Wine version used : see below
# Distribution used to test : Kubuntu 19.04 x64
# Author : mimi89999
# Licence : GPLv3
# 
# CHANGELOG:
# [mimi89999] (2015-07-04)
#   Initial write.
# [amazingfate] (2016-06-27)
#   Add China server.
# (mauli] (2018-04-11)
#   Fix Download links.
# [VictorLima] (2018-10-11)
#   Fix North America Download link. Wine 1.7.55 -> 3.17
# [Dadu042] (2019-05-23)
#   Clean up. Approve latests submits. Wine 1.7.55 -> 4.01
# [Dadu042] (2019-06-24)
#   Fix 'game does not launch after clicking Play'. Wine 4.0.1 -> 3.0.5

# KNOWN ISSUES:
# Wine 3.0.5 and 4.0.1 24/06/2019. Game v0.8.4.0
# 'Bad exe format for: Games\World_of_Warships\bin64\WorldOfWarships64.exe.'
# After the first window, then click the button Play, the game launcher crashes. Same if launched in 'safe mode' (little button on the right of Play).
# Workaround : launch 'WorldOfWarships32.exe' instead of 'WoWSLauncher.exe'

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="3.0.5"
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571
  
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999 (2015)" "$PREFIX"
  
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"
  
POL_SetupWindow_VMS "512"
  
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
  
#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
[ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
 
# Useful ?  Submitted by Mauli, 2018.
# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
 
 
cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"
  
POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"
  
# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
  
POL_Shortcut "WoWSLauncher.exe" "World Of Warships (Launcher)" "Game;StrategyGame;"

# Probable fix for those whose launcher is stuck at receiving updates:
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

# Workaround (see KNOWNISSUES above): 2 shortcuts because this script does not force WineArch:
POL_Shortcut "WorldOfWarships32.exe" "World Of Warships (32 bits)" "Game;StrategyGame;"
POL_Shortcut "WorldOfWarships64.exe" "World Of Warships (64 bits)" "Game;StrategyGame;"

POL_SetupWindow_Close
exit 0

Réponses

Edité par Dadu042

Dadu042 Jeudi 23 Mai 2019 à 11:56
Dadu042

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Differences

@@ -1,51 +1,65 @@
 #!/bin/bash
 # Date : (2015-07-04)
-# Last revision : (2015-12-01)
-# Wine version used : 1.7.55
-# Distribution used to test : Linux Debian Stretch (9) x86_64
-# Kernel : 4.2.0-1-amd64
+# Last revision : (2019-05-23)
+# Wine version used : see below
+# Distribution used to test : Xubuntu 19.04 x64
 # Author : mimi89999
 # Licence : GPLv3
+# 
+# CHANGELOG:
+# [Dadu042] (2019-05-23)
+#   Clean up. Approve latests submits.
+# [amazingfate] (2016-06-27)
+#   Add China server.
+# [mimi89999] (2015-07-04)
+#   Initial write.
 
 TITLE="World Of Warships"
 PREFIX="WorldOfWarships"
-WINEVERSION="1.7.55"
-
+WINEVERSION="4.0.1"
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 2571
-
+ 
 POL_Debug_Init
-
-POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"
-
+ 
+POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999 (2015)" "$PREFIX"
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 Set_OS "win7"
-
+ 
 POL_SetupWindow_VMS "512"
-
+ 
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dcompiler_43
-
+ 
 #Select WoWS version
 POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
-[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
-[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
-[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
-[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
+[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
+[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
+[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
+[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
 [ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
 
+# Useful ?  Submitted by Mauli, 2018.
+# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
+# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
+# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
+# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
+
+
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"
 INSTALLER="${DL_URL##*/}"
-
+ 
 POL_Wine_WaitBefore "World Of Warships"
 POL_Wine start /unix "$INSTALLER"
 POL_Wine_WaitExit "World Of Warships"
-
+ 
 # Edit WoWSLauncher.cfg file
 OLD="<launcher_transport>3"
 NEW="<launcher_transport>2"
@@ -60,7 +74,7 @@
   fi
 done
 /bin/rm $TFILE
-
+ 
 OLD="<display_seeding_mode>2"
 NEW="<display_seeding_mode>0"
 DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
@@ -74,7 +88,7 @@
   fi
 done
 /bin/rm $TFILE
-
+ 
 OLD="<display_seeding_mode>1"
 NEW="<display_seeding_mode>0"
 DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
@@ -88,11 +102,10 @@
   fi
 done
 /bin/rm $TFILE
-
-POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
+ 
+POL_Shortcut "WoWSLauncher.exe" "World Of Warships" "Game;StrategyGame;"
 POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
 # As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html
-
+ 
 POL_SetupWindow_Close
-
-exit 0
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2019-05-23)
# Wine version used : see below
# Distribution used to test : Xubuntu 19.04 x64
# Author : mimi89999
# Licence : GPLv3
# 
# CHANGELOG:
# [Dadu042] (2019-05-23)
#   Clean up. Approve latests submits.
# [amazingfate] (2016-06-27)
#   Add China server.
# [mimi89999] (2015-07-04)
#   Initial write.

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="4.0.1"
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 2571
 
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999 (2015)" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"
 
POL_SetupWindow_VMS "512"
 
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
 
#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
[ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"

# Useful ?  Submitted by Mauli, 2018.
# [ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
# [ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
# [ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
# [ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"


cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"
 
POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"
 
# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
 
OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
 
OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE
 
POL_Shortcut "WoWSLauncher.exe" "World Of Warships" "Game;StrategyGame;"
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html
 
POL_SetupWindow_Close
exit 0

Réponses

VictorLima Jeudi 11 Octobre 2018 à 17:08
VictorLima Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -9,7 +9,7 @@
 
 TITLE="World Of Warships"
 PREFIX="WorldOfWarships"
-WINEVERSION="1.7.55"
+WINEVERSION="3.17"
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -32,7 +32,7 @@
 
 #Select WoWS version
 POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
-[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
+[ "$APP_ANSWER" = "North America" ] && DL_URL="https://cdn.discordapp.com/attachments/214552687323119616/328616628403044352/WoWS_internet_install_na.exe"
 [ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
 [ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
 [ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-12-01)
# Wine version used : 1.7.55
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="3.17"

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

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="https://cdn.discordapp.com/attachments/214552687323119616/328616628403044352/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

POL_SetupWindow_Close

exit 0

Réponses

VictorLima Lundi 8 Octobre 2018 à 3:46
VictorLima Anonymous

Messages

This didn't work for me. I was able to get the installer to run by manually changing the "US Region" download path, and increasing the Wine version to 3.17 (the most recent version). It ran for an hour, and then "developed a critical error", crashed, and restarted from scratch. Running it again results in the same error. This program DOES NOT WORK with Wine.

Réponses

thierrybo Mardi 25 September 2018 à 22:57
thierrybo Anonymous

Messages

hi,

here is a (dirty) workaround to the downloading errors (even with up to date urls):

- download the **

 

Download classic Launcher ** to ~/.PlayOnLinux/wineprefix/WorldOfWarships/drive_c/WoWS_internet_install_eu.exe

- Open you file explorer to ~/.PlayOnLinux/

- delete "install" file

- Run Playonlinux installer for WorfOfWarships and look at ~/.PlayOnLinux/ folder

- As soon as a the new "install" file appears, stop the installation

- Open the install file with your text editor

- Change the line (near line 35) :

#[ "$APP_ANSWER" = "<YOUR REGION>" ] && DL_URL=.............

to:

[ "$APP_ANSWER" = "<YOUR REGION>" ] && DL_URL="file:///home/<YOUR USER>/.PlayOnLinux/wineprefix/WorldOfWarships/drive_c/WoWS_internet_install_eu.exe"

-  Optionally, change the wine version from  the very old 1.7.55 to a newer one (I use 3.13 personally)

- Save the file

- Continue the installation

Réponses

mauli Mercredi 11 Avril 2018 à 20:45
mauli Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

the torrent downloader crashes from time to time, I can get a hand of this by limiting the download speed.

I have attached a patch to fix the download links, as most people wont use python SimpleHTTPServer locally with host entries to work around the not working DNS / them turning off the old mirror.

Differences

@@ -32,10 +32,10 @@
 
 #Select WoWS version
 POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
-[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
-[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
-[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
-[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
+[ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
+[ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
+[ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
+[ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"
 
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-12-01)
# Wine version used : 1.7.55
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.55"

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

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="https://worldofwarships.com/en/game/download/"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="https://worldofwarships.eu/en/game/download/"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="https://worldofwarships.ru/ru/game/download/"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="https://worldofwarships.asia/en/game/download/"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Jeudi 12 Avril 2018 à 17:07
you could take a look at Pol5, and made a script for it, it is really easy (feel free to ask for helm ;)) ->https://phoenicisorg.github.io/phoenicis/build/, https://github.com/PhoenicisOrg/scripts
Anonymous
Jeudi 12 Avril 2018 à 17:08
*help
dtanderson Vendredi 12 Janvier 2018 à 6:10
dtanderson Anonymous

Messages

This installer does not work any more, it errors when trying to download the installer from Wargaming.  "an error happened during the download, do you want to retry"

 

 

Réponses

Anonymous
Mardi 13 Février 2018 à 6:24
check out the script from cytomich posted below worked awsome for me high graphics and full screen 40-60 fps!!!!
Anonymous
Mercredi 11 Avril 2018 à 21:16
had the same issue and did some small debugging, if you did not manually install it yet, you can review my changes and apply the update with the patched download links.
no_data_here Mercredi 3 Janvier 2018 à 4:57
no_data_here Anonymous

Messages

After a little while of being frustrated by crashes, I stumbled upon this in the WG forums https://forum.worldofwarships.eu/topic/84805-069-on-linux/?tab=comments#comment-1979102

Following the directions in it has corrected most issues, however the Inventory, Clan, and News functionalities are still nonfunctional.

Réponses

CurlyMan Mardi 19 September 2017 à 0:12
CurlyMan Anonymous

Messages

Hi guys!
I used mimi899999's installer, as expected it didn't work but I somehow found a solution by mixing fings I could find on some forums. Please excuse my imprecisions, I am a total newbie.
The game actually runs on my Mint 18.1.

Once installed, change use wine 2.16 staging (the last release for me). Install directx11, install the video driver that fits your config, and d3dcompiler_43 (this is the part I found on a forum, no idea if it is really important or not).

The game should then work.

I have to play in ultra ultra low settings, nor the sea is not displayed (the boats float) which makes the aiming harder. This is due to my config I guess (core i3, GeForce610M (yes, I have an old piece of shit for computer)).

The only problem except that is that the game crashed at the end of each game, stating that the Big World client encountered an unhandeled exception... I don't know if this comes from playonlinux since some other players on windows experienced the same thing, or so I read.

Hope this was useful to you, and that someone more experimented will come up with a better solution!

Enjoy!

Réponses

Anonymous
Mardi 19 September 2017 à 13:13
Well sad news, today without any change it doesn't work, stating that the pkcs11 library is in 64 bits when it shoud be 32... I don't understand what happened
Anonymous
Mardi 19 September 2017 à 16:12
After reinstalling the game as I said while looking at the debug window, it appears that there are many problems and that all the things I installed didn't work... Yet after reinstallation the debug still prompts pkcs11 errors but it works again... Fuck it
mweATobf Samedi 12 Aoüt 2017 à 8:24
mweATobf Anonymous

Messages

Hi,

This official updated installer by mimi89999 (date of creation?) didn't work since the WoWS download links are (still/again ??) wrong.

The latest installer posted by cytomich still works for downloading.
But after latest WoWS update (0.9.6) WoWS always (!) crashs with a memory allocation error (can't copy from Windows window, how to submit an inmage to this list?).
I tested both 32bit (HIGH sound) or 64bit (ULTRA sound) WoWS versions with wine versions 1.8.6, 1.9.24, 2.0.2 (stable official wine release) and 2.8. And all "-staging" versions of the four. In all cases the same error.

I attach my last playonlinux.log for WoWS 64bit, wine 2.0.2 install.

Any hint how to go on?

System:

PlayOnLinux debugging tool (v4.2.12)
-----------------------------------------------
Debugging: World Of Warships

Warning: This is a PlayOnLinux script logfile. It does not contain everything that happened in your program\'s virtual drive (wineprefix)
Please do not use this logfile on winehq forum, this logfile is not interesting for wine debugging.

Date: 08/11/17 18:20:54

> uname -a
  Linux sonne 4.4.79-18.23-default #1 SMP Thu Aug 3 15:17:07 UTC 2017 (535046c) x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
 
> glxinfo \| grep rendering
  direct rendering: Yes
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_NV_path_rendering, GL_NV_pixel_data_range, GL_NV_point_sprite,
    GL_NV_packed_float_linear, GL_NV_path_rendering,
> glxinfo \| grep renderer
  OpenGL renderer string: GeForce GT 740/PCIe/SSE2
> OpenGL libs
  32bits direct rendering is enabled
  64bits direct rendering is enabled

<---------------------- SNIP -------------------> playonlinux.log <---------------------- SNIP ------------------->

[08/12/17 07:50:18] - Running wine-2.0.2 WorldOfWarships.exe (Working directory : /home/user/.PlayOnLinux/wineprefix/WorldOfWarships_64/drive_c/Games/World_of_Warships)
fixme:msvcrt:_configure_wide_argv (1) stub
fixme:msvcrt:_initialize_wide_environment stub
fixme:win:EnumDisplayDevicesW ((null),0,0x15ae220,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),1,0x15ae220,0x00000000), stub!
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33fd2c 63 C) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x33fd2c 63 0x25c18c8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x33fd2c 63 0x25c18c8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x33fd2c 63 0x25c18c8 (nil)) semi-stub
tcmalloc: large alloc 4194304 bytes == 03300000 @
tcmalloc: large alloc 4194304 bytes == 03700000 @
tcmalloc: large alloc 1048576 bytes == 03B60000 @
tcmalloc: large alloc 1048576 bytes == 03C60000 @
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)

...


fixme:d3d11:shdr_handler Unhandled chunk "RDEF".
fixme:d3d11:skip_dword_unknown Skipping 1 unknown DWORDs:
fixme:d3d11:skip_dword_unknown     0x00000008
fixme:d3d11:skip_dword_unknown Skipping 1 unknown DWORDs:
fixme:d3d11:skip_dword_unknown     0x00000008
fixme:d3d11:shdr_handler Unhandled chunk "STAT".
fixme:d3d11:skip_dword_unknown Skipping 4 unknown DWORDs:
fixme:d3d11:skip_dword_unknown     0x7e2c87ac
fixme:d3d11:skip_dword_unknown     0xf6a6053c
fixme:d3d11:skip_dword_unknown     0x061cab11
fixme:d3d11:skip_dword_unknown     0x66574d3d
fixme:d3d11:skip_dword_unknown Skipping 1 unknown DWORDs:
fixme:d3d11:skip_dword_unknown     0x00000001
fixme:d3d11:shdr_handler Unhandled chunk "RDEF".
fixme:d3d11:skip_dword_unknown Skipping 1 unknown DWORDs:
fixme:d3d11:skip_dword_unknown     0x00000008
fixme:d3d11:skip_dword_unknown Skipping 1 unknown DWORDs:
fixme:d3d11:skip_dword_unknown     0x00000008
fixme:d3d11:shdr_handler Unhandled chunk "STAT".
fixme:d3d11:skip_dword_unknown Skipping 4 unknown DWORDs:
fixme:d3d11:skip_dword_unknown     0x981a723c
fixme:d3d11:skip_dword_unknown     0xf3070538
fixme:d3d11:skip_dword_unknown     0x02839f2b
fixme:d3d11:skip_dword_unknown     0x78aecc20
fixme:d3d11:skip_dword_unknown Skipping 1 un

Réponses

Edité par Dadu042

cytomich Vendredi 12 Mai 2017 à 21:51
cytomich

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Hi.

Wargaming change URLs for exe files.

Differences

@@ -1,3 +1,5 @@
+
+
 #!/bin/bash
 # Date : (2015-07-04)
 # Last revision : (2015-12-01)
@@ -32,10 +34,10 @@
 
 #Select WoWS version
 POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
-[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
-[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
-[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
-[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
+[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
+[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
+[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
+[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
 
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"

Nouveau code source


#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-12-01)
# Wine version used : 1.7.55
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.55"

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

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl-wows-gc.wargaming.net/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl-wows-gc.wargaming.net/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl-wows-gc.wargaming.net/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl-wows-gc.wargaming.net/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Mardi 13 Février 2018 à 6:03
This method worked for me on Ubuntu 16.04 64 bit.
Anonymous
Mardi 13 Février 2018 à 6:07
After installing it I had to change the wine prefix to the latest wine staging which in my case was 2.21 and changed win ver to 8.1 and everything worked like it should ....Thanks Cytomich you are awsome!!!
Redchrome Lundi 21 Novembre 2016 à 4:18
Redchrome Anonymous

Messages

I have this working. However, I first needed to get OpenGL working, which in my case involved installing the nVidia drivers from the nVidia site (http://www.nvidia.com/object/unix.html), rather than the Ubuntu packages unfortuately. Some roundabout description of that may be found here:

https://www.playonlinux.com/en/topic-14897-SOLVED_Crash_with_qlibGL_errorq_despite_necessary_files_being_present.html

When you install, install the base installer but do not choose the 'automatic updates' option. If you do, the installer will install, try to update, and then crash repeatedly as it downloads updates.

Once you have the basic installer installed, then choose 'Configure' and set it to use Wine v1.9.23.

Also, do Configuration->Display tab->GLSL Support=enabled

Réponses

NewbieEnthusiast Mardi 13 September 2016 à 3:38
NewbieEnthusiast Anonymous

Messages

After latest patch (Game Update 0.5.11, I believe) I get crashes on startup.
After splash screen I get a Critical Error.

The error is rather lengthy but I can post it is required.

Réponses

Anonymous
Mercredi 14 September 2016 à 18:01
The same problem
Anonymous
Samedi 17 September 2016 à 8:51
The solution in my case - Updated version of Wine in PoL to 1.9.18-staging
amazingfate Lundi 27 Juin 2016 à 17:28
amazingfate Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -36,6 +36,7 @@
 [ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
 [ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
 [ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
+[ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"
 
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-12-01)
# Wine version used : 1.7.55
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.55"

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

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
[ "$APP_ANSWER" = "China" ] && DL_URL="http://wowsdn.kongzhong.com/official/wows.0.5.7.0_cn_setup.0570062111.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Lundi 27 Juin 2016 à 17:31
add China server, just for my personal use
Deleted account Jeudi 26 Mai 2016 à 15:17
Deleted account Anonymous

Messages

Not possible to install on Ubuntu 14.04. The Size of the Installationwindow is 1x1px with no possibility to increase.

Réponses

kodos Mardi 1 Mars 2016 à 0:33
kodos Anonymous

Messages

Everything is working but there is an "out of memory" error after playing a few games.

With version 5.2.x I got this error only when closing the game (which was solved by installing vcrun2012), with patch 5.3.X I get this error again but while the game was running (either while starting a match or after I get back into port after a match was finished)

 

For windows users, reinstalling directx 9c solved the problem.

For me the bug still exists no matter if I reinstall the game or reinstall components via winetricks (also tried winetricks directx9 instead of d3dx9

 

depugger shows only

wine: Unhandled exception 0x40000015 in thread 44 at address 0xe840023:0x0272327c (thread 0044), starting debugger...

&

libpng warning: iCCP: known incorrect sRGB profile

 

PS:

Linux Mint 17.3 64bit, Kernel 4.2.0-19generic

I5 6600k, 16GB RAM, GTX660 (2GB VRAM)

Réponses

NewbieEnthusiast Lundi 11 Janvier 2016 à 13:10
NewbieEnthusiast Anonymous

Messages

Hey guys,

I have had little to no problems installing and running this (I followed the instructions found above) but when in-game, I have recently begun experiencing "stuck" keys and limited mouse-movement. In addition, the game seems to only recognize one input at a time (one key or a mouse click). I am unsure how to proceed and I also don't know if it is a problem with my hardware (I unplugged everything but the mouse and keyboard), with Wine or with POL.

The main problem is the "stuck" keys. When navigating, if I use A or D for left and right, the game (or something else) keeps sending the A input, making me sail in circles. This is not as conductive to a successful match as one would believe and I'd like it to stop. If I tap A, ii often stops but whenever I use either key (A or D) again, the problem resurfaces. Note that it is always A that keeps repeating.

I am starting to think it might be a system bug as I have experienced it while browsing (only once and I cannot reproduce). I can reproduce it every time in WoWS.

Réponses

Anonymous
Jeudi 26 Mai 2016 à 15:18
Here the same...
Anonymous
Mardi 31 Mai 2016 à 14:35
did you try with wine 1.9?
Anonymous
Lundi 11 Juillet 2016 à 21:35
I have that problem too. Help me please.
petch Vendredi 4 Décembre 2015 à 23:20
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Add POL_SetupWindow_SetID

Differences

@@ -15,6 +15,7 @@
 source "$PLAYONLINUX/lib/sources"
 
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 2571
 
 POL_Debug_Init
 

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-12-01)
# Wine version used : 1.7.55
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.55"

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

POL_SetupWindow_Init
POL_SetupWindow_SetID 2571

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

POL_SetupWindow_Close

exit 0

Réponses

mimi89999 Mardi 1 Décembre 2015 à 17:10
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

The mouse movements in full screen are limited, it's recommended to switch the game to windowed mode.

To display the "Big race" map you will need to:

  • Enable GLSL rendering
  • Change the game settings:
  1. Texture Filtering -> Trilinear
  2. Post Processing -> off

Differences

@@ -15,7 +15,6 @@
 source "$PLAYONLINUX/lib/sources"
 
 POL_SetupWindow_Init
-POL_SetupWindow_SetID 2571
 
 POL_Debug_Init
 

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-12-01)
# Wine version used : 1.7.55
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.55"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
POL_Shortcut_InsertBeforeWine "$TITLE" 'sed -i.bak -e "s@<launcher_transport>3</launcher_transport>@<launcher_transport>2</launcher_transport>@" "$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"'
# As in https://www.playonlinux.com/en/app-1592-World_Of_Tanks.html

POL_SetupWindow_Close

exit 0

Réponses

Edité par Dadu042

mimi89999 Samedi 7 Novembre 2015 à 21:47
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2015-07-04)
-# Last revision : (2015-10-21)
-# Wine version used : 1.7.53
+# Last revision : (2015-11-07)
+# Wine version used : 1.7.54
 # Distribution used to test : Linux Debian Stretch (9) x86_64
 # Kernel : 4.2.0-1-amd64
 # Author : mimi89999
@@ -9,7 +9,7 @@
 
 TITLE="World Of Warships"
 PREFIX="WorldOfWarships"
-WINEVERSION="1.7.53"
+WINEVERSION="1.7.54"
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -40,12 +40,53 @@
 POL_Download "$DL_URL"
 INSTALLER="${DL_URL##*/}"
 
-POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"
-
 POL_Wine_WaitBefore "World Of Warships"
 POL_Wine start /unix "$INSTALLER"
 POL_Wine_WaitExit "World Of Warships"
 
+# Edit WoWSLauncher.cfg file
+OLD="<launcher_transport>3"
+NEW="<launcher_transport>2"
+DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
+TFILE="/tmp/out.tmp.$$"
+for f in $DPATH
+do
+  if [ -f $f -a -r $f ]; then
+   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
+  else
+   echo "Error: Cannot read $f"
+  fi
+done
+/bin/rm $TFILE
+
+OLD="<display_seeding_mode>2"
+NEW="<display_seeding_mode>0"
+DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
+TFILE="/tmp/out.tmp.$$"
+for f in $DPATH
+do
+  if [ -f $f -a -r $f ]; then
+   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
+  else
+   echo "Error: Cannot read $f"
+  fi
+done
+/bin/rm $TFILE
+
+OLD="<display_seeding_mode>1"
+NEW="<display_seeding_mode>0"
+DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
+TFILE="/tmp/out.tmp.$$"
+for f in $DPATH
+do
+  if [ -f $f -a -r $f ]; then
+   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
+  else
+   echo "Error: Cannot read $f"
+  fi
+done
+/bin/rm $TFILE
+
 POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
 
 POL_SetupWindow_Close

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-11-07)
# Wine version used : 1.7.54
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.54"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

# Edit WoWSLauncher.cfg file
OLD="<launcher_transport>3"
NEW="<launcher_transport>2"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>2"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

OLD="<display_seeding_mode>1"
NEW="<display_seeding_mode>0"
DPATH="$WINEPREFIX/drive_c/Games/World_of_Warships/WoWSLauncher.cfg"
TFILE="/tmp/out.tmp.$$"
for f in $DPATH
do
  if [ -f $f -a -r $f ]; then
   sed "s/$OLD/$NEW/g" "$f" > $TFILE && mv $TFILE "$f"
  else
   echo "Error: Cannot read $f"
  fi
done
/bin/rm $TFILE

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Samedi 7 Novembre 2015 à 21:52
I used Phobeus instructions.
https://appdb.winehq.org/objectManager.php?sClass=version&iId=32375
Anonymous
Dimanche 8 Novembre 2015 à 9:44
there is also a manual way arround the torrent download crash
Anonymous
Dimanche 8 Novembre 2015 à 9:45
you can directly download the path by torrent WITHOUT wargaming launcher

the torrent files can be found there ("torrent" ending the file name)

/home/perso/PlayOnLinux's virtual drives/WorldOfWarships/drive_c/Games/World_of_Warships/Updates

or you have the url link in the log file (just before the crash...)

/home/perso/PlayOnLinux's virtual drives/WorldOfWarships/drive_c/Games/World_of_Warships/WoWSLauncher.log

when you have the torrent file or the url you can use transmission or another peer to peer donwloader

if there are more than1 patch file you have to wait that all the patch files are downloaded

then copy the path files to the directory

then start the wargaming launcher

it will find the patches and run it
Anonymous
Dimanche 8 Novembre 2015 à 9:50
and many thanks to mimi8889 bad luck i had just find another way when i see this update
Anonymous
Vendredi 13 Novembre 2015 à 12:05
Many thanks phocas! I just tried your technique and it works great!
Anonymous
Mardi 12 Janvier 2016 à 8:33
If you try wine-staging version of wine are you still stuck with mouse?
mistermark Vendredi 30 Octobre 2015 à 18:46
mistermark Anonymous

Messages

Had to do a fresh install but have been unable get the Launcher to Download and Install Patches in Linux when Torrents are Enabled.  The old Launcher had a 'disable torrents' option but the new launcher does not have this feature at all (not even by tweaking config files).  Tried every tweak and nothing worked and there were no information in logs for me to work off of.  

 

The Fix: Installed the program on Windows.  Launcher works fine there. On my Linux Box Created a Virutal Drive environment 64bit windows with dx9 and dx9 compiler (see script in this thread). Copied the 'Games' Directory from my Windows machine to the Linux Machine's Virtual C drive folder.  Created shortcut to Game Executable in PlayOnLinux.  Runs Great.  

Réponses

Anonymous
Dimanche 1 Novembre 2015 à 0:40
Is there any way you could post a link to download the required files? I don't have access to a Windows machine an I am not willing to buy windows just to play this game. Is there a way to get the required files anyplace other than the launchers. Also I guess I'll need to find the 32 bit versions as well.
Anonymous
Dimanche 8 Novembre 2015 à 6:35
Sorry, I can only tell you how I got around my inability to run the new WowsLauncher from Linux. You might try to find The install directory has almost 200,000 files and is 22GB in size which makes it impractical for sharing over the internet.
Anonymous
Dimanche 8 Novembre 2015 à 6:39
Sorry, I can only tell you how I got around my inability to run the new WowsLauncher from Linux. You might try to find an online windows virtual machine you can install it on...and copy down the files from there.....Microsoft offers VMs at their Azure site. I will warn you that the install directory has almost 200,000 files and is 22GB in size which really makes any kind of copy over the internet extremely time consuming.
Anonymous
Vendredi 13 Novembre 2015 à 12:06
Update: Phocas has a Linux-Only way of handling the Wows Launcher Problem...Read his post in this thread.
Kantzur Mercredi 28 Octobre 2015 à 19:58
Kantzur Anonymous

Messages

World of Warships

After patch 5.x i can play one round normaly.

Next round if i coming near of islands the waterlevel go down,

an ship fly in the air.

I have try to start debug mode, but this frozen after i close the game.

THX for help

Réponses

Anonymous
Mercredi 28 Octobre 2015 à 20:00
Ubuntu 14.04 Wine 1.7.53
Krinski Dimanche 25 Octobre 2015 à 0:57
Krinski Anonymous

Messages

The game's laucher was updated to a new version and in this new laucher does not have how to disable the torrent mode what how you know, crash de laucher.The war of warplanes has de same problem.What should i do?

 


 

Réponses

Anonymous
Dimanche 25 Octobre 2015 à 1:54
A bunch of windows users are having problems with their Internet Service Providers not allowing the use of torrents, since they are commonly used for illegal downloads. I hope they revert back to the old lancher, because lots of people, not just us linux users, will be unable to play the game. I really don't see any other way to get around this problem.
Anonymous
Dimanche 25 Octobre 2015 à 15:52
I tryed to open the port 6881 with iptables and "worked" for world of warplanes,with same problems and dificulties but i got update ,but after opened,the game locks .The wolrd of warships didn't wordes neither this..
Krinski Samedi 24 Octobre 2015 à 23:53
Krinski Anonymous

Messages

The game's laucher was updated to a new version and in this new laucher does not have how to disable the torrent mode what how you know, crash de laucher.The war of warplanes has de same problem.What should i do?

 


 

Réponses

deri82 Samedi 24 Octobre 2015 à 16:48
deri82 Anonymous

Messages

You say that mouse movement is limited? Do you mean you cant turn 360 angles with mouse?

Then it's most likely this bug 8854 (I am not sure was it this or another I couldnt find now) which is fixed in wine-staging.

Réponses

mimi89999 Samedi 24 Octobre 2015 à 10:57
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -9,7 +9,7 @@
 
 TITLE="World Of Warships"
 PREFIX="WorldOfWarships"
-WINEVERSION="1.7.49"
+WINEVERSION="1.7.53"
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-10-21)
# Wine version used : 1.7.53
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.53"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close

exit 0

Réponses

mimi89999 Mercredi 21 Octobre 2015 à 17:07
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,9 +1,9 @@
 #!/bin/bash
 # Date : (2015-07-04)
-# Last revision : (2015-08-21)
-# Wine version used : 1.7.49
-# Distribution used to test : Linux Debian Jessie 8.1 x86_64
-# Kernel : 3.16.0-4-amd64
+# Last revision : (2015-10-21)
+# Wine version used : 1.7.53
+# Distribution used to test : Linux Debian Stretch (9) x86_64
+# Kernel : 4.2.0-1-amd64
 # Author : mimi89999
 # Licence : GPLv3
 

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-10-21)
# Wine version used : 1.7.53
# Distribution used to test : Linux Debian Stretch (9) x86_64
# Kernel : 4.2.0-1-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.49"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Vendredi 23 Octobre 2015 à 23:48
I had to un-install the game because I had made some mistakes the first time around. However, when I went to install, the launcher was different. This launcher has no option to disable torrents, now I can't get the game fully downloaded. I looked for an option to disable torrents in the launcer.cfg file, but I was unable to find anything. Please help if it is posible.
Anonymous
Samedi 24 Octobre 2015 à 23:55
i had the same problem,looking for solutions.
IamDH4 Vendredi 9 Octobre 2015 à 2:22
IamDH4 Anonymous

Messages

I was able to fix the Full-Screen mouse issue by using Wine 1.7.52-staging. I also used schotty's recomendations to get the game in fullscreen mode to begin with. I am now running mostly on high settings (some very high), with very acceptable framerates using an nVidia GTX 760 w/ propriatary drivers.

Réponses

Anonymous
Vendredi 9 Octobre 2015 à 2:29
My current settings: http://i.imgur.com/mxds17b.png

I may be able to use higher settings in some areas, but it is running flawless at the moment, and these settings have seemed to get rid of the graphical glitches I was facing.
phocas Samedi 5 September 2015 à 8:51
phocas Anonymous

Messages

all is fine with 1.7.49 version

but you have an error from the wowS installer in case of warships major update

like the 4.1 from early september

=> "not enough space on drive c" the update won't launch

to pass that lock you have to erase all the files stored in

you home /.PlayOnLinux/wineprefix/WorldOfWarships/drive_c/Games/World_of_Warships/Updates/

to free disk space

these files are the previous updates stored there for P2P downloads

 

see you on the seas

Réponses

deri82 Lundi 24 Aoüt 2015 à 23:20
deri82 Anonymous

Messages

Could you try wine-staging version of wine? It could fix the limited mouse movement.

Réponses

petch Vendredi 21 Aoüt 2015 à 16:42
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Add POL_SetupWindow_VMS statement (sets VRAM amount, warn of too low VRAM)

Differences

@@ -34,6 +34,8 @@
 [ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
 [ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
 
+POL_SetupWindow_VMS 512
+
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"
 INSTALLER="${DL_URL##*/}"

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-08-08)
# Wine version used : 1.7.49
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.49"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

POL_SetupWindow_VMS 512

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Vendredi 21 Aoüt 2015 à 16:44
I think it's better to set it before...
Vendredi 21 Aoüt 2015 à 17:07
I'm not sure what's the best place, I'd arrange the whole script differently anyway: all interactive steps, downloads, creation of the virtual drive, tweaks, installation, creation of shortcut(s)
But even then POL_SetupWindow_VMS doesn't fit very well, because it's a "tweak" that is sometimes "interactive" too (the first time it's used; after that the answer is cached)
mimi89999 Vendredi 21 Aoüt 2015 à 16:42
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2015-07-04)
-# Last revision : (2015-08-08)
+# Last revision : (2015-08-21)
 # Wine version used : 1.7.49
 # Distribution used to test : Linux Debian Jessie 8.1 x86_64
 # Kernel : 3.16.0-4-amd64
@@ -24,6 +24,8 @@
 POL_Wine_PrefixCreate "$WINEVERSION"
 Set_OS "win7"
 
+POL_SetupWindow_VMS "512"
+
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dcompiler_43
 

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-08-21)
# Wine version used : 1.7.49
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.49"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_SetupWindow_VMS "512"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Vendredi 21 Aoüt 2015 à 16:43
http://worldofwarships.eu/en/content/game/#system_requirements
"Video Memory: 512 MB"
schotty Vendredi 21 Aoüt 2015 à 15:24
schotty

Messages

Runs ok, but a few things that I had to do for "Proper" functionality.

 

1)Set the VRAM in the bottle config

2)Set GLSL in the bottle config

3)For fullscreen setting to not crash upon setting it, I needed to set everything to low after choosing fullscreen to force a restart (and not crash), then once back in set the settings back up to high (and another restart), then disable Post Processing and set the graphics to Trilinear Filtering.

 

That aside (and frankly 1 & 2 I do anyway in most games anyhow) runs quite well.  If I only had skill in this game I might be dangerous with my USS Kernel Panic :D

Réponses

Vendredi 21 Aoüt 2015 à 16:32
1. can be fixed by adding a POL_SetupWindow_VMS statement to the script;
2. GLSL are enabled by default as far as I know, so logically it shouldn't change a thing
3. looks harder to automate. I wonder if they're not specific to your hardware or drivers anyway...
Anonymous
Vendredi 21 Aoüt 2015 à 16:38
2 and 3 are specified in the description
Samedi 22 Aoüt 2015 à 21:35
mimi89999 I know that, but frankly if these are the only three things that need to be done I can't complain. I remember the good old days in 2000-2002 when trying to get anything supported working under vanilla wine was an act of God.
petch Lundi 10 Aoüt 2015 à 22:05
petch

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Slighly simpler logic, since the script doesn't make use of $REGION beside deducing installer name

Differences

@@ -29,18 +29,19 @@
 
 #Select WoWS version
 POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
-[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe" && REGION="na"
-[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe" && REGION="eu"
-[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe" && REGION="ru"
-[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe" && REGION="asia"
+[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
+[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
+[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
+[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
 
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"
+INSTALLER="${DL_URL##*/}"
 
 POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"
 
 POL_Wine_WaitBefore "World Of Warships"
-POL_Wine start /unix "WoWS_internet_install_$REGION.exe"
+POL_Wine start /unix "$INSTALLER"
 POL_Wine_WaitExit "World Of Warships"
 
 POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-08-08)
# Wine version used : 1.7.49
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.49"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"
INSTALLER="${DL_URL##*/}"

POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "$INSTALLER"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Mardi 11 Aoüt 2015 à 4:51
This one works fine.
mimi89999 Lundi 10 Aoüt 2015 à 21:47
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -29,10 +29,10 @@
 
 #Select WoWS version
 POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
-[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
-[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
-[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
-[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
+[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe" && REGION="na"
+[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe" && REGION="eu"
+[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe" && REGION="ru"
+[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe" && REGION="asia"
 
 cd "$WINEPREFIX/drive_c"
 POL_Download "$DL_URL"
@@ -40,7 +40,7 @@
 POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"
 
 POL_Wine_WaitBefore "World Of Warships"
-POL_Wine start /unix "WoWS_internet_install_eu.exe"
+POL_Wine start /unix "WoWS_internet_install_$REGION.exe"
 POL_Wine_WaitExit "World Of Warships"
 
 POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-08-08)
# Wine version used : 1.7.49
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.49"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe" && REGION="na"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe" && REGION="eu"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe" && REGION="ru"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe" && REGION="asia"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"

POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_$REGION.exe"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close

exit 0

Réponses

mimi89999 Samedi 8 Aoüt 2015 à 11:23
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,13 +1,15 @@
 #!/bin/bash
-# Date : (2015-07-4)
-# Last revision : (2015-07-20)
-# Wine version used : 1.7.47
+# Date : (2015-07-04)
+# Last revision : (2015-08-08)
+# Wine version used : 1.7.49
 # Distribution used to test : Linux Debian Jessie 8.1 x86_64
 # Kernel : 3.16.0-4-amd64
 # Author : mimi89999
 # Licence : GPLv3
 
 TITLE="World Of Warships"
+PREFIX="WorldOfWarships"
+WINEVERSION="1.7.49"
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -16,18 +18,25 @@
 
 POL_Debug_Init
 
-POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
-  
-POL_Wine_SelectPrefix "WorldOfWarships"
-POL_Wine_PrefixCreate "1.7.47"
+POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
 Set_OS "win7"
 
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dcompiler_43
 
+#Select WoWS version
+POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
+[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
+[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
+[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
+[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"
+
 cd "$WINEPREFIX/drive_c"
-POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
-  
+POL_Download "$DL_URL"
+
 POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"
 
 POL_Wine_WaitBefore "World Of Warships"
@@ -37,5 +46,5 @@
 POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
 
 POL_SetupWindow_Close
-  
-exit 0
\ No newline at end of file
+
+exit 0

Nouveau code source

#!/bin/bash
# Date : (2015-07-04)
# Last revision : (2015-08-08)
# Wine version used : 1.7.49
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"
PREFIX="WorldOfWarships"
WINEVERSION="1.7.49"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "$PREFIX"

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

#Select WoWS version
POL_SetupWindow_menu "$(eval_gettext 'Which region version of World Of Warships would you like to install? Note: Korea is not supported yet.')" "$TITLE" "North America~Europe~Russia~Asia" "~"
[ "$APP_ANSWER" = "North America" ] && DL_URL="http://dl.wargaming.net/wows_a/na/files/MDcyICBcdT/WoWS_internet_install_na.exe"
[ "$APP_ANSWER" = "Europe" ] && DL_URL="http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
[ "$APP_ANSWER" = "Russia" ] && DL_URL="http://dl.wargaming.net/wows_a/ru/files/xIFx1MTA3O/WoWS_internet_install_ru.exe"
[ "$APP_ANSWER" = "Asia" ] && DL_URL="http://dl.wargaming.net/wows_a/asia/files/Kg9cc1LM/WoWS_internet_install_asia.exe"

cd "$WINEPREFIX/drive_c"
POL_Download "$DL_URL"

POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_eu.exe"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close

exit 0

Réponses

Anonymous
Lundi 10 Aoüt 2015 à 1:48
Currently doesn't work with anything other than EU. The code hardcodes executing eu installer.
Anonymous
Lundi 10 Aoüt 2015 à 1:49
Workaround is to copy the downloaded installer (by default in ~/.PlayOnLinux/wineprefix/WorldOfWarships/drive_c) and rename it to WoWS_internet_install_eu.exe.
Anonymous
Lundi 10 Aoüt 2015 à 2:55
wine-staging with CSMT enabled seem to have better performance (24 vs 38 fps on GTX 750Ti), slight graphics artifacts though.
Anonymous
Lundi 10 Aoüt 2015 à 21:48
Could you please test the update?
mimi89999 Vendredi 31 Juillet 2015 à 17:04
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2015-07-4)
 # Last revision : (2015-07-20)
-# Wine version used : 1.7.47
+# Wine version used : 1.7.48
 # Distribution used to test : Linux Debian Jessie 8.1 x86_64
 # Kernel : 3.16.0-4-amd64
 # Author : mimi89999
@@ -19,7 +19,7 @@
 POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
   
 POL_Wine_SelectPrefix "WorldOfWarships"
-POL_Wine_PrefixCreate "1.7.47"
+POL_Wine_PrefixCreate "1.7.48"
 Set_OS "win7"
 
 POL_Call POL_Install_d3dx9

Nouveau code source

#!/bin/bash
# Date : (2015-07-4)
# Last revision : (2015-07-20)
# Wine version used : 1.7.48
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
  
POL_Wine_SelectPrefix "WorldOfWarships"
POL_Wine_PrefixCreate "1.7.48"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

cd "$WINEPREFIX/drive_c"
POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
  
POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_eu.exe"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close
  
exit 0

Réponses

mimi89999 Lundi 20 Juillet 2015 à 15:34
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # Date : (2015-07-4)
-# Last revision : (2015-07-4)
-# Wine version used : 1.7.38
+# Last revision : (2015-07-20)
+# Wine version used : 1.7.47
 # Distribution used to test : Linux Debian Jessie 8.1 x86_64
 # Kernel : 3.16.0-4-amd64
 # Author : mimi89999
@@ -19,7 +19,7 @@
 POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
   
 POL_Wine_SelectPrefix "WorldOfWarships"
-POL_Wine_PrefixCreate "1.7.46"
+POL_Wine_PrefixCreate "1.7.47"
 Set_OS "win7"
 
 POL_Call POL_Install_d3dx9

Nouveau code source

#!/bin/bash
# Date : (2015-07-4)
# Last revision : (2015-07-20)
# Wine version used : 1.7.47
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
  
POL_Wine_SelectPrefix "WorldOfWarships"
POL_Wine_PrefixCreate "1.7.47"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

cd "$WINEPREFIX/drive_c"
POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
  
POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_eu.exe"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close
  
exit 0

Réponses

Anonymous
Lundi 20 Juillet 2015 à 15:34
Updated wine to 1.7.47
Anonymous
Lundi 20 Juillet 2015 à 16:03
To display the "Big race" map you will need to:
-- Enable GLSL rendering
-- Change the game settings:
1. Texture Filtering -> Trilinear
2. Post Processing -> off
mimi89999 Lundi 20 Juillet 2015 à 15:32
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,41 +1,41 @@
 #!/bin/bash
 # Date : (2015-07-4)
-# Last revision : (2015-07-4)
-# Wine version used : 1.7.38
+# Last revision : (2015-07-20)
+# Wine version used : 1.7.47
 # Distribution used to test : Linux Debian Jessie 8.1 x86_64
 # Kernel : 3.16.0-4-amd64
 # Author : mimi89999
 # Licence : GPLv3
-
+ 
 TITLE="World Of Warships"
-
+ 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 POL_SetupWindow_Init
-
+ 
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
-  
+   
 POL_Wine_SelectPrefix "WorldOfWarships"
-POL_Wine_PrefixCreate "1.7.46"
+POL_Wine_PrefixCreate "1.7.47"
 Set_OS "win7"
-
+ 
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dcompiler_43
-
+ 
 cd "$WINEPREFIX/drive_c"
 POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
-  
+   
 POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"
-
+ 
 POL_Wine_WaitBefore "World Of Warships"
 POL_Wine start /unix "WoWS_internet_install_eu.exe"
 POL_Wine_WaitExit "World Of Warships"
-
+ 
 POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
-
+ 
 POL_SetupWindow_Close
-  
+   
 exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-07-4)
# Last revision : (2015-07-20)
# Wine version used : 1.7.47
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3
 
TITLE="World Of Warships"
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
POL_Debug_Init
 
POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
   
POL_Wine_SelectPrefix "WorldOfWarships"
POL_Wine_PrefixCreate "1.7.47"
Set_OS "win7"
 
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
 
cd "$WINEPREFIX/drive_c"
POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
   
POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"
 
POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_eu.exe"
POL_Wine_WaitExit "World Of Warships"
 
POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
 
POL_SetupWindow_Close
   
exit 0

Réponses

Anonymous
Lundi 20 Juillet 2015 à 15:36
Use the update of Monday 20 July 2015 at 15:34
mimi89999 Mercredi 8 Juillet 2015 à 18:30
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -1,6 +1,6 @@
 #!/bin/bash
 # Date : (2015-07-4)
-# Last revision : (2015-07-4)
+# Last revision : (2015-07-8)
 # Wine version used : 1.7.38
 # Distribution used to test : Linux Debian Jessie 8.1 x86_64
 # Kernel : 3.16.0-4-amd64
@@ -21,6 +21,7 @@
 POL_Wine_SelectPrefix "WorldOfWarships"
 POL_Wine_PrefixCreate "1.7.46"
 Set_OS "win7"
+POL_Wine_Direct3D "UseGLSL" "enabled"
 
 POL_Call POL_Install_d3dx9
 POL_Call POL_Install_d3dcompiler_43

Nouveau code source

#!/bin/bash
# Date : (2015-07-4)
# Last revision : (2015-07-8)
# Wine version used : 1.7.38
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
  
POL_Wine_SelectPrefix "WorldOfWarships"
POL_Wine_PrefixCreate "1.7.46"
Set_OS "win7"
POL_Wine_Direct3D "UseGLSL" "enabled"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

cd "$WINEPREFIX/drive_c"
POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
  
POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_eu.exe"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close
  
exit 0

Réponses

Mercredi 8 Juillet 2015 à 18:53
Shouldn't there be a "POL_GetSetupImages" line?
Mercredi 8 Juillet 2015 à 19:06
Well, you only need one if you have graphic resources to load for the install wizard
Anonymous
Mercredi 8 Juillet 2015 à 19:08
https://appdb.winehq.org/objectManager.php?sClass=version&iId=32375
mimi89999 Mercredi 8 Juillet 2015 à 14:08
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -19,6 +19,7 @@
 POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
   
 POL_Wine_SelectPrefix "WorldOfWarships"
+POL_System_SetArch "x86"
 POL_Wine_PrefixCreate "1.7.46"
 Set_OS "win7"
 

Nouveau code source

#!/bin/bash
# Date : (2015-07-4)
# Last revision : (2015-07-4)
# Wine version used : 1.7.38
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
  
POL_Wine_SelectPrefix "WorldOfWarships"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "1.7.46"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

cd "$WINEPREFIX/drive_c"
POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
  
POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_eu.exe"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close
  
exit 0

Réponses

Mercredi 8 Juillet 2015 à 14:18
Architecture "x86" is the default, so this change should be a no-op (even if that can be a way to document that the program doesn't work in 64bits)
mimi89999 Dimanche 5 Juillet 2015 à 9:23
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -0,0 +1,41 @@
+#!/bin/bash
+# Date : (2015-07-4)
+# Last revision : (2015-07-4)
+# Wine version used : 1.7.38
+# Distribution used to test : Linux Debian Jessie 8.1 x86_64
+# Kernel : 3.16.0-4-amd64
+# Author : mimi89999
+# Licence : GPLv3
+
+TITLE="World Of Warships"
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+
+POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
+  
+POL_Wine_SelectPrefix "WorldOfWarships"
+POL_Wine_PrefixCreate "1.7.46"
+Set_OS "win7"
+
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_d3dcompiler_43
+
+cd "$WINEPREFIX/drive_c"
+POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
+  
+POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"
+
+POL_Wine_WaitBefore "World Of Warships"
+POL_Wine start /unix "WoWS_internet_install_eu.exe"
+POL_Wine_WaitExit "World Of Warships"
+
+POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
+
+POL_SetupWindow_Close
+  
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-07-4)
# Last revision : (2015-07-4)
# Wine version used : 1.7.38
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

TITLE="World Of Warships"

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
  
POL_Wine_SelectPrefix "WorldOfWarships"
POL_Wine_PrefixCreate "1.7.46"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43

cd "$WINEPREFIX/drive_c"
POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
  
POL_SetupWindow_message "$(eval_gettext 'Please Un-check the box: "Allow Torrent" in World Of Warships dowloader.')" "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_eu.exe"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close
  
exit 0

Réponses

mimi89999 Samedi 4 Juillet 2015 à 22:20
mimi89999 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Differences

@@ -0,0 +1,41 @@
+#!/bin/bash
+# Date : (2015-07-4)
+# Last revision : (2015-07-4)
+# Wine version used : 1.7.38
+# Distribution used to test : Linux Debian Jessie 8.1 x86_64
+# Kernel : 3.16.0-4-amd64
+# Author : mimi89999
+# Licence : GPLv3
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+POL_SetupWindow_Init
+
+POL_Debug_Init
+
+POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
+  
+POL_Wine_SelectPrefix "WorldOfWarships"
+POL_Wine_PrefixCreate "1.7.38"
+Set_OS "win7"
+
+POL_Call POL_Install_d3dx9
+POL_Call POL_Install_d3dcompiler_43
+ 
+POL_SetupWindow_VMS "$GAME_VMS"
+
+cd "$WINEPREFIX/drive_c"
+POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
+  
+POL_SetupWindow_message "Please Un-check the box: 'Allow Torrent' in World Of Warships dowloader." "$TITLE"
+
+POL_Wine_WaitBefore "World Of Warships"
+POL_Wine start /unix "WoWS_internet_install_eu.exe"
+POL_Wine_WaitExit "World Of Warships"
+
+POL_Shortcut "WoWSLauncher.exe" "World Of Warships"
+
+POL_SetupWindow_Close
+  
+exit 0
\ No newline at end of file

Nouveau code source

#!/bin/bash
# Date : (2015-07-4)
# Last revision : (2015-07-4)
# Wine version used : 1.7.38
# Distribution used to test : Linux Debian Jessie 8.1 x86_64
# Kernel : 3.16.0-4-amd64
# Author : mimi89999
# Licence : GPLv3

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

POL_SetupWindow_Init

POL_Debug_Init

POL_SetupWindow_presentation "World Of Warships" "BigWorld Technology™" "http://worldofwarships.eu/" "mimi89999" "WorldOfWarships"
  
POL_Wine_SelectPrefix "WorldOfWarships"
POL_Wine_PrefixCreate "1.7.38"
Set_OS "win7"

POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
 
POL_SetupWindow_VMS "$GAME_VMS"

cd "$WINEPREFIX/drive_c"
POL_Download "http://dl.wargaming.net/wows_a/eu/files/ilcClx1YzB/WoWS_internet_install_eu.exe"
  
POL_SetupWindow_message "Please Un-check the box: 'Allow Torrent' in World Of Warships dowloader." "$TITLE"

POL_Wine_WaitBefore "World Of Warships"
POL_Wine start /unix "WoWS_internet_install_eu.exe"
POL_Wine_WaitExit "World Of Warships"

POL_Shortcut "WoWSLauncher.exe" "World Of Warships"

POL_SetupWindow_Close
  
exit 0

Réponses

Dimanche 5 Juillet 2015 à 2:41
My review:
- Scripts must define $TITLE, to match the script name in the repository, for POL_Debug_Init to work correctly;
- You use $GAME_VMS but never defined it;
- POL_SetupWindow_message "Please Un-check the box: 'Allow Torrent' in World Of Warships dowloader." "$TITLE"
All user-oriented messages must support localization: http://wiki.playonlinux.com/index.php/Scripting_-_Chapter_10:_Script_Translation
Anonymous
Dimanche 5 Juillet 2015 à 7:32
I would also use newer wine version. It's not good to have already old version, when the script is out.
Anonymous
Lundi 6 Juillet 2015 à 14:22
I accidentaly put that No-cd is required but it''s not.