Epic Games Launcher

Informations

Créateur Messages
Yaotl Anonymous

Attention

This installer is a beta script. It means that it might not work as expected

Informations

Plate-formes :
Téléchargements : 21834
Wine: 5.11-staging

Retours d'expérience

Description

Installs the Epic Games Launcher (Wikipedia, Website).

Script in test phase.

Appdb.winehq.org

Captures d'écran

Miniature

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2020-07-19)
# Last revision : see changelog
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# BETA Script
#
#
# CHANGELOG
# [Yaotl] (2020-07-19)
#   First script.
# [Dadu042] (2019-04-28 18:11)
#   [CHANGED] Remove POL_SetupWindow_SetID because unused anymore.
#   [CHANGED] 'exit' -> 'exit 0'
#   [FIXED] POL_System_SetArch location.
# [Yaotl] (2020-07-29 15:10)
#   [CHANGED] Added a way for a local installation.
#   [CHANGED] Enable UseGLSL & Enable OpenGL.

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

# Initialization
POL_SetupWindow_Init
POL_Debug_Init

PREFIX="EpicGamesLauncher"
TITLE="Epic Games Launcher"
WINEVERSION="5.11-staging"
DOWNLOAD_URL="https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"

# Presentation
POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"

# Determine Architecture
POL_System_SetArch "amd64"

POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_vcrun2019

# Loading d3d12 can cause problems. Therefore it is deleted.
rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll"
rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll"

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Configuration
Set_OS "win81"

# Installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "$DOWNLOAD_URL"
    INSTALLER="$POL_System_TmpDir/EpicGamesLauncherInstaller.msi"
fi

POL_SetupWindow_wait "Please wait" "$TITLE Installation in progress"
POL_Wine msiexec /i "$INSTALLER" SKIP_AUTOLAUNCH="1"

# Create Shortcut
POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribuer
Membre Messages
GeneralError Mardi 2 Aoüt 2022 à 14:00
GeneralError Anonymous

Messages

Sorry, but your script fails.  Even after setting up the variables and changing amd64 to arm65 (for mac) it still fails.


$ grep PLAY ~/.bashrc
export PLAYONLINUX="/Applications/PlayOnMac.app/Contents/Resources/playonlinux"
export PLAYONMAC="/Applications/PlayOnMac.app/Contents/Resources/playonlinux"

$ /tmp/epic-script.sh
mkdir: /plugins: Read-only file system
[POL_SetupWindow_Init] Message: Creating new window for pid 68390
[POL_Debug_Init] Fatal: $TITLE must be set to use debugging API
Error: Invalid port specification:
[POL_SetupWindow_Close] Message: Closing window for pid 68390

Réponses

GeneralError Mardi 2 Aoüt 2022 à 13:53
GeneralError Anonymous

Messages

Why would you hardcode the POL_System_SetArch to "amd64" instead of running the `arch` command?

 

Réponses

GeneralError Mardi 2 Aoüt 2022 à 13:46
GeneralError Anonymous

Messages

Here's what I get when I run it.

env: playonlinux-bash: No such file or directory

 

Réponses

Yaotl Dimanche 26 Juillet 2020 à 9:14
Yaotl Anonymous

Information

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

Messages

Last change: 2020-07-29 15-10 CEST

Differences

@@ -1,6 +1,6 @@
 #!/usr/bin/env playonlinux-bash
 # Date : (2020-07-19)
-# Last revision : (2020-07-19 23-11)
+# Last revision : see changelog
 # Distribution used to test : Linux Mint 20 Cinnamon
 # Author : Yaotl
 # Licence : GPLv3
@@ -16,10 +16,13 @@
 #   [CHANGED] Remove POL_SetupWindow_SetID because unused anymore.
 #   [CHANGED] 'exit' -> 'exit 0'
 #   [FIXED] POL_System_SetArch location.
+# [Yaotl] (2020-07-29 15:10)
+#   [CHANGED] Added a way for a local installation.
+#   [CHANGED] Enable UseGLSL & Enable OpenGL.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+
 # Initialization
 POL_SetupWindow_Init
 POL_Debug_Init
@@ -27,19 +30,16 @@
 PREFIX="EpicGamesLauncher"
 TITLE="Epic Games Launcher"
 WINEVERSION="5.11-staging"
