POL_Install_steam

Informations

Creator Message
GNU_Raziel

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 1539901
Wine: System

Feedbacks

Description

This function allow you to install Steam.

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

Contributions

Filters:

Contribute
Member Message
LinuxScripter Sunday 8 July 2018 at 19:34
LinuxScripter Anonymous

Information

This update has been approved by the team.

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
Developer

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
Admin

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
Admin

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