Forums

[Script] Path of Exile

Auteur Réponses
xyz Jeudi 16 Aoüt 2012 à 19:52
xyzAnonymous

Description
Path of Exile is a free online-only action role-playing game set in the dark fantasy world of Wraeclast. It is currently under development by Grinding Gear Games in New Zealand. New players are being added continuously to the Closed Beta Test.

#!/bin/bash
# Date : 2012-08-16 21-12
# Last revision : 2012-08-16 21-12
# Wine version used : 1.4
# Distribution used to test : Gentoo x86_64
# Author : xyz

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Path of Exile"
PREFIX="pathofexile"

POL_SetupWindow_Init
POL_SetupWindow_presentation "$TITLE" "Grinding Gear Games" "http://www.pathofexile.com" "xyz" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.4"

POL_System_TmpCreate "$PREFIX"

cd "$POL_System_TmpDir"
POL_Download "http://webcdn.pathofexile.com/downloads/PathOfExileInstaller.msi"
POL_SetupWindow_WaitBefore "$TITLE"
POL_Wine msiexec /i "$POL_System_TmpDir/PathOfExileInstaller.msi"

POL_System_TmpDelete

POL_Wine_OverrideDLL "native,builtin" "openal32"

POL_Shortcut "Client.exe" "$TITLE"
 
POL_SetupWindow_Close
exit
Quentin PÂRIS Jeudi 16 Aoüt 2012 à 20:51
Quentin PÂRISAnonymous

It seems to be fine. You can submit it
xyz Jeudi 16 Aoüt 2012 à 22:19
xyzAnonymous

Submitted, but it says
> The requested URL /en/app-1366.html was not found on this server.
Quentin PÂRIS Jeudi 16 Aoüt 2012 à 22:27
Quentin PÂRISAnonymous

When?
xyz Jeudi 16 Aoüt 2012 à 22:42
xyzAnonymous

Just right now. http://www.playonmac.com/en/app-1366-Path_of_Exile.html works, but when I edit it "Click here to see it" points to http://www.playonmac.com/en/app-1366.html which doesn't
Quentin PÂRIS Jeudi 16 Aoüt 2012 à 23:33
Quentin PÂRISAnonymous

Should be fixed. Now you have to ask for signature
xyz Vendredi 17 Aoüt 2012 à 11:46
xyzAnonymous

So, I click "Request signature" which leads to /en/request_sign-1366.html, then "Yes" (/en/request_sign-1366.html?sur=1&id=1366), then nothing happens, page stays same as when I click /en/request_sign-1366.html link.
Quentin PÂRIS Vendredi 17 Aoüt 2012 à 16:09
Quentin PÂRISAnonymous

Should be fixed
promega Samedi 18 Aoüt 2012 à 14:26
promegaAnonymous

i get this when trying to run the game..hoping someone might know.

[08/19/12 00:24:40] - Running wine-1.4 Client.exe
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
Line 1: No categories have been specified
fixme:dbghelp:elf_search_auxv can't find symbol in module
fixme:dbghelp:elf_search_auxv can't find symbol in module
err:seh:raise_exception Unhandled exception code e0000001 flags 0 addr 0x7b83b9f2
[08/19/12 00:25:13] - Running wine-1.3.2 Client.exe
wine: cannot find L"C:\\\\windows\\\\system32\\\\plugplay.exe"
fixme:system:SetProcessDPIAware stub!
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800012c)
fixme:winsock:WSAIoctl unsupported WS_IOCTL cmd (9800012c)
fixme:iphlpapi:NotifyAddrChange (Handle 0xf5e914, overlapped 0xf5e918): stub
wine: configuration in '/home/mrduncalau/.PlayOnLinux//wineprefix/pathofexile' has been updated.
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
Line 1: No categories have been specified
wine: cannot find L"C:\\\\windows\\\\system32\\\\CrashUpload.exe"
wine: cannot find L"C:\\\\windows\\\\system32\\\\CrashUpload.exe"
err:seh:raise_exception Unhandled exception code e0000001 flags 0 addr 0x7b8384f2
xyz Samedi 18 Aoüt 2012 à 16:21
xyzAnonymous