+DOWNLOAD_URL="https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
 
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"
- 
+
 # Checks the required POL/POM version
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
 POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE"
 
-POL_System_TmpCreate "$PREFIX"
-cd $POL_System_TmpDir
-POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
- 
 # Create Prefix
 POL_Wine_SelectPrefix "$PREFIX"
 
@@ -47,29 +47,46 @@
 POL_System_SetArch "amd64"
 
 POL_Wine_PrefixCreate "$WINEVERSION"
- 
+
 # Dependencies
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_vcrun2019
- 
+
+# Loading d3d12 can cause problems. Therefore it is deleted.
 rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll"
 rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll"
- 
+
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
- 
+
+POL_Wine_Direct3D "UseGLSL" "enabled"
+POL_Wine_Direct3D "DirectDrawRenderer" "opengl"
+
 # Set Graphic Card informations keys for wine
 POL_Call POL_Install_VideoDriver
- 
+
 # Configuration
 Set_OS "win81"
- 
+
 # Installation
-POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1"
- 
+POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
+if [ "$INSTALL_METHOD" = "LOCAL" ]; then
+    cd "$HOME"
+    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
+    INSTALLER="$APP_ANSWER"
+elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
+    POL_System_TmpCreate "$PREFIX"
+    cd "$POL_System_TmpDir"
+    POL_Download "$DOWNLOAD_URL"
+    INSTALLER="$POL_System_TmpDir/EpicGamesLauncherInstaller.msi"
+fi
+
+POL_SetupWindow_wait "Please wait" "$TITLE Installation in progress"
+POL_Wine msiexec /i "$INSTALLER" SKIP_AUTOLAUNCH="1"
+
 # Create Shortcut
 POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;"
- 
+
 # Cleanup
 POL_System_TmpDelete
 POL_SetupWindow_Close

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2020-07-19)
# Last revision : see changelog
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# BETA Script
#
#
# CHANGELOG
# [Yaotl] (2020-07-19)
#   First script.
# [Dadu042] (2019-04-28 18:11)
#   [CHANGED] Remove POL_SetupWindow_SetID because unused anymore.
#   [CHANGED] 'exit' -> 'exit 0'
#   [FIXED] POL_System_SetArch location.
# [Yaotl] (2020-07-29 15:10)
#   [CHANGED] Added a way for a local installation.
#   [CHANGED] Enable UseGLSL & Enable OpenGL.

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

# Initialization
POL_SetupWindow_Init
POL_Debug_Init

PREFIX="EpicGamesLauncher"
TITLE="Epic Games Launcher"
WINEVERSION="5.11-staging"
DOWNLOAD_URL="https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"

# Presentation
POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE"

# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"

# Determine Architecture
POL_System_SetArch "amd64"

POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_vcrun2019

# Loading d3d12 can cause problems. Therefore it is deleted.
rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll"
rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll"

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

POL_Wine_Direct3D "UseGLSL" "enabled"
POL_Wine_Direct3D "DirectDrawRenderer" "opengl"

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Configuration
Set_OS "win81"

# Installation
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "Please select the installation file to run." "$TITLE installation"
    INSTALLER="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    POL_System_TmpCreate "$PREFIX"
    cd "$POL_System_TmpDir"
    POL_Download "$DOWNLOAD_URL"
    INSTALLER="$POL_System_TmpDir/EpicGamesLauncherInstaller.msi"
fi

POL_SetupWindow_wait "Please wait" "$TITLE Installation in progress"
POL_Wine msiexec /i "$INSTALLER" SKIP_AUTOLAUNCH="1"

# Create Shortcut
POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Lundi 10 Aoüt 2020 à 8:21
Script approved.
Anonymous
Vendredi 4 September 2020 à 4:42
Oops I didn't realise that hitting enter posted comments. Whenever I hit 'try this update" I get the error message "Error in POL_Debug_Init
$TITLE must be set to use debugging API". Sorry if this is a really noob question! I am using the latest version of playonmac 4.4.1
Anonymous
Vendredi 18 September 2020 à 8:44
Nevermind
Anonymous
Mardi 29 September 2020 à 13:10
If there's a blackscreen or flickering content, enable "Strict Draw Ordering". This solve it for me.

Edité par Yaotl

Dadu042 Samedi 25 Juillet 2020 à 18:51
Dadu042

Warning

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

Differences

