POL_Install_steam

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 1930432
Wine: System

Feedbacks

Description

This function allow you to install Steam.

Appdb.winehq.org.  Wikipedia.

Source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 22-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"


POL_Debug_Message "Installing Steam."
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please let complete the Steam setup wizard." "$TITLE"
POL_Wine start /unix "SteamSetup.exe"

# POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
POL_SetupWindow_message "Please: once the update is complete,\n#1 do log into your Steam account,\n#2 then click Next to continue." "$TITLE"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécessaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
# Fix for the "content servers unreachable" error (2015)
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Contributions

Filters:

Contribute
Member Message
Dadu042 Tuesday 2 June 2020 at 23:32
Dadu042

Information

This update has been approved by the team.

Message

Worked with the (free) game 'Guns Up'. Played 15 min.

Differences

@@ -33,10 +33,10 @@
 POL_Wine start /unix "SteamSetup.exe"
 
 # POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
-POL_SetupWindow_message "Please:\n#1 once the update is complete, do log into your Steam account.\n#2 Then click Next to continue." "$TITLE"
+POL_SetupWindow_message "Please: once the update is complete,\n#1 do log into your Steam account,\n#2 then click Next to continue." "$TITLE"
   
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
-# Note : semble ne plus être nécéssaire désormais?
+# Note : semble ne plus être nécessaire désormais?
 POL_Wine_OverrideDLL "" "gameoverlayrenderer"
  
 # Fix for the "content servers unreachable" error (2015)

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 22-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"


POL_Debug_Message "Installing Steam."
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please let complete the Steam setup wizard." "$TITLE"
POL_Wine start /unix "SteamSetup.exe"

# POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
POL_SetupWindow_message "Please: once the update is complete,\n#1 do log into your Steam account,\n#2 then click Next to continue." "$TITLE"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécessaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
# Fix for the "content servers unreachable" error (2015)
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Tuesday 2 June 2020 at 23:36
(tested successfull with WinE 5.0, 32 bits)
Dadu042 Tuesday 2 June 2020 at 23:05
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -29,16 +29,16 @@
 cd "$POL_USER_ROOT/ressources/"
 
 # POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
-POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
+POL_SetupWindow_message "Please let complete the Steam setup wizard." "$TITLE"
 POL_Wine start /unix "SteamSetup.exe"
 
 # POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
-POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nThen click Next to continue." "$TITLE"
+POL_SetupWindow_message "Please:\n#1 once the update is complete, do log into your Steam account.\n#2 Then click Next to continue." "$TITLE"
   
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?
 POL_Wine_OverrideDLL "" "gameoverlayrenderer"
  
-#Fix for the "content servers unreachable" error
+# Fix for the "content servers unreachable" error (2015)
 cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
 sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 22-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"


POL_Debug_Message "Installing Steam."
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please let complete the Steam setup wizard." "$TITLE"
POL_Wine start /unix "SteamSetup.exe"

# POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
POL_SetupWindow_message "Please:\n#1 once the update is complete, do log into your Steam account.\n#2 Then click Next to continue." "$TITLE"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
# Fix for the "content servers unreachable" error (2015)
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 22:58
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

SteamSetup.Exe now does launch with : POL_Wine start /unix "SteamSetup.exe"

Differences

@@ -33,7 +33,7 @@
 POL_Wine start /unix "SteamSetup.exe"
 
 # POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
-POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nClick Next to continue." "$TITLE"
+POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nThen click Next to continue." "$TITLE"
   
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 22-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"


POL_Debug_Message "Installing Steam."
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine start /unix "SteamSetup.exe"

# POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nThen click Next to continue." "$TITLE"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 22:55
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -30,7 +30,7 @@
 
 # POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
-POL_Wine /unix "SteamSetup.exe"
+POL_Wine start /unix "SteamSetup.exe"
 
 # POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
 POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nClick Next to continue." "$TITLE"

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 22-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"


POL_Debug_Message "Installing Steam."
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine start /unix "SteamSetup.exe"

# POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nClick Next to continue." "$TITLE"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 22:51
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -32,7 +32,8 @@
 POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
 POL_Wine /unix "SteamSetup.exe"
 
-POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
+# POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
+POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nClick Next to continue." "$TITLE"
   
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 22-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"


POL_Debug_Message "Installing Steam."
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine /unix "SteamSetup.exe"

# POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nClick Next to continue." "$TITLE"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 22:47
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

I try removing the registry tweak.

Differences

@@ -30,10 +30,9 @@
 
 # POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
