POL_Install_steam

Informations

Créateur Messages
GNU_Raziel

Information

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

Informations

Plate-formes :
Téléchargements : 1550079
Wine: System

Retours d'expérience

Description

This function allow you to install Steam.

Appdb.winehq.org.  Wikipedia.

Code source

#!/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
#

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Samedi 30 Novembre 2019 à 15:08
Dadu042
Modérateur

Information

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

Messages

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

Nouveau code source

#!/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
#

Réponses

Edité par Dadu042

Dadu042 Samedi 30 Novembre 2019 à 14:55
Dadu042
Modérateur

Warning

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

Messages

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-----
+

Nouveau code source

#!/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-----

Réponses

LinuxScripter Dimanche 8 Juillet 2018 à 19:34
LinuxScripter Anonymous

Warning

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

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Samedi 1 September 2018 à 8:05
Hey, newbie here... where do I apply this fix?
Anonymous
Jeudi 20 September 2018 à 21:33
There is no "Install" button for POL internal functions unlike normal applications. You have to manually insert this fix
Anonymous
Jeudi 20 September 2018 à 22:17
by adding that line in config.vdf
Anonymous
Jeudi 20 September 2018 à 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 Dimanche 8 Juillet 2018 à 16:30
LinuxScripter Anonymous

Warning

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

Messages

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

Nouveau code source

#!/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

Réponses

Anonymous
Dimanche 8 Juillet 2018 à 16:32
Accidentialy put another amd64 there....
LinuxScripter Dimanche 8 Juillet 2018 à 12:20
LinuxScripter Anonymous

Warning

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

Messages

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

Nouveau code source

#!/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

Réponses

LinuxScripter Mercredi 25 Avril 2018 à 22:38
LinuxScripter Anonymous

Warning

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

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/"

Nouveau code source

#!/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"

Réponses

Anonymous
Mercredi 25 Avril 2018 à 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
Vendredi 27 Avril 2018 à 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 Mercredi 27 Juillet 2016 à 17:38
Leeo97one

Warning

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

Messages

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

Nouveau code source

#!/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"

Réponses

bermani Dimanche 31 Janvier 2016 à 22:23
bermani Anonymous

Messages

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?

Réponses

HargenVader Lundi 9 Novembre 2015 à 13:51
HargenVader

Warning

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

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"
 

Nouveau code source

#!/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"

Réponses

Lundi 9 Novembre 2015 à 13:52
A little more information for the user to make it clearer as to what "should" be happening. Also included localization support.
HargenVader Dimanche 8 Novembre 2015 à 3:25
HargenVader

Warning

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

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"
 

Nouveau code source

#!/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"

Réponses

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

Warning

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

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?

Nouveau code source

#!/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"

Réponses

Samedi 7 Novembre 2015 à 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 Vendredi 6 Novembre 2015 à 0:48
HargenVader

Warning

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

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

Nouveau code source

#!/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"

Réponses

Vendredi 6 Novembre 2015 à 0:50
Calling the POL_Wine OverrideDLL "" "dwrite" seems to prevent Steam from launching without text as seen in the Fallout 3 installer.
Vendredi 6 Novembre 2015 à 0:52
Calling it earlier in the function I meant.
petch Jeudi 1 Janvier 2015 à 21:50
petch
Développeur

Warning

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

Messages

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

Nouveau code source

#!/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"

Réponses

Quentin PÂRIS Samedi 16 Aoüt 2014 à 20:42
Quentin PÂRIS
Admin

Warning

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

Differences

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

Nouveau code source

#!/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"

Réponses

Quentin PÂRIS Lundi 4 Aoüt 2014 à 17:47
Quentin PÂRIS
Admin

Warning

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

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

Nouveau code source

#!/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"

Réponses