Forums

Everquest

pol script

Auteur Réponses
necrose99 Lundi 23 Mars 2015 à 12:42
necrose99Anonymous

Adapted from eq2 script pol,

https://appdb.winehq.org/objectManager.php?sClass=application&iId=229

EverQuest (Live) EverQuest Classic and All Expansions Gold 1.6.2 30 28
Private Servers EverQuest clients altered to be played on personal user-run servers. They oftentimes recommend or even require earlier versions of the official EverQuest client (such as the 5 CD EverQuest Titanium release) and offer their own patchers. Gold 1.7.19 5 0

#!/bin/bash
# Date: (2010-11-15 05-00)
# Last revision: (2010-11-17 07-50)
# Wine version used: 1.3.5
# Distribution used to test: Sabayon 12.x x64
# Author: Necrose99....
# Licence: Retail
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
TITLE="EverQuest Veil Of Alaris"
WORKING_WINE="1.3.5"
PREFIX="Everquest"
COMPANY="Sony Online Entertainment"
COMPANY_SITE="http://everquest.com/"
DOWNLOAD_SITE="https://launch.soe.com/installer/EQ_setup.exe"
#DOWNLOAD_SITE_test="https://launch.soe.com/installer/EQ_Test_setup.exe" ## Test Version
#starting the script
cd $REPERTOIRE/tmp
rm *.jpg
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/eq-sf/top.jpg" "http://files.playonlinux.com/resources/setups/eq-sf/left.jpg" "$TITLE"
POL_SetupWindow_InitWithImages
 
POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITE" "necrose99" "$PREFIX"
 
#Install correct version of Wine
POL_SetupWindow_install_wine "$WORKING_WINE"
Use_WineVersion "$WORKING_WINE"
 
#set the prefix
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"
 
#set the Program Files variable
POL_LoadVar_PROGRAMFILES
 
#installer shortcuts will point to system wine, not POL version.
POL_SetupWindow_message_image "Please note that this game requires a subscription.\nThis script will only install EverQuest II,\n it will not give you a paid subscription.\n\nDo not install shortcuts with the installer.\nThose shortcuts will break EverQuest II\nand correct ones will be setup later." "Note about subscriptions/shortcuts" "$PLAYONLINUX/themes/tango/warning.png"
 
#download the installer
cd $REPERTOIRE/tmp
POL_SetupWindow_download "Please wait while EverQuest  is downloading" "Downloading" "$DOWNLOAD_SITE"
 
#extract and run the installer
POL_SetupWindow_pulsebar "Installing EverQuest " "Installing"
POL_SetupWindow_set_text "Extracting installer"
wine ./EQ_setup.exe
POL_SetupWindow_pulse 50
POL_SetupWindow_set_text "Installing EverQuest"
wine ./everquest.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"
 
#PlayOnMac Configuration
if [ "$PLAYONMAC" = "" ]; then
echo "r_font_ft 0" >> "$REPERTOIRE/wineprefix/$PREFIX/drive_c/$PROGRAMFILES/Sony/EverQuest/eq.ini"
fi
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
 
#Create shortcut
POL_SetupWindow_auto_shortcut "$PREFIX" "everquest.exe" "$TITLE" "$TITLE.png" ""
 
#assign the correct version of wine
Set_WineVersion_Assign "$WORKING_WINE" "$TITLE"
 
#remove installation files
clean_tmp
 
#Success message
POL_SetupWindow_Message "EverQuest Veil Of Alraris has successfully installed.\nClick forward to close the window." "Installation Successful"
 
POL_SetupWindow_Close
exit
 

necrose99 Lundi 23 Mars 2015 à 12:49
necrose99Anonymous

script needs updating but shuld work one done, anyhow useful to eq players.

on The Darkened Sea now

#Success message
POL_SetupWindow_Message "EverQuest The Darkened Sea has successfully installed.\nClick forward to close the window." "Installation Successful"

 

petch Lundi 23 Mars 2015 à 20:14
petch