-POL_Wine start /unix "SteamSetup.exe"
+POL_Wine /unix "SteamSetup.exe"
 
-# POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
-POL_SetupWindow_message "Please log into your Steam account once the update is complete.\n\nThen click Next to continue." "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
   
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 22-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"


POL_Debug_Message "Installing Steam."
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine /unix "SteamSetup.exe"

POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Edited by Dadu042

Dadu042 Tuesday 2 June 2020 at 22:44
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-02-12 21-00)
-# Last revision : (2020-06-02 21-50)
+# Last revision : (2020-06-02 22-50)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
   
@@ -15,8 +15,9 @@
   
 # Fix to prevent Steam from launching without text after update
 POL_Wine_OverrideDLL "" "dwrite"
-  
+
 # Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
+POL_Debug_Message "Tweak the registry."
 if [ "$POL_ARCH" == "amd64" ]; then
         cat << EOF > "fix.reg"
         REGEDIT4
@@ -45,7 +46,9 @@
   
         POL_Wine regedit.exe "fix.reg"
 fi
-  
+
+
+POL_Debug_Message "Installing Steam."
 # Installing Steam
 
 # Seems impossible to work (2020-06)
@@ -68,4 +71,4 @@
  
 #Fix for the "content servers unreachable" error
 cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
-sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
\ No newline at end of file
+sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 22-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"

# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
POL_Debug_Message "Tweak the registry."
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi


POL_Debug_Message "Installing Steam."
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine /unix "SteamSetup.exe"

POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 22:31
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -47,12 +47,14 @@
 fi
   
 # Installing Steam
-cd "$WINEPREFIX/drive_c"
-POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"
+
+# Seems impossible to work (2020-06)
+# cd "$WINEPREFIX/drive_c"
+# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"
 
 # Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
-# POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
-# cd "$POL_USER_ROOT/ressources/"
+POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
+cd "$POL_USER_ROOT/ressources/"
 
 # POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 21-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam

# Seems impossible to work (2020-06)
# cd "$WINEPREFIX/drive_c"
# POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" "81448c2e730b50b597bbd5e43007ce6a"
cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine /unix "SteamSetup.exe"

POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 22:27
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -56,7 +56,7 @@
 
 # POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
-POL_Wine "SteamSetup.exe"
+POL_Wine /unix "SteamSetup.exe"
 
 POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
   

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 21-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam
cd "$WINEPREFIX/drive_c"
POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
# POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
# cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine /unix "SteamSetup.exe"

POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 22:15
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -49,7 +49,7 @@
 # Installing Steam
 cd "$WINEPREFIX/drive_c"
 POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"
-*
+
 # Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
 # POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
 # cd "$POL_USER_ROOT/ressources/"

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 21-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam
cd "$WINEPREFIX/drive_c"
POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
# POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
# cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine "SteamSetup.exe"

POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 22:11
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -54,8 +54,10 @@
 # POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
 # cd "$POL_USER_ROOT/ressources/"
 
-POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
+# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
+POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
 POL_Wine "SteamSetup.exe"
+
 POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
   
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 21-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam
cd "$WINEPREFIX/drive_c"
POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"
*
# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
# POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
# cd "$POL_USER_ROOT/ressources/"

# POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_SetupWindow_message "Please complete the Steam setup wizard." "$TITLE"
POL_Wine "SteamSetup.exe"

POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 21:55
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Trying to make it work (Steamsetup.exe does not launch to install).

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-02-12 21-00)
-# Last revision : (2020-06-02 21-40)
+# Last revision : (2020-06-02 21-50)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
   
@@ -47,12 +47,13 @@
 fi
   
 # Installing Steam
+cd "$WINEPREFIX/drive_c"
 POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"
-
-# Contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
+*
+# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
 # POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
-        
-cd "$POL_USER_ROOT/ressources/"
+# cd "$POL_USER_ROOT/ressources/"
+
 POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_Wine "SteamSetup.exe"
 POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 21-50)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam
cd "$WINEPREFIX/drive_c"
POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"
*
# Disabled because contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
# POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
# cd "$POL_USER_ROOT/ressources/"

POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 21:49
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-02-12 21-00)
-# Last revision : (2018-07-08 16:27)
+# Last revision : (2020-06-02 21-40)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
   
@@ -32,7 +32,7 @@
         POL_Wine regedit.exe "fix.reg"
  
 else