@@ -13,21 +13,21 @@
 # [Yaotl] (2020-07-19)
 #   First script.
 # [Dadu042] (2019-04-28 18:11)
-#   [CHANGED] Remove POL_SetupWindow_SetID because unused anymore.
-#   [CHANGED] 'exit' -> 'exit 0'
+#   [CHANGED] Remove POL_SetupWindow_SetID because unused anymore.
+#   [CHANGED] 'exit' -> 'exit 0'
+#   [FIXED] POL_System_SetArch location.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
-PREFIX="EpicGamesLauncher"
-TITLE="Epic Games Launcher"
-WINEVERSION="5.11-staging"
- 
 # Initialization
 POL_SetupWindow_Init
-POL_SetupWindow_SetID 4142
 POL_Debug_Init
- 
+
+PREFIX="EpicGamesLauncher"
+TITLE="Epic Games Launcher"
+WINEVERSION="5.11-staging"
+
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"
  
@@ -41,8 +41,11 @@
 POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
  
 # Create Prefix
-POL_System_SetArch "amd64"
 POL_Wine_SelectPrefix "$PREFIX"
+
+# Determine Architecture
+POL_System_SetArch "amd64"
+
 POL_Wine_PrefixCreate "$WINEVERSION"
  
 # Dependencies

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2020-07-19)
# Last revision : (2020-07-19 23-11)
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# BETA Script
#
#
# CHANGELOG
# [Yaotl] (2020-07-19)
#   First script.
# [Dadu042] (2019-04-28 18:11)
#   [CHANGED] Remove POL_SetupWindow_SetID because unused anymore.
#   [CHANGED] 'exit' -> 'exit 0'
#   [FIXED] POL_System_SetArch location.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
# Initialization
POL_SetupWindow_Init
POL_Debug_Init

PREFIX="EpicGamesLauncher"
TITLE="Epic Games Launcher"
WINEVERSION="5.11-staging"

# Presentation
POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"
 
# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE"

POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
 
# Create Prefix
POL_Wine_SelectPrefix "$PREFIX"

# Determine Architecture
POL_System_SetArch "amd64"

POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_vcrun2019
 
rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll"
rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
 
# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver
 
# Configuration
Set_OS "win81"
 
# Installation
POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1"
 
# Create Shortcut
POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;"
 
# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Dadu042 Samedi 25 Juillet 2020 à 18:44
Dadu042

Warning

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

Differences

@@ -5,60 +5,69 @@
 # Author : Yaotl
 # Licence : GPLv3
 # PlayOnLinux : 4.3.4
-
-
+#
 # BETA Script
+#
+#
+# CHANGELOG
+# [Yaotl] (2020-07-19)
+#   First script.
+# [Dadu042] (2019-04-28 18:11)
+#   [CHANGED] Remove POL_SetupWindow_SetID because unused anymore.
+#   [CHANGED] 'exit' -> 'exit 0'
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 PREFIX="EpicGamesLauncher"
 TITLE="Epic Games Launcher"
 WINEVERSION="5.11-staging"
-
-#Initialization
+ 
+# Initialization
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 4142
 POL_Debug_Init
-
+ 
 # Presentation
 POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"
-
+ 
 # Checks the required POL/POM version
 POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
 
+POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE"
+
 POL_System_TmpCreate "$PREFIX"
 cd $POL_System_TmpDir
 POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
-
+ 
 # Create Prefix
 POL_System_SetArch "amd64"
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
-
+ 
 # Dependencies
 POL_Call POL_Install_corefonts
 POL_Call POL_Install_vcrun2019
-
+ 
 rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll"
 rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll"
-
+ 
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS ${GAME_VMS}
-
+ 
 # Set Graphic Card informations keys for wine
 POL_Call POL_Install_VideoDriver
-
+ 
 # Configuration
 Set_OS "win81"
-
+ 
 # Installation
 POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1"
-
+ 
 # Create Shortcut
 POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;"
-
+ 
 # Cleanup
 POL_System_TmpDelete
 POL_SetupWindow_Close
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2020-07-19)
# Last revision : (2020-07-19 23-11)
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.3.4
#
# BETA Script
#
#
# CHANGELOG
# [Yaotl] (2020-07-19)
#   First script.
# [Dadu042] (2019-04-28 18:11)
#   [CHANGED] Remove POL_SetupWindow_SetID because unused anymore.
#   [CHANGED] 'exit' -> 'exit 0'

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
PREFIX="EpicGamesLauncher"
TITLE="Epic Games Launcher"
WINEVERSION="5.11-staging"
 
# Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 4142
POL_Debug_Init
 
# Presentation
POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"
 
# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_SetupWindow_message "$(eval_gettext '\nWarning: this is a beta script ! (not fully working), and if the launcher does run this does not mean the games will.')" "$TITLE"

POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
 
# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
 
# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_vcrun2019
 
rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll"
rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}
 
# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver
 
# Configuration
Set_OS "win81"
 
# Installation
POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1"
 
# Create Shortcut
POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;"
 
# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Réponses

Samedi 25 Juillet 2020 à 18:44
Note: with Wine 5.12 and 5.13, the launcher does crash after the login window.
Yaotl Mercredi 22 Juillet 2020 à 2:48
Yaotl Anonymous

Warning

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

Differences

@@ -0,0 +1,64 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2020-07-19)
+# Last revision : (2020-07-19 23-11)
+# Distribution used to test : Linux Mint 20 Cinnamon
+# Author : Yaotl
+# Licence : GPLv3
+# PlayOnLinux : 4.3.4
+
+
+# BETA Script
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+PREFIX="EpicGamesLauncher"
+TITLE="Epic Games Launcher"
+WINEVERSION="5.11-staging"
+
+#Initialization
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 4142
+POL_Debug_Init
+
+# Presentation
+POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"
+
+# Checks the required POL/POM version
+POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."
+
+POL_System_TmpCreate "$PREFIX"
+cd $POL_System_TmpDir
+POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
+
+# Create Prefix
+POL_System_SetArch "amd64"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+
+# Dependencies
+POL_Call POL_Install_corefonts
+POL_Call POL_Install_vcrun2019
+
+rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll"
+rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll"
+
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS ${GAME_VMS}
+
+# Set Graphic Card informations keys for wine
+POL_Call POL_Install_VideoDriver
+
+# Configuration
+Set_OS "win81"
+
+# Installation
+POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1"
+
+# Create Shortcut
+POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;"
+
+# Cleanup
+POL_System_TmpDelete
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2020-07-19)
# Last revision : (2020-07-19 23-11)
# Distribution used to test : Linux Mint 20 Cinnamon
# Author : Yaotl
# Licence : GPLv3
# PlayOnLinux : 4.3.4


# BETA Script

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

PREFIX="EpicGamesLauncher"
TITLE="Epic Games Launcher"
WINEVERSION="5.11-staging"

#Initialization
POL_SetupWindow_Init
POL_SetupWindow_SetID 4142
POL_Debug_Init

# Presentation
POL_SetupWindow_presentation "$TITLE" "Epic Games Inc." "https://www.epicgames.com/" "Yaotl" "$PREFIX"

# Checks the required POL/POM version
POL_RequiredVersion 4.3.4 || POL_Debug_Fatal "$TITLE won't work with $APPLICATION_TITLE $VERSION\nPlease update."

POL_System_TmpCreate "$PREFIX"
cd $POL_System_TmpDir
POL_Download "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"

# Create Prefix
POL_System_SetArch "amd64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

# Dependencies
POL_Call POL_Install_corefonts
POL_Call POL_Install_vcrun2019

rm -rf "$WINEPREFIX/drive_c/windows/system32/d3d12.dll"
rm -rf "$WINEPREFIX/drive_c/windows/syswow64/d3d12.dll"

# Asking about memory size of graphic card
POL_SetupWindow_VMS ${GAME_VMS}

# Set Graphic Card informations keys for wine
POL_Call POL_Install_VideoDriver

# Configuration
Set_OS "win81"

# Installation
POL_Wine msiexec /i "$POL_System_TmpDir/EpicGamesLauncherInstaller.msi" SKIP_AUTOLAUNCH="1"

# Create Shortcut
POL_Shortcut "EpicGamesLauncher.exe" "$TITLE" "" "-SkipBuildPatchPrereq" "Game;Launcher;"

# Cleanup
POL_System_TmpDelete
POL_SetupWindow_Close
exit

Réponses

Mercredi 22 Juillet 2020 à 8:04
Approved.
Note: In order to avoid the script to be break too fast, allowing install from local file is recommended.

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