Hi necrose99,

Ok the problem is that you started from a very old script, so lot of what you copied is deprecated style...

You can check in the tutorial what current scripts should look like.

cd $REPERTOIRE/tmp

The use of $REPERTOIRE is deprecated, use $POL_USER_ROOT instead

rm *.jpg

No script will be accepted with rm not using absolute paths anymore. Anyway, this is totally useless, just remove it

POL_SetupWindow_InitWithImages

Obsolete statement, just use POL_SetupWindow_Init
Also it should be followed by POL_Debug_Init to enable the embedded debugger support.

POL_SetupWindow_install_wine "$WORKING_WINE"
Use_WineVersion "$WORKING_WINE"

#set the prefix
select_prefix "$REPERTOIRE/wineprefix/$PREFIX"

Obsoleted by POL_Wine_SelectPrefix and POL_Wine_PrefixCreate

#set the Program Files variable
POL_LoadVar_PROGRAMFILES

No longer necessary, $PROGRAMFILES is automatically set

POL_SetupWindow_message_image "Please note that this game requires a subscription.\nThis script will only install EverQuest II,\n it will not give you a paid subscription.\n\nDo not install shortcuts with the installer.\nThose shortcuts will break EverQuest II\nand correct ones will be setup later." "Note about subscriptions/shortcuts" "$PLAYONLINUX/themes/tango/warning.png"

POL_SetupWindow_message_image is no longer supported, use POL_SetupWindow_message instead.
And all user oriented messages must support localization mechanism

POL_SetupWindow_download "Please wait while EverQuest  is downloading" "Downloading" "$DOWNLOAD_SITE"

use POL_Download instead

wine ./EQ_setup.exe

You should use POL_Wine wrapper instead of directly calling wine, so its output is correctly logged

POL_SetupWindow_message "Press forward only when installation is fully complete." "Confirmation of Installation"

Such user interaction shouldn't be necessary anymore, worse case if the installation is non-blocking use POL_Wine_WaitExit here

POL_SetupWindow_auto_shortcut "$PREFIX" "everquest.exe" "$TITLE" "$TITLE.png" ""

Use POL_Shortcut instead

Set_WineVersion_Assign "$WORKING_WINE" "$TITLE"

Per-shortcut Wine version is no longer supported, just remove that statement

clean_tmp

Not necessary anymore

POL_SetupWindow_Message "EverQuest Veil Of Alraris has successfully installed.\nClick forward to close the window." "Installation Successful"

The use of "Success" messages at the end of scripts is deprecated, because it will be displayed even in case of non-fatal error, and then followed by a PlayOnLinux screen telling some error happened. Just remove it.

necrose99 Samedi 9 Mai 2015 à 5:16
necrose99Anonymous

I just mearly used the eq2 script you have up , both will install to same prefix or main wine ok

Altar of Malice @EQ2 installer script , POL_SetupWindow_Message "EverQuest THE DARKENED SEA installed.\nClick forward to close the window." "Installation Successful"

(new expansion/s added to patcher) 

however directx , corefonts dot net/mono..., and ie8 or 9 et wanted, https://www.playonlinux.com/en/app-740-EverQuest_II_Sentinels_Fate.html nerer version/s of wine (seem to work fine ie >=1.65

so long as you have the few deps asked for , https://forums.daybreakgames.com/landmark also.... seams to work just fine in fact it saves much bother and space to put most the soe games in same container.

though since landmark basicly thesame instaler + a few wine tricks can get all three to run. 

 

Sony Online Entertainment is no more, now Daybreak as it was spun off. 

Edité par necrose99

necrose99 Samedi 9 Mai 2015 à 5:29
necrose99Anonymous

https://www.playonlinux.com/en/app-740-EverQuest_II_Sentinels_Fate.html
i just used this but obiulsly the scripts have no dynamic refactor, 
spike-pentesting we got witchcraft to rewite/refactor bash---Ebuilds for gentoo...(build them, etc)  (mudler) (github) anyhow its so much perl.... used to perl4 made me wana shoot my eyes out. but obiously no auto-grpper to update the older scripts (too much programing head hurting) anyhow users can string together the patches ,mentioned if they like. anyhow my pentester quality ebuilds ... or simple sciprts. 

