Ankama launcher crash after login

Questions about Wine on Linux
Locked
devzero
Newbie
Newbie
Posts: 2
Joined: Wed Jan 27, 2021 4:33 am

Ankama launcher crash after login

Post by devzero »

Hi,

I try to install Ankama Launcher trought wine for install Waven alpha in February.
I use wine staging 6.0 (but same problem with older)
My system : Manjaro Gnome, linux 5.10.7, amdgpu, ext4

I installed vcrun2019 and win10 with winetricks, launcher perform install and i can connect to my account and … crash :’(

Code: Select all

06cc:fixme:heap:RtlSetHeapInformation 0000000000000000 1 0000000000000000 0 stub

06cc:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0000000141E86410, 0000000146003298, 0000000146085E48) stub.
06cc:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000021F6C4, 0000000000000000 000000000021F6C0
06cc:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000021F6C4 0000000000000000 000000000021F6C0) returning a dummy value (current locale)
06cc:fixme:nls:RtlGetThreadPreferredUILanguages 00000038, 000000000021F6C4, 000000000021F6E8 000000000021F6C0
06cc:fixme:nls:get_dummy_preferred_ui_language (0x38 000000000021F6C4 000000000021F6E8 000000000021F6C0) returning a dummy value (current locale)
06cc:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
06f0:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFFFFFFFFFA, 0000000002A5FE10

Initial process has started with pid 75960
Start monitoring process.
wineserver: using server-side synchronization.

net.js:282
    err = this._handle.open(fd);
                       ^

Error: EINVAL: invalid argument, uv_pipe_open
    at new Socket (net.js:282:24)
    at createWritableStdioStream (internal/process/stdio.js:179:18)
    at process.getStdout [as stdout] (internal/process/stdio.js:28:14)
    at Object.<anonymous> (electron/js2c/browser_init.js:5663:13)
    at Object../lib/browser/init.ts (electron/js2c/browser_init.js:5813:30)
    at __webpack_require__ (electron/js2c/browser_init.js:20:30)
    at electron/js2c/browser_init.js:84:18
    at electron/js2c/browser_init.js:87:10
    at NativeModule.compile (internal/bootstrap/loaders.js:302:5)
    at NativeModule.compileForPublicLoader (internal/bootstrap/loaders.js:219:8) {
  errno: -4071,
  code: 'EINVAL',
  syscall: 'uv_pipe_open'
}

016c:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA,     000000000021EB10
Monitored process exited.
Initial process has exited (return code: 256)
All children have exited.
Exit with returncode 256
I test the workaround powershell.exe disabled (here : https://appdb.winehq.org/objectManager. ... &iId=38371) but not work

Thanks
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Ankama launcher crash after login

Post by jkfloris »

The launcher seems to work in a clean wineprefix with Wine-staging 6.0 and libglesv2 and powershell disabled
Can you try to run the launcher installer with:

Code: Select all

WINEPREFIX=$HOME/Waven WINEDLLOVERRIDES=libglesv2,powershell.exe=d wine "$HOME/Downloads/Ankama Launcher-Setup.exe "
I have set the launcher to remember my name and password.

Next time you can run the launcher with:

Code: Select all

cd "$HOME/Waven/drive_c/users/$USER/Local Settings/Application Data/Programs/zaap"
WINEPREFIX=$HOME/Waven WINEDLLOVERRIDES=libglesv2,powershell.exe=d wine "Ankama Launcher.exe"
devzero
Newbie
Newbie
Posts: 2
Joined: Wed Jan 27, 2021 4:33 am

Re: Ankama launcher crash after login

Post by devzero »

Well it works :)

My mistake it's to configure WINEDLLOVERRIDES=libglesv2,powershell.exe=d AFTER install the launcher... my bad

Waven installation it's ok too !

Thanks
Locked