FR EN DE ES IT PT
Browse forums 
Ankama Trackers

Game wont start in launcher linux

By gangmem - FORMER SUBSCRIBER - December 21, 2019, 12:57:15

Hello

I have install 64bit dofus applimage and install the launcher. Now the game have downloaded true the launcher but when i press play the game wont open.

1 0
Reply
Reactions 36
Score : 181

Download the Ankama Launcher for Linux, it's an .AppImage file, just give it execution permissions, open it and download the game.

Then, go to the Dofus' directory that should be in ~/.config/Ankama/zaap/dofus by default or if you installed the game on a different directory go there and it should have a file called zaap-start.sh, open that file with a text editor and it should have these lines (create it if you don't have it):

#!/bin/sh
wine Dofus.exe --port=$ZAAP_PORT --gameName=$ZAAP_GAME --gameRelease=$ZAAP_RELEASE --instanceId=$ZAAP_INSTANCE_ID --hash=$ZAAP_HASH --canLogin=$ZAAP_CAN_AUTH
exit $?


As you can see basically the Linux version of Dofus is the same Windows version running with WineHQ, make sure you have WineHQ installed (search the specific guide for your distribution).

https://tecadmin.net/install-wine-on-ubuntu/
https://www.winehq.org/

Also make sure you have enabled the support for 32 bits libraries and that this libraries are present:
gnutls
lib32-gnutls (32 bits version of gnutls, names can change depending on the distribution)


mpg123
lib32-mpg123 (32 bits version of mpg123, names can change depending on the distribution)


krb5
lib32-krb5 (32 bits version of krb5, names can change depending on the distribution)


These libraries are essential to the correct functionality of the Ankama Shield and the socket of the application.

Since WineHQ version 4.20 Dofus don't work anymore with the launcher, it stucks at 56% or 89%, but there's a solution and different methods so make sure you follow one of them:

RECOMMENDED ONE!!
1. Use PlayOnLinux, Lutris or Crossover (frontend applications to manage different WineHQ versions and wineprefixes specific per application) you can run it via launcher normally with a specific wine binary and wineprefix just for the game (full tutorial below).


FUNCTIONAL ONE
2. To run Dofus normally via Launcher with the systemwide WineHQ binary from versions 4.20 to the new ones (when the crashing and freezing started) and the default wineprefix (~/.wine)  just go to the Dofus' folder and edit the file zaap-start.sh.
Just add > /dev/null 2>&1 at the end of the command that runs Dofus like this:

#!/bin/sh
wine Dofus.exe --port=$ZAAP_PORT --gameName=$ZAAP_GAME --gameRelease=$ZAAP_RELEASE --instanceId=$ZAAP_INSTANCE_ID --hash=$ZAAP_HASH --canLogin=$ZAAP_CAN_AUTH >
/dev/null 2>&1
exit $?

Just adding > /dev/null 2>&1 the command will redirect all of WineHQ outputs to a null point meaning they won't be taken into consideration is just to avoid the game crashing or freezing.
That's it, the game should work normally in every WineHQ version when you click Play on the Ankama Launcher.

3 0
Reply
Score : 397

Hallo

Im stuck with selecting dofus.exe  , The file is in hidden folder, i only can select if i use file manager. When i use the wine to select it wont show the folder that i need.

Is there a option in playonlinux to see and select hidden folders?

0 0
Score : 397

Hello,

The folder was correct and and t zaap-start.sh  was correct to.

I dint had wine intsalled. I have new problem game load till 56 percent and wont load full.



 
0 0
Reply
Score : 181

I recommend to use PlayOnLinux to run Dofus on a specific wineprefix and WineHQ binary just for the application, to do that, install PlayOnLinux and follow the tutorial.