#!/bin/bash

# Date: (2010-11-15 05-00)

# Last revision: (2010-11-17 07-50)

# Wine version used: 1.3.5  https://appdb.winehq.org/objectManager.php?sClass=application&iId=229
 
 
 
 
 
Gold
1.7.18 1.6.2


# Distribution used to test: Ubuntu 10.10 x64

# Author: Benj

# Licence: Retail

  

[ "$PLAYONLINUX" = "" ] && exit

source "$PLAYONLINUX/lib/sources"

TITLE="EverQuest II Sentinel's Fate"

WORKING_WINE="1.3.5"

PREFIX="eq2"

COMPANY="Sony Online Entertainment"

COMPANY_SITE="http://everquest2.com/"

DOWNLOAD_SITE="http://download.station.sony.com/patch/download/eq2/eq2-us.zip"

#starting the script

cd $REPERTOIRE/tmp

rm *.jpg

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/eq2-sf/top.jpg" "http://files.playonlinux.com/resources/setups/eq2-sf/left.jpg" "$TITLE"

POL_SetupWindow_InitWithImages

POL_SetupWindow_presentation "$TITLE" "$COMPANY" "$SITE" "Benj" "$PREFIX"

#Install correct version of Wine

POL_SetupWindow_install_wine "$WORKING_WINE"

Use_WineVersion "$WORKING_WINE"

#set the prefix

select_prefix "$REPERTOIRE/wineprefix/$PREFIX"

#set the Program Files variable

POL_LoadVar_PROGRAMFILES

#installer shortcuts will point to system wine, not POL version.

POL_SetupWindow_message_image "Please note that this game requires a subscription.\nThis script will only install EverQuest II,\n it will not give you a paid subscription.\n\nDo not install shortcuts with the installer.\nThose shortcuts will break EverQuest II\nand correct ones will be setup later." "Note about subscriptions/shortcuts" "$PLAYONLINUX/themes/tango/warning.png"

#download the installer

cd $REPERTOIRE/tmp

POL_SetupWindow_download "Please wait while EverQuest II is downloading" "Downloading" "$DOWNLOAD_SITE"

#extract and run the installer

POL_SetupWindow_pulsebar "Installing EverQuest II" "Installing"

POL_SetupWindow_set_text "Extracting installer"

unzip eq2-us.zip

POL_SetupWindow_pulse 50

POL_SetupWindow_set_text "Installing EverQuest II"

wine ./EQ2.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"

#PlayOnMac Configuration

if [ "$PLAYONMAC" = "" ]; then

echo "r_font_ft 0" >> "$REPERTOIRE/wineprefix/$PREFIX/drive_c/$PROGRAMFILES/Sony/EverQuest II/eq2.ini"

fi

[ "$PLAYONMAC" == "" ] || Set_Managed "Off"

#Create shortcut

POL_SetupWindow_auto_shortcut "$PREFIX" "EQ2.exe" "$TITLE" "$TITLE.png" ""

#assign the correct version of wine

Set_WineVersion_Assign "$WORKING_WINE" "$TITLE"

#remove installation files

clean_tmp

#Success message

POL_SetupWindow_Message "EverQuest II ThE Altar of Malace has successfully installed.\nClick forward to close the window." "Installation Successful"

POL_SetupWindow_Close

exit

Edité par necrose99

cybris Dimanche 11 Avril 2021 à 23:53
cybrisAnonymous

Having issues trying to get this to work on an M1 Mac it crashes after server select.  Any suggestions?

Dadu042 Mardi 25 Mai 2021 à 17:04
Dadu042

Perhaps: https://www.codeweavers.com/compatibility/crossover/everquest

Vous êtes ici: Index > Your creations. > Everquest