promega, does wine "Program error" window appear? Post here output that "View details" button gives.
Bzzz Samedi 8 Juin 2013 à 10:56
BzzzAnonymous

I'm not promega, but atm I cannot get PoE to run. It worked when it was in closed beta phase, though.

Is there no Code/Spoiler tag? That's a huge output I'd rather put in somewhere...

Also, why I'm here in the first place: I wanted to have a warning message on the PoE site here, or maybe in the installer itself. The playonlinux installer ignored the moved directory from a working windows installation and created a new Content.ggpk, including the full download (while it just needed to patch a few MB, like the pure-wine installation does). That does not only take ages even on a SSD (there is a bug report on this, it seems it's done on tiny sync writes), but it also uses up a lot of write cycles on disk

Before:
20:26:44-bzzz@:$ sudo tlp stat | grep LBAs
          241 Total_LBAs_Written        =    3.883 [TB]
Allocation finished:
00:03:48-bzzz@:$ sudo tlp stat | grep LBAs
          241 Total_LBAs_Written        =    3.895 [TB]
After:
241 Total_LBAs_Written        =    3.911 [TB]

28 GiB writes for a 6GiB game. And FOUR hours of allocation on a Samsung 830 256GB SSD. Madness!



Unhandled exception: page fault on read access to 0x0000000c in 32-bit code (0xf68f1b54).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:f68f1b54 ESP:0032e260 EBP:7dbad9c8 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:00000000 EBX:f6a60000 ECX:00000000 EDX:00000001
 ESI:00000000 EDI:00000000
Stack dump:
0x0032e260:  f6a46141 00000000 000005c2 00000000
0x0032e270:  00000002 f759b440 00000000 7dbad9c8
0x0032e280:  000005c2 00000008 000005be 00000067
0x0032e290:  f6a60000 7dbaff78 00000000 7dbad9c8
0x0032e2a0:  f6a234f5 7dbaff78 0000009a 00000000
0x0032e2b0:  00000002 00000000 00000001 f6a23670
000c: sel=0067 base=00000000 limit=00000000 32-bit r-x
Backtrace:
=>0 0xf68f1b54 xcb_glx_query_server_string_string_length+0x4() in libxcb-glx.so.0 (0x7dbad9c8)
  1 0xf6a46141 __glXQueryServerString+0x70() in libgl.so.1 (0x7dbad9c8)
  2 0xf6a234f5 in libgl.so.1 (+0x184f4) (0x7dbad9c8)
  3 0xf6a1f8a6 in libgl.so.1 (+0x148a5) (0x7dbaff78)
  4 0xf6a2013e glXChooseVisual+0x4d() in libgl.so.1 (0x0032e65c)
  5 0x7d95b3d4 in winex11 (+0x2b3d3) (0x0032e65c)
  6 0x7d95e367 in winex11 (+0x2e366) (0x0032e6ac)
  7 0x7e4ae16b wglGetProcAddress+0x6a() in gdi32 (0x0032e6fc)
  8 0xf6b0973e in wined3d (+0x5973d) (0x0032ebac)
  9 0xf6b0c8e7 in wined3d (+0x5c8e6) (0x0032ebcc)
  10 0xf6b96961 wined3d_create+0x60() in wined3d (0x0032ec0c)
  11 0xf6beb245 Direct3DCreate9+0x64() in d3d9 (0x0032ec3c)
  12 0x0078f869 in client (+0x38f868) (0x0032f298)
  13 0x005accf2 in client (+0x1accf1) (0x0032fd0c)
  14 0x00e5eda8 (0x7bc35550)
0xf68f1b54 xcb_glx_query_server_string_string_length+0x4 in libxcb-glx.so.0: movl    0xc(%eax),%eax
Modules:
Module    Address            Debug info    Name (166 modules)
PE      3c0000-  3d9000    Deferred        openal32
PE      400000-  d2f000    Export          client
PE     1050000- 1237000    Deferred        d3dcompiler_42
PE     1ff0000- 2448000    Deferred        wrap_oal
PE    10000000-101e5000    Deferred        d3dx9_42
PE    78050000-780b9000    Deferred        msvcp100
PE    78aa0000-78b5e000    Deferred        msvcr100
ELF    7b800000-7ba16000    Deferred        kernel32<elf>
  \\-PE    7b810000-7ba16000    \\               kernel32
