The forum

[Script] Path of Exile Ascendancy

Author Replies
.M. Thursday 19 May 2016 at 22:26
.M.Anonymous

Hi, this is my first script and I hope that it works for you.

 

Description

Path of Exile is an online Action RPG set in the dark fantasy world of Wraeclast. It is designed around a strong online item economy, deep character customisation, competitive PvP and ladder races. The game is completely free and will never be "pay to win".

Tested Computer

Amd Phenom ii x4 965 | 8GB Ram | NVIDIA GeForce GT 630 – 2GB

Intel Core i3-2350M | 8GB Ram | Intel GMA HD Graphics (To run I used: "UseGLSL" "enable")

Launching

The game will download the installer first and the full content of game will be updated after the installation.

Additional Information

To prevent full screen problems I used this code to resolve the problem, but I don't know if this is the most "beautiful" kind of solution:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
POL_SetupWindow_menu "Sets the Wine virtual desktop settings" "$TITLE" "800 x 600|1024 x 768|1280 x 720|1366 x 768|1440 x 900|1600 x 900|1920 x 1080|2560 x 1440|3840 x 2160|7680 x 4320|" "|"
 
if [ "$APP_ANSWER" = "800 x 600" ]
then
    Set_Desktop "On" "800" "600"
elif [ "$APP_ANSWER" = "1024 x 768" ]
then
    Set_Desktop "On" "1024" "768"
elif [ "$APP_ANSWER" = "1280 x 720" ]
then
    Set_Desktop "On" "1280" "720"
elif [ "$APP_ANSWER" = "1366 x 768" ]
then
    Set_Desktop "On" "1366" "768"
elif [ "$APP_ANSWER" = "1440 x 900" ]
then
    Set_Desktop "On" "1440" "900"
elif [ "$APP_ANSWER" = "1600 x 900" ]
then
    Set_Desktop "On" "1600" "900"
elif [ "$APP_ANSWER" = "1920 x 1080" ]
then
    Set_Desktop "On" "1920" "1080"
elif [ "$APP_ANSWER" = "2560 x 1440" ]
then
    Set_Desktop "On" "2560" "1440"
elif [ "$APP_ANSWER" = "3840 x 2160" ]
then
    Set_Desktop "On" "3840" "2160"
elif [ "$APP_ANSWER" = "7680 x 4320" ]
then
    Set_Desktop "On" "7680" "4320"
fi

Errors

In the quest "kill Dominus", the game has lower frame rates (only when you need to kill the boss), I believe that configuration "UseGLSL" "disabled" is responsible for this bug, but "UseGLSL" "enable" decreases all game qualit.

Script

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
#!/bin/bash
# Date : (2016-05-18)
# Last revision : (2016-05-18)
# Wine version used : 1.9.4-staging
# Distribution used to test : Ubuntu 16.04
# Author : .M.
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Path of Exile Ascendancy"
PREFIX="PoEAscendancy"
EDITOR="Grinding Gear Games"
AUTOR=".M."
WINE="1.9.4-staging"
ARCH="x86"
GAME_VMS="512"
Message1="Enable CSMT - Configuration: https://github.com/wine-compholio/wine-staging/wiki/CSMT"
 
# Start the script.
POL_SetupWindow_Init
 
# Starting debugging API
POL_Debug_Init
 
# Display a standard introductory screen for the install script and the software it's about to install.
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$SITE" "$AUTOR" "$PREFIX"
 
# Set prefix path and download wine if necessary.
POL_Wine_SelectPrefix "$PREFIX"
POL_System_SetArch "$ARCH"
POL_Wine_PrefixCreate "$WINE"
 
# Modifies the Windows version emulated by Wine.
Set_OS "win7"
 
# How much (dedicated) RAM his videocard has and video settings.
POL_SetupWindow_VMS $GAME_VMS
POL_Wine_SetVideoDriver
 