-        cat << EOF > fix.reg"
+        cat << EOF > "fix.reg"
         REGEDIT4
   
         [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
@@ -63,5 +63,4 @@
  
 #Fix for the "content servers unreachable" error
 cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
-sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
-#
\ No newline at end of file
+sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 21-40)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam
POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
# POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
        
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Dadu042 Tuesday 2 June 2020 at 21:47
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-02-12 21-00)
-# Last revision : (2018-07-08 16:27)
+# Last revision : (2020-06-02 21-40)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
   
@@ -32,7 +32,7 @@
         POL_Wine regedit.exe "fix.reg"
  
 else
-        cat << EOF > fix.reg"
+        cat << EOF > "fix.reg"
         REGEDIT4
   
         [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
@@ -64,4 +64,11 @@
 #Fix for the "content servers unreachable" error
 cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
 sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
-#
\ No newline at end of file
+#
+cat << "-----END PGP SIGNATURE-----" > /dev/null
+-----BEGIN PGP SIGNATURE-----
+
+iF0EABECAB0WIQRFtWEU2eoWQNaBNczlMfrJqhPKRwUCXeJ5yQAKCRDlMfrJqhPK
+R6jUAKCPN3LcjIJ2mWopk6sBQD4GmV1sIQCfaQM+nKUBUr0U7eVQDo4FN17h26I=
+=Bf4R
+-----END PGP SIGNATURE-----

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2020-06-02 21-40)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam
POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
# POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
        
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
#
cat << "-----END PGP SIGNATURE-----" > /dev/null
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQRFtWEU2eoWQNaBNczlMfrJqhPKRwUCXeJ5yQAKCRDlMfrJqhPK
R6jUAKCPN3LcjIJ2mWopk6sBQD4GmV1sIQCfaQM+nKUBUr0U7eVQDo4FN17h26I=
=Bf4R
-----END PGP SIGNATURE-----

Replies

Dadu042 Saturday 30 November 2019 at 15:08
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource

Differences

@@ -64,20 +64,4 @@
 #Fix for the "content servers unreachable" error
 cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
 sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
-cat << "-----END PGP SIGNATURE-----" > /dev/null
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1
-
-iEYEABECAAYFAlv64zwACgkQ5TH6yaoTykcr8ACfZsMuQQCutoG+jCr+VlYSqd3Z
-YccAoJMpo3zhMiexFeVADQVaMWUIpt3N
-=4FfF
------END PGP SIGNATURE-----
-
-
-cat << "-----END PGP SIGNATURE-----" > /dev/null
------BEGIN PGP SIGNATURE-----
-
-iF0EABECAB0WIQRFtWEU2eoWQNaBNczlMfrJqhPKRwUCXeJ09AAKCRDlMfrJqhPK
-Rw9iAJ94zIInI6V5h6hsT12qVQoVncnjGgCfaNpWv365LKkjdjp2yNbBtiuil3k=
-=SbuP
------END PGP SIGNATURE-----
+#
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2018-07-08 16:27)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam
POL_Download "http://media.steampowered.com/client/installer/SteamSetup.exe"

# Contrary to POL_Download, the MD5 digest is mandatory for POL_Download_Resource
# POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
        
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
#

Replies

Edited by Dadu042

Dadu042 Saturday 30 November 2019 at 14:55
Dadu042

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Fix typo.

Differences

@@ -16,9 +16,9 @@
 # Fix to prevent Steam from launching without text after update
 POL_Wine_OverrideDLL "" "dwrite"
   
-#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
-if ["$POL_ARCH" == "amd64"]then;
-        cat << EOF > fix.reg
+# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
+if [ "$POL_ARCH" == "amd64" ]; then
+        cat << EOF > "fix.reg"
         REGEDIT4
   
         [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
@@ -29,10 +29,10 @@
   
         EOF
   
-        POL_Wine regedit.exe fix.reg
+        POL_Wine regedit.exe "fix.reg"
  
 else
-        cat << EOF > fix.reg
+        cat << EOF > fix.reg"
         REGEDIT4
   
         [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
@@ -43,7 +43,7 @@
   
         EOF
   
-        POL_Wine regedit.exe fix.reg
+        POL_Wine regedit.exe "fix.reg"
 fi
   
 # Installing Steam
@@ -59,4 +59,13 @@
  
 #Fix for the "content servers unreachable" error
 cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
-sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
\ No newline at end of file
+sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
+cat << "-----END PGP SIGNATURE-----" > /dev/null
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1
+
+iEYEABECAAYFAlv64zwACgkQ5TH6yaoTykcr8ACfZsMuQQCutoG+jCr+VlYSqd3Z
+YccAoJMpo3zhMiexFeVADQVaMWUIpt3N
+=4FfF
+-----END PGP SIGNATURE-----
+

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2018-07-08 16:27)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
# Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if [ "$POL_ARCH" == "amd64" ]; then
        cat << EOF > "fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
 
else
        cat << EOF > fix.reg"
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe "fix.reg"
fi
  
# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
cat << "-----END PGP SIGNATURE-----" > /dev/null
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEABECAAYFAlv64zwACgkQ5TH6yaoTykcr8ACfZsMuQQCutoG+jCr+VlYSqd3Z
YccAoJMpo3zhMiexFeVADQVaMWUIpt3N
=4FfF
-----END PGP SIGNATURE-----

Replies

LinuxScripter Sunday 8 July 2018 at 19:34
LinuxScripter Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Fixed the extra amd64

Differences

@@ -1,28 +1,62 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-02-12 21-00)
-# Last revision : (2013-04-13 21:00)
+# Last revision : (2018-07-08 16:27)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
-
+  
 # Setting default path for installers
 POL_LoadVar_PROGRAMFILES