ELF    7bc00000-7bcc1000    Deferred        ntdll<elf>
  \\-PE    7bc10000-7bcc1000    \\               ntdll
ELF    7bf00000-7bf03000    Deferred        <wine-loader>
ELF    7d1ff000-7d219000    Deferred        spoolss<elf>
  \\-PE    7d200000-7d219000    \\               spoolss
ELF    7d219000-7d222000    Deferred        librt.so.1
ELF    7d222000-7d26c000    Deferred        libdbus-1.so.3
ELF    7d26c000-7d275000    Deferred        libkrb5support.so.0
ELF    7d275000-7d29d000    Deferred        libk5crypto.so.3
ELF    7d29d000-7d36b000    Deferred        libkrb5.so.3
ELF    7d36b000-7d37d000    Deferred        libavahi-client.so.3
ELF    7d37d000-7d38b000    Deferred        libavahi-common.so.3
ELF    7d38b000-7d3c8000    Deferred        libgssapi_krb5.so.2
ELF    7d3c8000-7d427000    Deferred        libcups.so.2
ELF    7d43f000-7d460000    Deferred        localspl<elf>
  \\-PE    7d440000-7d460000    \\               localspl
ELF    7d4dd000-7d4e4000    Deferred        libxfixes.so.3
ELF    7d4e4000-7d4ef000    Deferred        libxcursor.so.1
ELF    7d4ef000-7d4f3000    Deferred        libkeyutils.so.1
ELF    7d4f3000-7d526000    Deferred        uxtheme<elf>
  \\-PE    7d500000-7d526000    \\               uxtheme
ELF    7d5f4000-7d61c000    Deferred        libexpat.so.1
ELF    7d61c000-7d655000    Deferred        libfontconfig.so.1
ELF    7d655000-7d665000    Deferred        libxi.so.6
ELF    7d665000-7d669000    Deferred        libxcomposite.so.1
ELF    7d669000-7d674000    Deferred        libxrandr.so.2
ELF    7d674000-7d67e000    Deferred        libxrender.so.1
ELF    7d67e000-7d684000    Deferred        libxxf86vm.so.1
ELF    7d684000-7d688000    Deferred        libxinerama.so.1
ELF    7d788000-7d7a9000    Deferred        imm32<elf>
  \\-PE    7d790000-7d7a9000    \\               imm32
ELF    7d7a9000-7d7b0000    Deferred        libxdmcp.so.6
ELF    7d7b0000-7d7d2000    Deferred        libxcb.so.1
ELF    7d7d2000-7d909000    Deferred        libx11.so.6
ELF    7d909000-7d91b000    Deferred        libxext.so.6
ELF    7d91b000-7d9ae000    Dwarf           winex11<elf>
  \\-PE    7d930000-7d9ae000    \\               winex11
ELF    7d9ae000-7da49000    Deferred        libfreetype.so.6
ELF    7da82000-7dabb000    Deferred        winspool<elf>
  \\-PE    7da90000-7dabb000    \\               winspool
ELF    7dabb000-7db99000    Deferred        comdlg32<elf>
  \\-PE    7dac0000-7db99000    \\               comdlg32
ELF    7dbbd000-7dbc3000    Deferred        libuuid.so.1
ELF    7dbc3000-7dbdd000    Deferred        libice.so.6
ELF    7dbdd000-7dccf000    Deferred        oleaut32<elf>
  \\-PE    7dbf0000-7dccf000    \\               oleaut32
ELF    7dccf000-7dd07000    Deferred        usp10<elf>
  \\-PE    7dce0000-7dd07000    \\               usp10
ELF    7dd07000-7dd28000    Deferred        iphlpapi<elf>
  \\-PE    7dd10000-7dd28000    \\               iphlpapi
ELF    7dd28000-7de1b000    Deferred        comctl32<elf>
  \\-PE    7dd30000-7de1b000    \\               comctl32
ELF    7de1b000-7de85000    Deferred        shlwapi<elf>
  \\-PE    7de30000-7de85000    \\               shlwapi
ELF    7de85000-7e094000    Deferred        shell32<elf>
  \\-PE    7de90000-7e094000    \\               shell32