# Virtual desktop width enabled to prevent full screen problems.
POL_SetupWindow_menu "Sets the Wine virtual desktop settings" "$TITLE" "800 x 600|1024 x 768|1280 x 720|1366 x 768|1440 x 900|1600 x 900|1920 x 1080|2560 x 1440|3840 x 2160|7680 x 4320|" "|"
 
if [ "$APP_ANSWER" = "800 x 600" ]
then
    Set_Desktop "On" "800" "600"
elif [ "$APP_ANSWER" = "1024 x 768" ]
then
    Set_Desktop "On" "1024" "768"
elif [ "$APP_ANSWER" = "1280 x 720" ]
then
    Set_Desktop "On" "1280" "720"
elif [ "$APP_ANSWER" = "1366 x 768" ]
then
    Set_Desktop "On" "1366" "768"
elif [ "$APP_ANSWER" = "1440 x 900" ]
then
    Set_Desktop "On" "1440" "900"
elif [ "$APP_ANSWER" = "1600 x 900" ]
then
    Set_Desktop "On" "1600" "900"
elif [ "$APP_ANSWER" = "1920 x 1080" ]
then
    Set_Desktop "On" "1920" "1080"
elif [ "$APP_ANSWER" = "2560 x 1440" ]
then
    Set_Desktop "On" "2560" "1440"
elif [ "$APP_ANSWER" = "3840 x 2160" ]
then
    Set_Desktop "On" "3840" "2160"
elif [ "$APP_ANSWER" = "7680 x 4320" ]
then
    Set_Desktop "On" "7680" "4320"
fi
 
# Creates and modifies a registry setting below key [HKEY_CURRENT_USER\Software\Wine\Direct3D].
POL_Wine_Direct3D "UseGLSL" "disabled"
POL_Wine_Direct3D "DirectDrawRenderer" "default"
POL_Wine_Direct3D "OffscreenRenderingMode" "pbuffer"
POL_Wine_Direct3D "RenderTargetModeLock" "readdraw"
POL_Wine_Direct3D "DirectDrawRenderer" "default"
POL_Wine_Direct3D "StrictDrawOrdering" "disabled"
POL_Wine_Direct3D "CSMT" "enabled"
 
# Install dependencies.
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_d3dcompiler_43
POL_Call POL_Install_msvc100
POL_Call POL_Install_RegisterFonts
POL_Call POL_Install_riched20
POL_Call POL_Install_Tahoma
POL_Call POL_Install_vcrun2010
POL_Call POL_Install_usp10
 
# Set the override mode for one or more dynamic library.
POL_Wine_OverrideDLL "native,builtin" "openal32"
 
# Ask the user want installation method he wants, LOCAL or DOWNLOAD.
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
 
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    # Select the setup file
    POL_SetupWindow_browse "Please select the setup file to run" "$TITLE"
 
    # Begin game installation   
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$APP_ANSWER"
    POL_Wine_WaitExit "$TITLE"
 
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    # Creates the temporary directory dedicated to the script.   
    POL_System_TmpCreate "tempPOE"
    cd "$POL_System_TmpDir"
     
    # Download Installer
     
    # Begin game installation   
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start /unix "$POL_System_TmpDir/PathOfExileInstaller.exe"
    POL_Wine_WaitExit "$TITLE"
     
    # Delete the temporary directory dedicated to the script.       
    POL_System_TmpDelete
fi
 
# Making shortcut
POL_Shortcut "PathOfExile.exe" "$TITLE"
 
# Exit message
POL_SetupWindow_message "$Message1" "$TITLE"
POL_SetupWindow_message "$Message2" "Acknowledgments"
 
# End of the script
POL_SetupWindow_Close
exit 0

 

Screenshot

https://drive.google.com/open?id=0B-DFS9HCsdA6OC1EY0hvMzd3ckU

https://drive.google.com/open?id=0B-DFS9HCsdA6VEpQWk9lRThVa00

https://drive.google.com/open?id=0B-DFS9HCsdA6MElvSndQZy12UlE

https://drive.google.com/open?id=0B-DFS9HCsdA6enJFM045SlhYa2c

 

 

Edited by .M.

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@playonlinux.com