-
-# Installing mandatory dependencies 
+  
+# Installing mandatory dependencies
 POL_Wine_InstallFonts
 POL_Call POL_Install_corefonts
 POL_Call POL_Function_FontsSmoothRGB
-
+  
 # Fix to prevent Steam from launching without text after update
 POL_Wine_OverrideDLL "" "dwrite"
-
+  
+#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
+if ["$POL_ARCH" == "amd64"]then;
+        cat << EOF > fix.reg
+        REGEDIT4
+  
+        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
+        "Version"="winxp64"
+   
+        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
+        "Version"="winxp64"
+  
+        EOF
+  
+        POL_Wine regedit.exe fix.reg
+ 
+else
+        cat << EOF > fix.reg
+        REGEDIT4
+  
+        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
+        "Version"="winxp"
+   
+        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
+        "Version"="winxp"
+  
+        EOF
+  
+        POL_Wine regedit.exe fix.reg
+fi
+  
 # Installing Steam
-POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
+POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
 cd "$POL_USER_ROOT/ressources/"
 POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_Wine "SteamSetup.exe"
 POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
-
+  
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?
-POL_Wine_OverrideDLL "" "gameoverlayrenderer"
\ No newline at end of file
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+ 
+#Fix for the "content servers unreachable" error
+cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
+sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2018-07-08 16:27)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
  
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
  
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
  
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
  
#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if ["$POL_ARCH" == "amd64"]then;
        cat << EOF > fix.reg
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
  
        EOF
  
        POL_Wine regedit.exe fix.reg
 
else
        cat << EOF > fix.reg
        REGEDIT4
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
   
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
  
        EOF
  
        POL_Wine regedit.exe fix.reg
fi
  
# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
  
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 
#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Anonymous
Saturday 1 September 2018 at 8:05
Hey, newbie here... where do I apply this fix?
Anonymous
Thursday 20 September 2018 at 21:33
There is no "Install" button for POL internal functions unlike normal applications. You have to manually insert this fix
Anonymous
Thursday 20 September 2018 at 22:17
by adding that line in config.vdf
Anonymous
Thursday 20 September 2018 at 22:18
TBH PlayOnLinux4 is getting outdated. I'm porting some of the scripts to POL5 https://github.com/PhoenicisOrg/phoenicis but you will probably have to learn a thing or two about JavaScript.
LinuxScripter Sunday 8 July 2018 at 16:30
LinuxScripter Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

The previous update had an incorrectly named variable that stores wineprefix's architecture. This update fixes that.

Differences

@@ -1,28 +1,62 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-02-12 21-00)
-# Last revision : (2013-04-13 21:00)
+# Last revision : (2018-07-08 16:27)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
-
+ 
 # Setting default path for installers
 POL_LoadVar_PROGRAMFILES
-
-# Installing mandatory dependencies 
+ 
+# Installing mandatory dependencies
 POL_Wine_InstallFonts
 POL_Call POL_Install_corefonts
 POL_Call POL_Function_FontsSmoothRGB
-
+ 
 # Fix to prevent Steam from launching without text after update
 POL_Wine_OverrideDLL "" "dwrite"