Open PlayOnLinux (PoL) and go to Tools then Manage Wine Versions and download a 32-bits version of WineHQ (I recommend the staging branch and it doesn't have to be the 4.19 version specifically, I just used that for this tutorial, you can choose other versions), if you have any problem downloading it, you can do it manually, just go to www.playonlinux.com/wine/ and download the binary for the chosen version and unzip the .tar.gz file in:
~/.PlayOnLinux/wine/linux-x86 (for 32-bits versions of WineHQ)
~/.PlayOnLinux/wine/linux-amd64 (for 64-bits versions of WineHQ, not recommended for Dofus)

Once you download a WineHQ binary, click on Configure and it will show all the wineprefixes present in PlayOnLinux.
Click on the bottom-left button Install a program in a virtual unit to create a new virtual unit (wineprefix), choose the name, architecture (32 bits) and wine version.
You will see the new wineprefix on the virtual unit's list, click on your new virtual unit and PoL will show information/configuration for it.
Configure WineHQ by clicking on the Wine then Configure Wine.
Choose to mimic Windows 10 (becuase Windows 7 is obsolete and Dofus use security certificates and socket connection so it needs to be up-to-date) and configure other things if you want to.
You can also go to Install Components and install components like FontsSmoothRGBLunaTheme to make WineHQ look beter and its fonts smoother.
Now, we have the virtual unit (wineprefix) configured, the next step is to create a shortcut for the application (Dofus.exe) to be executed on the virtual unit and with the WineHQ binary chosen by clicking on Create a new shortcut of this virtual unit on the General Tab.
Click on Explore to manually search for the application, go to the Dofus' directory (by default ~/.config/Ankama/zaap/dofus) and choose Dofus.exe.
The wizard will ask for the name of the shortcut and it will create it on the desktop, after that, is gonna ask if you want to create another shortcut, just close the wizard and if you go to your desktop it should have the PoL Dofus shortcut.
Open the shortcut (.desktop file) with a text editor and copy the line Exec.
That's the command that opens the application (Dofus.exe) on its specific wineprefix with the WineHQ binary chosen in the virtual unit, now you want the Ankama Launcher to launch dofus with that command, to do that, go to the Dofus' directory and open the file zaap-start.sh with a text editor, change the part wine Dofus.exe at the beggining of the command for the exact command we copied from the shortcut and add  > /dev/null 2>&1 at the end to avoid freezing or crashing, in this case:

replace
wine Dofus.exe
for
/usr/share/playonlinux/playonlinux --run "Dofus" %F

Basically is the same command that was on the .desktop file that PlayOnLinux created on the desktop, the new zaap-start.sh should look like this in this case:

#!/bin/sh
/usr/share/playonlinux/playonlinux --run "Dofus" %F --port=$ZAAP_PORT --gameName=$ZAAP_GAME --gameRelease=$ZAAP_RELEASE --instanceId=$ZAAP_INSTANCE_ID --hash=$ZAAP_HASH --canLogin=$ZAAP_CAN_AUTH > /dev/null 2>&1
exit $?


There you have it, save the changes, delete the PoL Dofus shortcut and now, every time you click Play on the Ankama Launcher the game should work normally.

PS: The file zaap-start.sh can restore to its original state after some big updates or if Dofus gets corrupted and you have to repair it with the Ankama Launcher, make sure to change the file whenever it's necessary.

FONT RENDERIZATION PROBLEM (Optional)
There is something that happens with the game on Linux which is the fonts not being displayed correctly in the chat, taggings or in the omega levels, happens specifically with the font Tahoma, to fix this, we have to edit a Dofus interface theme to make it use another font in the chat.

Download an interface theme for the game, you can find some in:
https://www.dofus.com/fr/forum/1578-themes-interfaces

DO NOT EDIT THE DEFAULT THEME, ONLY EXTERNAL INTERFACE THEMES.

Go to the installed interface theme directory, it should be in ~/.PlayOnLinux/wineprefix/%Name of your virtual unit%/drive_c/users/%Your user%/Application Data/Dofus/ui/themes/%Your downloaded theme% and open the css folder:
There's a bunch of style files (.css) open the files chat.css and chat_input.css with a text editor and change all the ocurrences of the font Tahoma for a preferred one and add the line useEmbedFonts: false; for every Tahoma ocurrence, I chose Open Sans and Tajawal because those are the only ones that works for me and displays everything as it should.
To install fonts in your virtual unit (wineprefix), copy the .ttf file(s) in ~/.PlayOnLinux/wineprefix/%Name of your virtual unit%/drive_c/windows/Fonts

The files should look like this in the parts you replaced the font Tahoma for your preferred one (Open Sans in this case):
Save the changes, choose the interface theme with Dofus and when you open the game again the difference in the fonts will be pretty noticeable (everything displayed as it should).
Everytime there's an update on the interface theme you have to repeat the process.
4 0
Score : 18

Ankama Launcher & Dofus were working fine for me although this past week I cannot get past 56% same as the previous post image. My system specifications are:

- Manjaro Linux
- Kernel: Linux 5.4.6-2
- wine-5.0-rc2 (Staging)

Hope this helps.

After looking at the zaap-start.sh file as suggested, I thought it might be useful to try different wine versions. I used Lutris as opposed to PlayOnLinux but both the same:

- 4.19 works (thank you for suggesting this one)
- 4.20 crashes at 56%
- 4.21 also crashes
- 5 was my original failing one

It would appear something changed between 4.19 and 4.20 that causes Dofus to fail...At any rate my game is working after downloading "lutris-nofshack-4.19" and ending up with a zaap-start.sh looking like:

/home/user/.local/share/lutris/runners/wine/lutris-nofshack-4.19-x86_64/bin/wine Dofus.exe

Hope they can pinpoint the issue.

Apparently my update post was merged with my last one...wine 4.19 works well, thought the 4.20 changelog could be of use to Ankama to find the issue?

https://www.winehq.org/announce/4.20

0 0
Reply
Score : 181

For me it works perfectly but I don't use the normal Wine, I use the PlayOnLinux and a specific wineprefix just for Dofus and it works like a charm, to do that, go to the previous comment, there's some sort of tutorial, I have had so much trouble with the systemwide Wine so I changed for PlayOnLinux's and I've never had  any problem.

2 0
Score : 397

I finally got it to work. Thanks evry one who help me/us

0 0
Reply
Score : 6

how? can you explain me?

0 0
Score : 1

Anyone know how to get Dofus to work without Wine? There has to be a way. Wine performance is so bad even with a GTX 1050 which is ridiculous...

0 0
Reply
Score : 181

There is no way unless Ankama develops a native Linux version, WineHQ is not an emulator, While a virtual machine or emulator simulates internal Windows logic, WineHQ translates those Windows logic to native UNIX/POSIX-complaint logic. In simple and non-technical words, WineHQ converts internal Windows commands to commands your Linux system can natively understand.

You probably configured something wrong because I have excellent performance on WineHQ, even better than Windows (less RAM consumed), make sure you uncheck the option "Force CPU renderization" and that you're GPU is being used with Dofus (optimus-manager or bumblebee can be used for that if you're using a hybrid GPU Laptop or just install the appropriate drivers of your GPU in your Linux distro)

