Forum

[Script] Apex Legends

Författare Svar
Dadu042 Saturday 29 June 2019 at 18:16
Dadu042

Warning : this script does not work (june 2019), and is far from running... sad

The first component crashing is currently QtWebEngine. It's a web browser based on Chromium.

 

Useful links : AppDB.winehq.org , PCGamingWiki.

 

#!/bin/bash
#!/usr/bin/env playonlinux-bash
# Date : (2019-06-29)
# Last revision : see changelog
# Wine version used : see below
# Distribution used to test : KUbuntu 18.04 x64
# Script licence : GPL3
# Program licence : Retail
# Playonlinux v4.3.4
#
# Tested version : ApexLegendsInstaller.exe downloaded on 2019-06-29. MD5: cd4bcf8cc3410604e1efd5d20ce4b562
#
# Game based on: Direct3D 11.
#
# CHANGELOG
# [Dadu042] (2019-06-29 09-20)
#   Initial writting.
#
# KNOWN ISSUES
# - 4.0.1, 4.11 amd64 x86 win10 win7: when game installer starts, multiple crashes about 'QtWebEngineProcess.exe'
# - 4.11 staging  x86 win7: same as above.
 
[ -z "$PLAYONLINUX" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Apex Legends"
PREFIX="apex-legends"
WORKING_WINE_VERSION="4.11-staging"
AUTHOR="Dadu042"
EDITOR="Electronic Arts"
GAME_URL="https://en.wikipedia.org/wiki/Apex_Legends"
 
POL_SetupWindow_Init
POL_Debug_Init
    
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
    
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
POL_System_TmpCreate "$TITLE"
 
Set_OS "win7"

# Currently broken (june 2019)
# POL_Install_origin

POL_Call POL_Install_d3dx11

POL_SetupWindow_InstallMethod "LOCAL"
    
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        POL_Call POL_Install_steam
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
        cd "$POL_System_TmpDir"
fi
 
POL_Shortcut "r5apex.exe" "$TITLE" ""
# POL_Shortcut_Document "$TITLE" "*.pdf"
 
POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Ändrat av Dadu042