+ 
+#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
+if ["$POL_ARCH" == "amd64" == "amd64"]then;
+	cat << EOF > fix.reg
+	REGEDIT4
+ 
+	[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
+	"Version"="winxp64"
+  
+	[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
+	"Version"="winxp64"
+ 
+	EOF
+ 
+	POL_Wine regedit.exe fix.reg
 
+else
+	cat << EOF > fix.reg
+	REGEDIT4
+ 
+	[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
+	"Version"="winxp"
+  
+	[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
+	"Version"="winxp"
+ 
+	EOF
+ 
+	POL_Wine regedit.exe fix.reg
+fi
+ 
 # Installing Steam
-POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
+POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
 cd "$POL_USER_ROOT/ressources/"
 POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_Wine "SteamSetup.exe"
 POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
-
+ 
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?
-POL_Wine_OverrideDLL "" "gameoverlayrenderer"
\ No newline at end of file
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+
+#Fix for the "content servers unreachable" error
+cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
+sed '27i				"CS"		"valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2018-07-08 16:27)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
 
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
 
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
 
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
 
#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if ["$POL_ARCH" == "amd64" == "amd64"]then;
        cat << EOF > fix.reg
        REGEDIT4
 
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
 
        EOF
 
        POL_Wine regedit.exe fix.reg

else
        cat << EOF > fix.reg
        REGEDIT4
 
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
 
        EOF
 
        POL_Wine regedit.exe fix.reg
fi
 
# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
 
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

Anonymous
Sunday 8 July 2018 at 16:32
Accidentialy put another amd64 there....
LinuxScripter Sunday 8 July 2018 at 12:20
LinuxScripter Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

As of June 1 2018, downloading games and updates is no longer possible due to Steam throwing up the "content servers unreachable" error. This error is solved by either using Wine Staging >2.12 or inserting a line at the end of this script. Due to an inability to verify certificates signed using an ECDSA signature this line is not present in a clean Steam install. Also adding the Steam Browser fix.

Differences

@@ -1,28 +1,62 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-02-12 21-00)
-# Last revision : (2013-04-13 21:00)
+# Last revision : (2018-07-08 11:51)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
-
+ 
 # Setting default path for installers
 POL_LoadVar_PROGRAMFILES
-
-# Installing mandatory dependencies 
+ 
+# Installing mandatory dependencies
 POL_Wine_InstallFonts
 POL_Call POL_Install_corefonts
 POL_Call POL_Function_FontsSmoothRGB
-
+ 
 # Fix to prevent Steam from launching without text after update
 POL_Wine_OverrideDLL "" "dwrite"
+ 
+#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
+if ["$POL_System_SetArch" == "amd64"]then;
+	cat << EOF > fix.reg
+	REGEDIT4
+ 
+	[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
+	"Version"="winxp64"
+  
+	[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
+	"Version"="winxp64"
+ 
+	EOF
+ 
+	POL_Wine regedit.exe fix.reg
 
+else
+	cat << EOF > fix.reg
+	REGEDIT4
+ 
+	[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
+	"Version"="winxp"
+  
+	[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
+	"Version"="winxp"
+ 
+	EOF
+ 
+	POL_Wine regedit.exe fix.reg
+fi
+ 
 # Installing Steam
-POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
+POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
 cd "$POL_USER_ROOT/ressources/"
 POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_Wine "SteamSetup.exe"
 POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
-
+ 
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?
-POL_Wine_OverrideDLL "" "gameoverlayrenderer"
\ No newline at end of file
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+
+#Fix for the "content servers unreachable" error
+cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
+sed '27i				"CS"		"valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2018-07-08 11:51)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com
 
# Setting default path for installers
POL_LoadVar_PROGRAMFILES
 
# Installing mandatory dependencies
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB
 
# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"
 
#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
if ["$POL_System_SetArch" == "amd64"]then;
        cat << EOF > fix.reg
        REGEDIT4
 
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp64"
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp64"
 
        EOF
 
        POL_Wine regedit.exe fix.reg

else
        cat << EOF > fix.reg
        REGEDIT4
 
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
        "Version"="winxp"
  
        [HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
        "Version"="winxp"
 
        EOF
 
        POL_Wine regedit.exe fix.reg
fi
 
# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe"
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
 
# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

#Fix for the "content servers unreachable" error
cd "$WINEPREFIX/drive_c/Program Files (x86)/Steam/config/"
sed '27i                                "CS"                "valve511.steamcontent.com;valve501.steamcontent.com;valve517.steamcontent.com;valve557.steamcontent.com;valve513.steamcontent.com;valve535.steamcontent.com;valve546.steamcontent.com;valve538.steamcontent.com;valve536.steamcontent.com;valve530.steamcontent.com;valve559.steamcontent.com;valve545.steamcontent.com;valve518.steamcontent.com;valve548.steamcontent.com;valve555.steamcontent.com;valve556.steamcontent.com;valve506.steamcontent.com;valve544.steamcontent.com;valve525.steamcontent.com;valve567.steamcontent.com;valve521.steamcontent.com;valve510.steamcontent.com;valve542.steamcontent.com;valve519.steamcontent.com;valve526.steamcontent.com;valve504.steamcontent.com;valve500.steamcontent.com;valve554.steamcontent.com;valve562.steamcontent.com;valve524.steamcontent.com;valve502.steamcontent.com;valve505.steamcontent.com;valve547.steamcontent.com;valve560.steamcontent.com;valve503.steamcontent.com;valve507.steamcontent.com;valve553.steamcontent.com;valve520.steamcontent.com;valve550.steamcontent.com;valve531.steamcontent.com;valve558.steamcontent.com;valve552.steamcontent.com;valve563.steamcontent.com;valve540.steamcontent.com;valve541.steamcontent.com;valve537.steamcontent.com;valve528.steamcontent.com;valve523.steamcontent.com;valve512.steamcontent.com;valve532.steamcontent.com;valve561.steamcontent.com;valve549.steamcontent.com;valve522.steamcontent.com;valve514.steamcontent.com;valve551.steamcontent.com;valve564.steamcontent.com;valve543.steamcontent.com;valve565.steamcontent.com;valve529.steamcontent.com;valve539.steamcontent.com;valve566.steamcontent.com;valve165.steamcontent.com;valve959.steamcontent.com;valve164.steamcontent.com;valve1611.steamcontent.com;valve1601.steamcontent.com;valve1617.steamcontent.com;valve1603.steamcontent.com;valve1602.steamcontent.com;valve1610.steamcontent.com;valve1615.steamcontent.com;valve909.steamcontent.com;valve900.steamcontent.com;valve905.steamcontent.com;valve954.steamcontent.com;valve955.steamcontent.com;valve1612.steamcontent.com;valve1607.steamcontent.com;valve1608.steamcontent.com;valve1618.steamcontent.com;valve1619.steamcontent.com;valve1606.steamcontent.com;valve1605.steamcontent.com;valve1609.steamcontent.com;valve907.steamcontent.com;valve901.steamcontent.com;valve902.steamcontent.com;valve1604.steamcontent.com;valve908.steamcontent.com;valve950.steamcontent.com;valve957.steamcontent.com;valve903.steamcontent.com;valve1614.steamcontent.com;valve904.steamcontent.com;valve952.steamcontent.com;valve1616.steamcontent.com;valve1613.steamcontent.com;valve958.steamcontent.com;valve956.steamcontent.com;valve906.steamcontent.com"' config.vdf > config.vdf

Replies

LinuxScripter Wednesday 25 April 2018 at 22:38
LinuxScripter Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -16,6 +16,20 @@
 # Fix to prevent Steam from launching without text after update
 POL_Wine_OverrideDLL "" "dwrite"
 
+#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
+cat << EOF > fix.reg
+REGEDIT4
+
+[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
+"Version"="winxp64"
+ 
+[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
+"Version"="winxp64"
+
+EOF
+
+POL_Wine regedit.exe fix.reg
+
 # Installing Steam
 POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
 cd "$POL_USER_ROOT/ressources/"

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2013-04-13 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES

# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB

# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"

#Fix for steam browser not working (indicated by steamwebhelper.exe crashing)
cat << EOF > fix.reg
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\AppDefaults\Steam.exe]
"Version"="winxp64"
 
[HKEY_CURRENT_USER\Software\Wine\AppDefaults\steamwebhelper.exe]
"Version"="winxp64"

EOF

POL_Wine regedit.exe fix.reg

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"

# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

Replies

Anonymous
Wednesday 25 April 2018 at 23:05
Forgot to write this so here we go:
winewebhleper.exe and Steam.exe need to be run with winxp or else the CEF sandboxing will break the browser. Need to add x32 version.
Anonymous
Friday 27 April 2018 at 15:05
If anyone knows what's the name of the variable that stores information about wineprefix's architecture please tell me because I'm not sure and I want to post a definitive fix for this script.
Leeo97one Wednesday 27 July 2016 at 17:38
Leeo97one

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

No need to overwrite DLL with newer versions of Wine.

Differences

@@ -1,7 +1,7 @@
 #!/bin/bash
 # PlayOnLinux Function
 # Date : (2010-02-12 21-00)
-# Last revision : (2013-04-13 21:00)
+# Last revision : (2016-07-27 17-35)
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
 
@@ -13,16 +13,9 @@
 POL_Call POL_Install_corefonts
 POL_Call POL_Function_FontsSmoothRGB
 
-# Fix to prevent Steam from launching without text after update
-POL_Wine_OverrideDLL "" "dwrite"
-
 # Installing Steam
 POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
 cd "$POL_USER_ROOT/ressources/"
 POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_Wine "SteamSetup.exe"
-POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
-
-# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
-# Note : semble ne plus être nécéssaire désormais?
-POL_Wine_OverrideDLL "" "gameoverlayrenderer"
\ No newline at end of file
+POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2016-07-27 17-35)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES

# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"

Replies

bermani Sunday 31 January 2016 at 22:23
bermani Anonymous

Message

I have found the POL Steam to work somewhat well for me. I have used it to play Undertale, to much great success, however, I have had a few issues. I often have trouble with connection to the Internet on this Steam, while having no trouble with the Linux Steam in that matter. Just recently now, I got the game RWBY: Grimm Eclipse, notable from the other games I have here only in that is HAS to be multiplayer. When I launch the game, and it goes to the connecting screen, I get nothing. Looking at the game's output log, it says I am getting a TimeOutDisconnect whenever I try to connect. After quitting the game, I noticed that a Steam chat window I had open was no longer connected to the Network, and nor was my Steam client. However, beforehand, and while it was trying to connect, it was working just fine. Is there any possible fix to this problem, where I cannot properly connect to the network with a POL Steam game?

Replies

HargenVader Monday 9 November 2015 at 13:51
HargenVader

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -19,7 +19,7 @@
 # Installing Steam
 POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
 cd "$POL_USER_ROOT/ressources/"
-POL_Wine_WaitBefore "$TITLE"
+POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
 POL_Wine "SteamSetup.exe"
 POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
 

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2013-04-13 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES

# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB

# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "$(eval_gettext 'Please complete the Steam setup wizard.')" "$(eval_gettext '$TITLE - Steam Installation')"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"

# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

Replies

Monday 9 November 2015 at 13:52
A little more information for the user to make it clearer as to what "should" be happening. Also included localization support.
HargenVader Sunday 8 November 2015 at 3:25
HargenVader

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -19,7 +19,7 @@
 # Installing Steam
 POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
 cd "$POL_USER_ROOT/ressources/"
-POL_Wine_WaitBefore "$TITLE"
+POL_SetupWindow_wait "Please complete the Steam setup wizard." "$TITLE - Steam Installation"
 POL_Wine "SteamSetup.exe"
 POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
 

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2013-04-13 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES

# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB

# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_SetupWindow_wait "Please complete the Steam setup wizard." "$TITLE - Steam Installation"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"

# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

Replies

Sunday 8 November 2015 at 3:26
A little more information for the user to make it clearer as to what "should" be happening.
Sunday 8 November 2015 at 8:37
You forgot the localization support (eval_gettext)
Monday 9 November 2015 at 13:49
Good catch. I'll update that.
HargenVader Saturday 7 November 2015 at 0:06
HargenVader

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -21,7 +21,7 @@
 cd "$POL_USER_ROOT/ressources/"
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine "SteamSetup.exe"
-POL_Wine_WaitExit "$TITLE"
+POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"
 
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2013-04-13 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES

# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB

# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "SteamSetup.exe"
POL_SetupWindow_message "$(eval_gettext 'Log into your Steam account once the update is complete.\n\nClick Next to continue.')" "$TITLE - Steam Update and Login"

# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

Replies

Saturday 7 November 2015 at 0:06
Gives time for Steam to update after initial install and restart. Prevents POL scripts calling this function from hanging after Steam updates (as seen in Fallout 3 script). Also gives a little more guidance to the user as to what they should see happening and what they should do.
HargenVader Friday 6 November 2015 at 0:48
HargenVader

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -8,12 +8,14 @@
 # Setting default path for installers
 POL_LoadVar_PROGRAMFILES
 
-
 # Installing mandatory dependencies 
 POL_Wine_InstallFonts
 POL_Call POL_Install_corefonts
 POL_Call POL_Function_FontsSmoothRGB
 
+# Fix to prevent Steam from launching without text after update
+POL_Wine_OverrideDLL "" "dwrite"
+
 # Installing Steam
 POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
 cd "$POL_USER_ROOT/ressources/"
@@ -23,5 +25,4 @@
 
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais?
-POL_Wine_OverrideDLL "" "gameoverlayrenderer"
-POL_Wine_OverrideDLL "" "dwrite"
\ No newline at end of file
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2013-04-13 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES

# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB

# Fix to prevent Steam from launching without text after update
POL_Wine_OverrideDLL "" "dwrite"

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "SteamSetup.exe"
POL_Wine_WaitExit "$TITLE"

# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"

Replies

Friday 6 November 2015 at 0:50
Calling the POL_Wine OverrideDLL "" "dwrite" seems to prevent Steam from launching without text as seen in the Fallout 3 installer.
Friday 6 November 2015 at 0:52
Calling it earlier in the function I meant.
petch Thursday 1 January 2015 at 21:50
petch

Warning

This update has not been approved yet by the team.
Use it at your own risk

Message

Differences

@@ -22,6 +22,6 @@
 POL_Wine_WaitExit "$TITLE"
 
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
-# Note : semble ne plus être nécéssaire désormais
-#POL_Wine_OverrideDLL "" "gameoverlayrenderer"
+# Note : semble ne plus être nécéssaire désormais?
+POL_Wine_OverrideDLL "" "gameoverlayrenderer"
 POL_Wine_OverrideDLL "" "dwrite"
\ No newline at end of file

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2013-04-13 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES


# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "SteamSetup.exe"
POL_Wine_WaitExit "$TITLE"

# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais?
POL_Wine_OverrideDLL "" "gameoverlayrenderer"
POL_Wine_OverrideDLL "" "dwrite"

Replies

Quentin PÂRIS Saturday 16 August 2014 at 20:42
Quentin PÂRIS Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -11,6 +11,7 @@
 
 # Installing mandatory dependencies 
 POL_Wine_InstallFonts
+POL_Call POL_Install_corefonts
 POL_Call POL_Function_FontsSmoothRGB
 
 # Installing Steam

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2013-04-13 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES


# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Install_corefonts
POL_Call POL_Function_FontsSmoothRGB

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "SteamSetup.exe"
POL_Wine_WaitExit "$TITLE"

# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais
#POL_Wine_OverrideDLL "" "gameoverlayrenderer"
POL_Wine_OverrideDLL "" "dwrite"

Replies

Quentin PÂRIS Monday 4 August 2014 at 17:47
Quentin PÂRIS Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -5,33 +5,20 @@
 # Author : GNU_Raziel
 # Only For : http://www.playonlinux.com
 
-if [ "$POL_LANG" == "fr" ]; then
-STEAM_EXEC="SteamInstall_French.msi"
-elif [ "$POL_LANG" == "de" ]; then
-STEAM_EXEC="SteamInstall_German.msi"
-elif [ "$POL_LANG" == "es" ]; then
-STEAM_EXEC="SteamInstall_Spanish.msi"
-else
-STEAM_EXEC="SteamInstall.msi"
-fi
-
 # Setting default path for installers
 POL_LoadVar_PROGRAMFILES
 
-# Downloading latest Steam
-cd "$POL_USER_ROOT/ressources/"
-if [ ! -e "$POL_USER_ROOT/ressources/$STEAM_EXEC" ]; then
-	POL_SetupWindow_download "$(eval_gettext 'Please wait while Steam is downloaded...')" "$TITLE" "http://cdn.steampowered.com/download/$STEAM_EXEC"
-fi
 
 # Installing mandatory dependencies 
 POL_Wine_InstallFonts
 POL_Call POL_Function_FontsSmoothRGB
 
 # Installing Steam
+POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
 cd "$POL_USER_ROOT/ressources/"
-POL_Wine msiexec /i "$STEAM_EXEC" /q
-POL_Wine_WaitExit "Steam"
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine "SteamSetup.exe"
+POL_Wine_WaitExit "$TITLE"
 
 # Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
 # Note : semble ne plus être nécéssaire désormais

New source code

#!/bin/bash
# PlayOnLinux Function
# Date : (2010-02-12 21-00)
# Last revision : (2013-04-13 21:00)
# Author : GNU_Raziel
# Only For : http://www.playonlinux.com

# Setting default path for installers
POL_LoadVar_PROGRAMFILES


# Installing mandatory dependencies 
POL_Wine_InstallFonts
POL_Call POL_Function_FontsSmoothRGB

# Installing Steam
POL_Download_Resource "http://media.steampowered.com/client/installer/SteamSetup.exe" 
cd "$POL_USER_ROOT/ressources/"
POL_Wine_WaitBefore "$TITLE"
POL_Wine "SteamSetup.exe"
POL_Wine_WaitExit "$TITLE"

# Fix for Steam (cause wine crash for many games if enabled) - Empty value = disabled
# Note : semble ne plus être nécéssaire désormais
#POL_Wine_OverrideDLL "" "gameoverlayrenderer"
POL_Wine_OverrideDLL "" "dwrite"

Replies

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com