0 0
Score : 1

I don't found the " Dofus.exe" from  "~/.config/Ankama/zaap/dofus" sadwhere is it ?
I haven't install Dofus, I don't now how to do. Since the update of the updater I haven't succes to install the game, from a command line, from a script, from an .app or the other, from Playonlinux or from nothing.
When I am here : https://www.dofus.com/fr/mmorpg/telecharger
what must I choose ? Linux 64 bits, Windows ou Linux 32 bits, where download it and what do with it after ?
When I in PlayOnLinux I have this text on te debug :

Spoiler (click here to show spoiler)

00000000
004d:fixme:win:GetDisplayConfigBufferSizes (0x2 0x32e684 0x32e680): stub
004d:fixme:shcore:GetCurrentProcessExplicitAppUserModelID 0032EA5C: stub
0062:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenAppContainerSid, ...) semi-stub
004d:fixme:win:RegisterTouchWindow (0x20056 00000002): stub
007e:err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
0062:fixme:sync:NtSetInformationJobObject stub: 0x430 4 0xa80f74c 4
004d:fixme:win:RegisterTouchWindow (0x2006c 00000002): stub
004d:fixme:dwmapibiggrinwmSetWindowAttribute (0002006C, 2, 0032EFA8, 4) stub
004d:fixme:shcore:GetCurrentProcessExplicitAppUserModelID 0032EA74: stub
004d:fixme:win:RegisterTouchWindow (0x20066 00000002): stub
004d:fixme:win:FlashWindowEx 0x32f0d4 - semi-stub
004d:fixme:win:GetDisplayConfigBufferSizes (0x2 0x32f3e4 0x32f3e0): stub
008a:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0062:fixme:security:CreateRestrictedToken (00000420, 0x0, 4, 104B6168, 19, 104007A0, 4, 104B6190, 0A80F4CC): stub
0062:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0062:fixme:security:CreateRestrictedToken (00000420, 0x0, 0, 00000000, 0, 00000000, 9, 104B8BD0, 0A80F4A0): stub
0062:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0062:fixme:sync:NtSetInformationJobObject stub: 0x420 4 0xa80f5fc 4
0062:fixme:process:CreateProcessInternalW Creating a process with a token is not yet implemented
008a:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
008a:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
008a:fixme:process:SetProcessDEPPolicy (3): stub
008a:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
008a:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x1e39f60, 0x57bfe30, 0x581cfc8) stub.
008a:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevation, ...) semi-stub
0085:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0085:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0085:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
0085:fixme:process:SetProcessDEPPolicy (3): stub
0085:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
0085:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x1e39f60, 0x57bfe30, 0x581cfc8) stub.
0085:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevation, ...) semi-stub
0062:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenAppContainerSid, ...) semi-stub
008d:err:seh:setup_exception_record stack overflow 816 bytes in thread 008d eip 7bc5f1ef esp 00231000 stack 0x230000-0x231000-0x330000
009f:fixme:winsock:WSALookupServiceBeginW (0x7e6f250 0x00000ff0 0x7e6f28c) Stub!
009f:fixme:iphlpapi:NotifyAddrChange (Handle 0x7e6f47c, overlapped 0x62acb28): stub
008a:fixme:time:QueryThreadCycleTime (0xfffffffe,0x32f7d0): stub!
00a8:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 09EFFF14
009f:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 07E6EDF4) semi-stub
009f:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 07E6EDF4) semi-stub
0062:fixme:security:CreateRestrictedToken (00000474, 0x0, 4, 08F02A60, 19, 1041F8B0, 4, 08613128, 0A80F4CC): stub
0062:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0062:fixme:security:CreateRestrictedToken (00000474, 0x0, 0, 00000000, 0, 00000000, 9, 08B5A680, 0A80F4A0): stub
0062:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0062:fixme:sync:NtSetInformationJobObject stub: 0x474 4 0xa80f5fc 4
0062:fixme:process:CreateProcessInternalW Creating a process with a token is not yet implemented
0062:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenAppContainerSid, ...) semi-stub
00ad:err:seh:raise_exception Exception frame is not in stack limits => unable to dispatch exception.
0062:fixme:security:CreateRestrictedToken (000002DC, 0x0, 4, 08BBAE90, 19, 08E8EE58, 4, 08EEA778, 0A80F4CC): stub
0062:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0062:fixme:security:CreateRestrictedToken (000002DC, 0x0, 0, 00000000, 0, 00000000, 9, 085FF7D8, 0A80F4A0): stub
0062:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0062:fixme:sync:NtSetInformationJobObject stub: 0x2dc 4 0xa80f5fc 4
0062:fixme:process:CreateProcessInternalW Creating a process with a token is not yet implemented
0062:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenAppContainerSid, ...) semi-stub
00af:err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x5b48861
0062:fixme:security:CreateRestrictedToken (00000310, 0x0, 4, 08E39DD8, 19, 08B69520, 4, 08EA5E48, 0A80F4CC): stub
0062:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0062:fixme:security:CreateRestrictedToken (00000310, 0x0, 0, 00000000, 0, 00000000, 9, 08EA5920, 0A80F4A0): stub
0062:fixme:ntdll:NtSetInformationToken TokenIntegrityLevel stub!
0062:fixme:sync:NtSetInformationJobObject stub: 0x310 4 0xa80f5fc 4
0062:fixme:process:CreateProcessInternalW Creating a process with a token is not yet implemented
0062:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenAppContainerSid, ...) semi-stub
00b1:err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x5b46460
00b2:fixme:dwmapibiggrinwmGetCompositionTimingInfo (00000000 0D84F5D8)
008a:fixme:ntdll:NtQueryVolumeInformationFile 0x27c: volume info not supported
00a1:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
00a1:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00a1:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00a1:fixme:process:SetProcessDEPPolicy (3): stub
00a1:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00a1:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x1e39f60, 0x57bfe30, 0x581cfc8) stub.
00a1:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevation, ...) semi-stub
00bb:fixme:time:QueryThreadCycleTime (0xfffffffe,0x887fab0): stub!
00bf:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 09EFFF14
004d:fixme:win:FlashWindowEx 0x32f0d4 - semi-stub
009d:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
009f:fixme:wlanapi:WlanEnumInterfaces (00000001, 00000000, 07E6EDF4) semi-stub
004d:fixme:win:GetDisplayConfigBufferSizes (0x2 0x32ee14 0x32ee10): stub
004d:fixme:win:FlashWindowEx 0x32f0d4 - semi-stub
004d:fixme:win:FlashWindowEx 0x32f0d4 - semi-stub
004d:fixme:win:RegisterTouchWindow (0x200c0 00000002): stub
004d:fixme:shcore:GetCurrentProcessExplicitAppUserModelID 0032E37C: stub
004d:fixme:win:RegisterTouchWindow (0x100c8 00000002): stub
00d4:fixme:ntdll:NtLockFile I/O completion on lock not implemented yet
00d2:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
00d2:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00d2:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00d2:fixme:process:SetProcessDEPPolicy (3): stub
00d2:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
00d2:fixme:ntdll:EtwEventRegister ({d2d578d9-2936-45b6-a09f-30e32715f42d}, 0x1e39f60, 0x57bfe30, 0x581cfc8) stub.
00d2:fixme:ntdll:NtQueryInformationToken QueryInformationToken( ..., TokenElevation, ...) semi-stub
00d2:fixme:time:QueryThreadCycleTime (0xfffffffe,0x32f7d0): stub!
00e6:fixme:kernelbase:AppPolicyGetThreadInitializationType FFFFFFFA, 09E5FF14
004d:fixme:win:GetDisplayConfigBufferSizes (0x2 0x32eeb4 0x32eeb0): stub
004d:fixme:win:FlashWindowEx 0x32f17c - semi-stub
004d:fixme:msctf:SetInputScopes STUB: 0002008E ... (null) (null)
004d:fixme:msctf:SetInputScopes STUB: 0002008E ... (null) (null)
004d:fixme:imm:NotifyIME IMC_SETCANDIDATEPOS
004d:fixme:imm:ImmReleaseContext (0002008E, 0AC803F0): stub
004d:fixme:win:UnregisterDeviceNotification (handle=0xcafeaffe), STUB!
00aa:fixme:file:ReplaceFileW Ignoring flags 2
009f:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x62acb28): stub
0085:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
0085:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0032FEAC
004d:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00020086
004d:fixme:iphlpapi:CancelIPChangeNotify (overlapped 0x8603ff8): stub
004d:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00020050
004d:fixme:ntdll:EtwEventUnregister (deadbeef) stub.
004d:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0032FEAC
[03/14/20 20:49:46] - Running wine-4.19 winepath -u C:\\users\\willos\\Bureau (Working directory : /home/willos/.PlayOnLinux/wineprefix/Dofus/drive_c)
/home/willos/.PlayOnLinux//wineprefix/Dofus/dosdevices/c:/users/willos/Bureau
[03/14/20 20:50:31] - Running wine-4.19 winepath -u C:\\users\\willos\\Bureau (Working directory : /home/willos/.PlayOnLinux/wineprefix/Dofus/drive_c)
/home/willos/.PlayOnLinux//wineprefix/Dofus/dosdevices/c:/users/willos/Bureau
[03/14/20 20:50:51] - Running wine-4.19 Ankama Launcher.exe (Working directory : /home/willos/Téléchargements)
wine: cannot find L"C:\\windows\\system32\\Ankama Launcher.exe"
[03/14/20 20:51:18] - Running wine-4.19 Ankama Launcher.exe (Working directory : /home/willos/Téléchargements)
wine: cannot find L"C:\\windows\\system32\\Ankama Launcher.exe"
[03/14/20 21:02:31] - Running wine-4.19 Ankama Launcher.exe (Working directory : /home/willos/Téléchargements)
wine: cannot find L"C:\\windows\\system32\\Ankama Launcher.exe"
[03/14/20 21:02:49] - Running wine-4.19 Ankama Launcher.exe (Working directory : /home/willos/Téléchargements)
wine: cannot find L"C:\\windows\\system32\\Ankama Launcher.exe"

 
0 0
Reply
Score : 181

