There is this 2D old video game that was working previously but after an update from their part, it stopped working. Before filing a bug report Id like to know if someone has an idea of whats happening. Its worth noting that there are several variations of this game and they all seem to work properly except for this one.
I also tried moving the folders to the C folder and launching it manually from the explorer.exe and the error is the same. Link to the game: https://classic.dura-online.com/?downloads
Using the latest wine release 10.0.
From the GUI I get: FATAL ERROR: Unable to find working directory (or data.zip)
From the terminal using sudo:
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
0074:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0074:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0074:err:systray:initialize_systray Could not create tray window
0024:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0024:err:winediag:nodrv_CreateWindow L"Make sure that your display server is running and that its variables are set."
FATAL ERROR: Unable to create window
Using the terminal for their launcher.exe:
aurf@localhost:~/Downloads/duralauncher-win32-x64-0.0.2> sudo wine Downloads/duralauncher-win32-x64-0.0.2/Dura\ Launcher.exe
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
0078:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0078:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
0078:err:systray:initialize_systray Could not create tray window
wine: failed to open "Downloads/duralauncher-win32-x64-0.0.2/Dura Launcher.exe": c0000135
Cant run old 2D game that used to work previously
Re: Cant run old 2D game that used to work previously
Do not use sudo. This will set incorrect permissions on the folders and files in the Wineprefix.
Read the Wiki for more information and how to fix your prefix.
Read the Wiki for more information and how to fix your prefix.
Re: Cant run old 2D game that used to work previously
Ok so here is some progress and interesting information that may help understanding the problems around this case.
It seems I made it work through defaulting to the Wayland Driver:
HKEY_CURRENT_USER\Software\Wine\Drivers]
"Graphics"="wayland,x11"
Steps: Create a new folder inside Wine named Drivers then a new string named Graphics and write the value of this string to "wayland,x11"
After that ChatGPT suggested to install dxvk and directx9 and a few other things (d3dcompiler_47, vcrun2019 and dotnet48), which Im still not sure if it comes by default or not, already with wine:
Code: Select all
winetricks dxvk d3dcompiler_47 vcrun2019 dotnet48
/usr/bin/winetricks d3dx9
Code: Select all
@UTILISA-3C502BB:~> DISPLAY= wine Downloads/client-files/dura_gl.exe
Here is another curious case, even though the dx.exe runs well, as well as expanding and opening other windows then bringing it back up, minimizing the window makes it completely freeze to the point of having to kill the process. Also any interaction with this wayland window goes right through, meaning mouse clicks and keyboard entries are taking by the window behind in this case Firefox.
Code: Select all
@UTILISA-3C502BB:~> DISPLAY= wine Downloads/client-files/dura_dx.exe
Freezing and having to kill the process once the windows has been minimized:
At this point Im not certain if this last behavior is a bug or a me problem from missing some dependencies. Any further information would be beneficial.
Last edited by kaped on Wed Feb 12, 2025 11:41 pm, edited 1 time in total.