Everquest 2 Planes of Prophecy (Free 2 Play)
#!/bin/bash
# Date: 2017-Nov-30
# Author: Steven Binion
# Wine version used: 2.17-staging
# Distribution used to test: Ubuntu 16.04 LTS (amd64)
# Game: Everquest II: Planes of Prophecy (2017) Free 2 Play
# Licence: Retail (Not all content will be available without a subscription)
# Script Reference: Everquest II (7 years old) by Benj
# Wine Reference: https://forums.daybreakgames.com/eq2/index.php?threads/playing-on-linux-with-wine.563531/#post-6257396
# Notes: Works best with staging CMST enabled. Not yet experimented with newer wine versions, but not seen the need.
# Everquest II still starts DirectX Install though already installed by POL, you can just click cancel.
# Open the launcher, then in Advanced Settings/Select Game Version be sure to check off Full Download.
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
#VARIABLES
TITLE="Everquest 2"
PREFIX="Everquest2"
WINEVERSION="2.17-staging"
COMPANY="Daybreak Games"
COMPANY_SITE="https://www.everquest2.com/home"
DOWNLOAD_SITE="https://launch.daybreakgames.com/installer/EQ2_setup.exe"
#CONFIGURING THE SETUP WINDOW
POL_SetupWindow_Init
POL_Debug_Init
POL_System_TmpCreate "$PREFIX"
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITE" "Steven Binion" "$PREFIX"
#SETTING UP THE PREFIX
POL_System_SetArch "x64"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
POL_Call POL_Install_msxml3
POL_Call POL_Install_d3dx9
Set_OS "win7"
#DOWNLOAD THE INSTALLER
cd "$POL_System_TmpDir"
POL_SetupWindow_download "Please wait while EverQuest II is downloading" "Downloading" "$DOWNLOAD_SITE"
#INSTALLING EVERQUEST 2
#POL_SetupWindow_set_text "Installing EverQuest II"
wine ./EQ2_setup.exe
POL_SetupWindow_detect_exit
POL_SetupWindow_pulse 100
#CHECK THAT INSTALLATION WAS SUCCESSFUL
POL_SetupWindow_message "Press forward only when installation is fully complete." "Confirmation of Installation"
#CREATE EVERQUEST 2 SHORTCUT
POL_Shortcut "LaunchPad.exe" "Everquest 2"
#CLEAN SETUP FILES
POL_System_TmpDelete
#SUCCESS MESSAGE
POL_SetupWindow_Message "EverQuest II:Planes of Prophecy - Free to Play has successfully installed.\nClick forward to close the window." "Installation Successful"
#EXIT
POL_SetupWindow_Close
exit 0
Edité par stevenbinion