You're downlading the Ankama Launcher for windows, that's not what you're supposed to do on Linux, there's a native Ankama Launcher for Linux which is  a file in .AppImage format, you just have to give it execution permission to the file and then execute it normally, with the Launcher you can download Dofus normally and then the PlayOnLinux configuration comes after you download the game.

0 0
Score : 397

It work like for me few months , now i cant play again i think Staging 4.19 is not working anymore.
Do some one with one works now?

0 0
Reply
Score : 181

I updated the guide, just re-read above, you can play with the latest version of WineHQ, also this is a guide on how to make the "Options" button work cuz in Linux by default when you click on "Options" in Dofus there's no options.

https://www.dofus.com/es/foro/30-problemas-soluciones-tecnicas/887263-bug-ankama-launcher-linux-solucionado

0 0
Score : 3

I did everything that you said, I'm using PlayOnLinux, the game is starting but I'm stuck at 89%.

How to fix it?

EDIT - Just fixed! I was using Wine 5.3. Changed it to 4.19 and now it working good! Thanks!

memekiller|2019-12-26 04:28:28
I recommend to download PlayOnLinux to run Dofus on a specific WinePrefix and specific WineHQ version just for the game, if you want to do that, download PlayOnLinux, go to "Tools" and "Manage Wine Versions", install a 32 bits version of WineHQ (I recommend the staging branch), if you have any problem downloading the wine versions available via PlayOnLinux, go to  https://www.playonlinux.com/wine/ and download manually your prefered version and extract the .tar.gz on ~/.PlayOnLinux/wine/linux-x86
Once you download the 32 bits version of wine for PlayOnlinux , go to the left panel of PlayOnlinux and click on "Install a Program" :
Then choose "Install a non listed program" :
Then, the PalyOnLinux new manually installation program will start, choose to install the program on a new virtual unit:
Then, choose the name of your virtual unit:
Then, click on "Use another Wine version" and "Configure Wine":
Then, choose the wine version you've downloaded:
And select "32-bits windows installation" :
Then, the wine prefix will be created and the configuration window will appear, customize your wine if you want to (better interface themes available, another font, colors, etc) and then, the PlayOnLinux wizard will ask for the executable that's gonna work as the installer of the programm you want to run in this virtual unit, basically this unit is just for Dofus, since you don't want to install Dofus again, you just want to run the game in this specific wine prefix, choose the executable of dofus, Dofus.exe, which it should be in ~/.config/Ankama/zaap/dofus or in the directory you installed dofus :
Then, PlayOnLinux will launch Dofus (it starts with some errors cuz it was launched without the launcher), just close it and then, PlayOnLinux will ask if you want to create a Desktop Shortcut to the .exe program "installed" in this unit, just click on "Explore" and choose Dofus.exe from  ~/.config/Ankama/zaap/dofus or the directory where you installed the game:
The wizard will ask for the name of the shorcut and then it will create the shortcut on the desktop, after that, is gonna ask if you want to create another shortcut, just close the wizard and if you go to your desktop, you should have the Dofus shortcut:
Open the shortcut (.desktop file) with a text editor and copy the line Exec:
That's the command that opens the programm (Dofus.exe) on the specific wine prefix created for it, now you want the Ankama Launcher to launch Dofus on that wineprefix instead of the normal wine, to do that, go to the Dofus folder installation ~/.config/Ankama/zaap/dofus and open the file zaap-start.sh with a text editor, it normally looks like this:

