Epic Games Launcher
Informations
Creator | Wiadmości |
---|---|
Yaotl
|
WarningThis installer is a beta script. It means that it might not work as expected InformationsPlatforms: Feedbacks0 1 DescriptionScreenshotsSource code#!/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:
ContributeMember | Wiadmości |
GeneralError | Tuesday 2 August 2022 at 14:00 |
GeneralError
|
WiadmościSorry, 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 Odpowiedzi |
GeneralError | Tuesday 2 August 2022 at 13:53 |
GeneralError
|
WiadmościWhy would you hardcode the POL_System_SetArch to "amd64" instead of running the `arch` command?
Odpowiedzi |
GeneralError | Tuesday 2 August 2022 at 13:46 |
GeneralError
|
WiadmościHere's what I get when I run it.
Odpowiedzi |
Yaotl | Sunday 26 July 2020 at 9:14 |
Yaotl
|
InformationThis update has been approved by the team. WiadmościLast 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 New source code#!/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 OdpowiedziMonday 10 August 2020 at 8:21
Friday 4 September 2020 at 4:42
Friday 18 September 2020 at 8:44
Tuesday 29 September 2020 at 13:10
Edytowane przez Yaotl |
Dadu042 | Saturday 25 July 2020 at 18:51 |
Dadu042
|
WarningThis update has not been approved yet by the team. 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 New source code#!/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 Odpowiedzi |
Dadu042 | Saturday 25 July 2020 at 18:44 |
Dadu042
|
WarningThis update has not been approved yet by the team. 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 New source code#!/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 OdpowiedziSaturday 25 July 2020 at 18:44
|
Yaotl | Wednesday 22 July 2020 at 2:48 |
Yaotl
|
WarningThis update has not been approved yet by the team. 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 New source code#!/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 OdpowiedziWednesday 22 July 2020 at 8:04
|
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