ELF    7e094000-7e0f0000    Deferred        dbghelp<elf>
  \\-PE    7e0a0000-7e0f0000    \\               dbghelp
ELF    7e0f0000-7e117000    Deferred        msacm32<elf>
  \\-PE    7e100000-7e117000    \\               msacm32
ELF    7e117000-7e18d000    Deferred        rpcrt4<elf>
  \\-PE    7e120000-7e18d000    \\               rpcrt4
ELF    7e18d000-7e292000    Deferred        ole32<elf>
  \\-PE    7e1a0000-7e292000    \\               ole32
ELF    7e292000-7e33e000    Deferred        winmm<elf>
  \\-PE    7e2a0000-7e33e000    \\               winmm
ELF    7e33e000-7e3cb000    Deferred        msvcrt<elf>
  \\-PE    7e350000-7e3cb000    \\               msvcrt
ELF    7e3cb000-7e42b000    Deferred        advapi32<elf>
  \\-PE    7e3e0000-7e42b000    \\               advapi32
ELF    7e42b000-7e4e8000    Dwarf           gdi32<elf>
  \\-PE    7e440000-7e4e8000    \\               gdi32
ELF    7e4e8000-7e626000    Deferred        user32<elf>
  \\-PE    7e500000-7e626000    \\               user32
ELF    7e626000-7e658000    Deferred        libcrypt.so.1
ELF    7e658000-7e707000    Deferred        libsqlite3.so.0
ELF    7e707000-7e74c000    Deferred        libhx509.so.5
ELF    7e74c000-7e75b000    Deferred        libheimbase.so.1
ELF    7e75b000-7e784000    Deferred        libwind.so.0
ELF    7e784000-7e798000    Deferred        libp11-kit.so.0
ELF    7e798000-7e7aa000    Deferred        libtasn1.so.3
ELF    7e7aa000-7e7c3000    Deferred        libz.so.1
ELF    7e7c3000-7e7d8000    Deferred        libroken.so.18
ELF    7e7d8000-7e80c000    Deferred        libhcrypto.so.4
ELF    7e80c000-7e8ab000    Deferred        libasn1.so.8
ELF    7e8ab000-7e92c000    Deferred        libkrb5.so.26
ELF    7e92c000-7e9b0000    Deferred        libgcrypt.so.11
ELF    7e9b0000-7ea75000    Deferred        libgnutls.so.26
ELF    7ea75000-7eab1000    Deferred        libgssapi.so.3
ELF    7eab1000-7eacc000    Deferred        libsasl2.so.2
ELF    7eacc000-7eae3000    Deferred        libresolv.so.2
ELF    7eae3000-7eaf2000    Deferred        liblber-2.4.so.2
ELF    7eaf2000-7eb43000    Deferred        libldap_r-2.4.so.2
ELF    7eb44000-7eb48000    Deferred        libxau.so.6
ELF    7eb48000-7eb51000    Deferred        libsm.so.6
ELF    7eb51000-7eb64000    Deferred        psapi<elf>
  \\-PE    7eb60000-7eb64000    \\               psapi
ELF    7eb64000-7eb7c000    Deferred        version<elf>
  \\-PE    7eb70000-7eb7c000    \\               version
ELF    7eb7c000-7ebd7000    Deferred        wldap32<elf>
  \\-PE    7eb80000-7ebd7000    \\               wldap32
ELF    7ef49000-7ef56000    Deferred        libnss_files.so.2
ELF    7ef56000-7ef62000    Deferred        libnss_nis.so.2
ELF    7ef62000-7ef7b000    Deferred        libnsl.so.1
ELF    7ef7b000-7ef84000    Deferred        libnss_compat.so.2
ELF    7ef84000-7efc7000    Deferred        libm.so.6
ELF    7efc9000-7efd1000    Deferred        libheimntlm.so.0
ELF    7efd1000-7f000000    Deferred        ws2_32<elf>
  \\-PE    7efe0000-7f000000    \\               ws2_32
ELF    f68e8000-f6900000    Dwarf           libxcb-glx.so.0
ELF    f6a0b000-f6a65000    Dwarf           libgl.so.1
ELF    f6a9e000-f6bd5000    Dwarf           wined3d<elf>
  \\-PE    f6ab0000-f6bd5000    \\               wined3d