#!/bin/sh
wine Dofus.exe --port=$ZAAP_PORT --gameName=$ZAAP_GAME --gameRelease=$ZAAP_RELEASE --instanceId=$ZAAP_INSTANCE_ID --hash=$ZAAP_HASH --canLogin=$ZAAP_CAN_AUTH
exit $?


But, since we want the Launcher to Launch Dofus on the wineprefix created for it, change the part "wine Dofus.exe" at the begining of the file for the exact command we copied from the shortcut on the desktop and add  "> /dev/null 2>&1" at the end to avoid freezing or crashing, in this case:
replace
wine Dofus.exe
for
/usr/share/playonlinux/playonlinux --run "Dofus" %F
Basically is the same command that was on the .desktop file that PlayOnLinux created on the desktop, so the new zaap-start.sh should look like this in this case:

#!/bin/sh
/usr/share/playonlinux/playonlinux --run "Dofus" %F --port=$ZAAP_PORT --gameName=$ZAAP_GAME --gameRelease=$ZAAP_RELEASE --instanceId=$ZAAP_INSTANCE_ID --hash=$ZAAP_HASH --canLogin=$ZAAP_CAN_AUTH > /dev/null 2>&1
exit $?


There you have it, save the changes, delete the Dofus shortcut on the desktop and now, every time you click "Play" on the Ankama Launcher, it will launch Dofus on the specific wineprefix created exclusively for Dofus.

The file zaap-start.sh can restore to its original state after some big updates or if Dofus gets corrupted and you have to repair it via Launcher, so make sure to change the file whenever it's necessary, if you forget what is the command of the executable, you can always create the shortcut again with PlayOnLinux, just go to "Configure", select your virtual unit and there's some options to this virtual unit, like create new shorcuts, install libraries or components on the virtual unit, etc, I recommend to install the "FontSmoothRGB", "RegisterFonts" components to get all the fonts on your system in the wine virtual unit and to make fonts look smoother:
That should be all, as you can see , Dofus runs perfectly every time you click on "Play" via launcher:

PS:
There's an optional thing you can do with something that happens on Linux with Dofus, which is the fonts not being displayed correctly (bold or normal) in the chat or in the omega Levels which is not a big thing, but certainly bothers some people like me, to fix this, install a custom interface theme on Dofus, you can find some in https://www.dofus.com/fr/forum/1578-themes-interfaces
After you install the Dofus interface theme, go to the theme's directory, it should be in ~/.PlayOnLinux/wineprefix/%Name of your virtual unit%/drive_c/users/%Your user%/Application Data/Dofus/ui/themes/%Your downloaded theme% , there's some folders on the directory, but we only will edit some files in the css folder:
Open all the files with a text editor and change all the ocurrences of the font Tahoma (which is the one that has conflicts) for a preferred one and add the line
"useEmbedFonts: false;" for every Tahoma ocurrence, I chose Open Sans and Tajawal because those are the only ones that works for me in Dofus and displays everything as it should, if you don't have that font or if you prefer another one, you're free to go, download and to copy fonts into wine , you must copy the .ttf font to:
~/.PlayOnLinux/wineprefix/%Name of your virtual unit%/drive_c/windows/fonts
or install the font in your system.
the files should look like this in the parts you replaced the font Tahoma for your preferred one (Open Sans my case):
Now save the changes, choose the theme with Dofus and when you play , you will notice the differences between the new font that displays the game-players with bold font , the taggings, and everything would look better than the normal one, it seems to be a problem with the Microsoft's fonts renderization on Linux.