ELF    f6bd5000-f6c0c000    Dwarf           d3d9<elf>
  \\-PE    f6be0000-f6c0c000    \\               d3d9
ELF    f6c0c000-f6c4e000    Deferred        dsound<elf>
  \\-PE    f6c10000-f6c4e000    \\               dsound
ELF    f6c4e000-f6c56000    Deferred        libogg.so.0
ELF    f6c56000-f6c82000    Deferred        libvorbis.so.0
ELF    f6c82000-f6dfa000    Deferred        libvorbisenc.so.2
ELF    f6dfa000-f6e4a000    Deferred        libflac.so.8
ELF    f6e4a000-f6e51000    Deferred        libasyncns.so.0
ELF    f6e51000-f6ec5000    Deferred        libsndfile.so.1
ELF    f6ec5000-f6ecf000    Deferred        libwrap.so.0
ELF    f6ecf000-f6f3a000    Deferred        libpulsecommon-3.0.so
ELF    f6f3a000-f6f89000    Deferred        libpulse.so.0
ELF    f6f89000-f707b000    Deferred        libasound.so.2
ELF    f7082000-f708f000    Deferred        libdrm.so.2
ELF    f708f000-f70a6000    Deferred        libglapi.so.0
ELF    f70a6000-f70ad000    Deferred        libasound_module_pcm_pulse.so
ELF    f70b4000-f70df000    Deferred        winealsa<elf>
  \\-PE    f70c0000-f70df000    \\               winealsa
ELF    f70df000-f7100000    Deferred        mmdevapi<elf>
  \\-PE    f70e0000-f7100000    \\               mmdevapi
ELF    f7201000-f7206000    Deferred        libxcb-dri2.so.0
ELF    f7206000-f7210000    Deferred        libjson.so.0
ELF    f7210000-f7267000    Deferred        riched20<elf>
  \\-PE    f7220000-f7267000    \\               riched20
ELF    f7267000-f72eb000    Deferred        windowscodecs<elf>
  \\-PE    f7280000-f72eb000    \\               windowscodecs
ELF    f72eb000-f73a3000    Deferred        crypt32<elf>
  \\-PE    f72f0000-f73a3000    \\               crypt32
ELF    f73a3000-f73e0000    Deferred        rsaenh<elf>
  \\-PE    f73b0000-f73e0000    \\               rsaenh
ELF    f73e1000-f73e6000    Deferred        libgpg-error.so.0
ELF    f73e7000-f73ec000    Deferred        libdl.so.2
ELF    f73ec000-f759f000    Deferred        libc.so.6
ELF    f759f000-f75ba000    Deferred        libpthread.so.0
ELF    f75bb000-f75c0000    Deferred        libcom_err.so.2
ELF    f75c0000-f75c4000    Deferred        libxdamage.so.1
ELF    f75c5000-f75c8000    Deferred        libx11-xcb.so.1
ELF    f75c8000-f75e5000    Deferred        libgcc_s.so.1
ELF    f75e5000-f75ec000    Deferred        libnss_dns.so.2
ELF    f75ec000-f75f0000    Deferred        libnss_mdns4_minimal.so.2
ELF    f75f4000-f7735000    Dwarf           libwine.so.1
ELF    f7737000-f7759000    Deferred        ld-linux.so.2
ELF    f7759000-f775a000    Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\\poe\\Client.exe
    00000029    0
    00000028   15
    00000025    0
    00000021    0
    00000009    0 <==
0000000e services.exe
    0000001f    0
    0000001e    0
    00000018    0
    00000017    0
    00000015    0
    00000010    0
    0000000f    0
00000012 winedevice.exe
    0000001c    0
    00000019    0
    00000014    0
    00000013    0
0000001a plugplay.exe
    00000020    0
    0000001d    0
    0000001b    0
00000023 explorer.exe
    00000024    0
System information:
    Wine build: wine-1.4
    Platform: i386 (WOW64)
    Host system: Linux
    Host version: 3.8.0-23-generic

Edité par Bzzz

petch Samedi 8 Juin 2013 à 13:14
petch

Maybe the script should be modified to use Wine 1.5.28-PathOfExile?
From what I understand it should fix this allocation time problem.