Everytime there's an update on the theme you have to repeat the process, but if you're as bothered as me to not see the fonts displayed correctly is gonna worth the edition of the files, is not that hard once you get it.

I know this tutorial is long but I want to make sure everyone who plays Dofus in Linux enjoys the game and have the same experience or even better (I think Dofus has better performance on Linux) than the people who plays on Windows or Mac.

 
0 0
Reply
Score : 181

To avoid the game freezing you just have to add > /dev/null 2>&1 at the end of the command so your zaap-start.sh looks like this (if you're using Lutris or PlayOnLinux your wine Dofus.exe part looks different but the solution still applies):

#!/bin/sh
wine Dofus.exe --port=$ZAAP_PORT --gameName=$ZAAP_GAME --gameRelease=$ZAAP_RELEASE --instanceId=$ZAAP_INSTANCE_ID --hash=$ZAAP_HASH --canLogin=$ZAAP_CAN_AUTH > /dev/null 2>&1
exit $?


It's not specifically necessary to use WineHQ 4.19 anymore, everything is explained in the guide.

1 0
Score : 397

Thanks it works back, Any instruction how to play wakfu? it installed true launcher but wont go open or load

0 0
Reply
Score : 181

I think it's the same process but you have to install the correct version of Java (openJDK) and check the zaap-start.sh of wakfu, as soon as I can I'm gonna make a guide.

0 0
Score : 3

With this whole thing that happened with the Dofus today, now the launcher doesn't connect to my account. I get the message after I type my password and press enter saying: "The server can not be accessed, please check your internet connection".

Tried to change Wine's version, but no luck with that.

0 0
Reply
Score : 3

Now started working for some reason that I simply have no idea.

0 0
Score : 397

Hallo ,

i have new problem , i start launcher and login and want to press play. Boom launcher disappear and no game.

What can it be?
 

0 0
Reply
Score : 181

Start the launcher from a console and check de output in the console when the launcher closes, since the launcher in Linux is an .AppImage file try to download it again and check if works, if it doesn't please paste the error here so I can help you

0 0
Score : 1

Hi memekiller,

Thank you so much for posting this solution. Everything works except when I launch the game, it's in Spanish despite my launcher being in English. Is there anything I can do to fix this?

0 0
Reply
Score : 181

You can change the language with the Launcher or you can check the Dofus' folder and thre should be a file called config-lang-en.xml (if it has different name just change it to english), open that file and edit everything related with the language to english and it should work

0 0
Respond to this thread