IMPORTANT How to run Windia on Linux

shavit

/dev/null
Administrator


Windia on Linux!
Note: In theory, this should work on Mac OS X as well. OS X is not free software and I don't own a Mac, use at your own risk.

Windia is the first ever v83 private server with native WINE compatibility.

Guide is aimed at:
Arch Linux and distros based on it (e.g. Antergos and Manjaro)
Ubuntu/Mint
Red Hat distros (e.g. RHEL, Fedora, CentOS)

-

Pre-requirements:
mono
wine-staging

Before starting, update your system.
Code:
// Ubuntu
sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove

// Arch
// Note: Enable multilib repository beforehand!
sudo pacman -Syyu

// Red Hat
sudo yum update
Mono is required for the patcher.
Install wget to download the patcher as well, and unzip to extract it.

To install Mono, wget and unzip
Code:
// Arch
sudo pacman -S mono wget unzip

// Ubuntu
sudo apt-get install mono-complete wget unzip -y

// Red Hat
sudo yum install mono-complete wget unzip
Now download the Windia Patcher to a folder.

Code:
mkdir ~/home/Desktop/windia
cd ~/home/Desktop/Windia
wget "https://b.catgirlsare.sexy/uKEZ8539.zip" -O windia_patcher.zip
unzip windia_patcher.zip
rm windia_patcher.zip
Run the patcher with Mono and run it as you normally would on Windows

Code:
mono Windia\ Patcher.exe
Install all the Wine dependencies

Code:
// Arch
sudo pacman -S wine-staging giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse libgpg-error lib32-libgpg-error alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo sqlite lib32-sqlite libxcomposite lib32-libxcomposite libxinerama lib32-libgcrypt libgcrypt lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader

// Ubuntu
sudo dpkg --add-architecture i386
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key

// Ubuntu 19.10 - get older from https://wiki.winehq.org/Ubuntu
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ eoan main'

sudo apt-get update
sudo apt-get install libgnutls30:i386 libldap-2.4-2:i386 libgpg-error0:i386 libxml2:i386 libasound2-plugins:i386 libsdl2-2.0-0:i386 libfreetype6:i386 libdbus-1-3:i386 libsqlite3-0:i386
sudo apt-get install --install-recommends winehq-staging

// Red Hat
// follow https://wiki.winehq.org/Download and get wine-staging
Now attempt to run it.
Code:
wine Windia.exe
If it works, cool; have fun!

If it doesn't work, configure WINE like so:
These are my settings and it works,

Code:
winecfg



Open winetricks. See if it's available through your package manager. If not: https://wiki.winehq.org/Winetricks

Code:
winetricks


Select the following:
- Everything that starts with d3d, except for d3dxof
- dotnet20sp2

Try running the game!

Common issues:
"FPS is low" or "overlays don't display" -
Make sure winecfg -> libraries has d3d8.dll set to "native, builtin".

"stack overflow" -
Custom resolution might break. Open `windia.ini` and set the resolution to 800x600.
If you really want to use 720p, use WINE virtual desktop. `winecfg` -> Graphics -> Virtual Desktop -> input 1280x720.

"stack overflow" if the above solution doesn't work, or "d3d adapter out of memory" -
Run `wine regedit`, navigate to `HKEY_CURRENT_USER/Software/Wine/Direct3D`, create a string named VideoMemorySize and enter your GPU's VRAM in megabytes.


"font looks awful" -
WINE doesn't arrive with Microsoft fonts, which MapleStory utilizes.
Follow this: https://wiki.archlinux.org/index.php/Wine#Fonts
Or https://askubuntu.com/a/219795
 
Last edited:

Llama

Member
Hey threre! This isn't working for me on:
Arch Linux 5.6.5,
Wine Staging 5.7
Nvidia 1080
Intel i5-8700k

  1. I installed all of the dependencies, no problem.
  2. Ran Patcher.exe which also completed no problem.
  3. Attempted to run which failed.
  4. Installed relevant winetricks packages. (Everything that starts with d3d, except for d3dxof and dotnet20sp2).
  5. Configured wine w/winecfg to exactly match OP. Including d3d8 (native, builtin).

Output from wine attempting to run Windia.exe:
Code:
000b:fixme:winediag:__wine_start_process Wine Staging 5.7 is a testing version containing experimental patches.
000b:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
0014:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22e3b0 4 stub
0019:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0032:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0035:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
 

shavit

/dev/null
Administrator
Hey threre! This isn't working for me on:
Arch Linux 5.6.5,
Wine Staging 5.7
Nvidia 1080
Intel i5-8700k

  1. I installed all of the dependencies, no problem.
  2. Ran Patcher.exe which also completed no problem.
  3. Attempted to run which failed.
  4. Installed relevant winetricks packages. (Everything that starts with d3d, except for d3dxof and dotnet20sp2).
  5. Configured wine w/winecfg to exactly match OP. Including d3d8 (native, builtin).

Output from wine attempting to run Windia.exe:
Code:
000b:fixme:winediag:__wine_start_process Wine Staging 5.7 is a testing version containing experimental patches.
000b:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org.
0014:fixme:heap:RtlSetHeapInformation 0x570000 0 0x22e3b0 4 stub
0019:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
0032:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0035:fixme:process:SetProcessShutdownParameters (00000380, 00000000): partial stub.
Latest anticheat update was causing issues under WINE. I just pushed an update which should fix this crash. Can you try it again?
 

Llama

Member
Wow, yea of course! Can I just run Patcher.exe again or should I wipe the whole folder? Also, do I need to download a new Patcher.exe?

Huge shoutouts to the epic Linux support in this thread
 

shavit

/dev/null
Administrator
Wow, yea of course! Can I just run Patcher.exe again or should I wipe the whole folder? Also, do I need to download a new Patcher.exe?

Huge shoutouts to the epic Linux support in this thread
The same patcher will work! Just run it through mono and it'll be fine
I test on Manjaro rather than vanilla Arch but I don't think there will be any difference
 
Hi,

Thank you for the guide and appreciate your work.

I am able to run perfectly with the resolution of 800x600 which i set in windia.ini. However, seems like i am still getting stack overflow with the resolution 1280x720 (i have tried to set in both windia.ini and winecfg Virtual Desktop). I have tried the stack overflow methods above as well

Error: err:seh:setup_exception_record stack overflow 816 bytes in thread 0504 eip 7bc70c2f esp 00221000 stack 0x220000-0x221000-0x320000

Below provided Neofetch for your references.

https://ibb.co/pyjptpy

It is okay to run under 800x600 resolution. Would be great if possible to run in 1280x720.
 

shavit

/dev/null
Administrator
Hi,

Thank you for the guide and appreciate your work.

I am able to run perfectly with the resolution of 800x600 which i set in windia.ini. However, seems like i am still getting stack overflow with the resolution 1280x720 (i have tried to set in both windia.ini and winecfg Virtual Desktop). I have tried the stack overflow methods above as well

Error: err:seh:setup_exception_record stack overflow 816 bytes in thread 0504 eip 7bc70c2f esp 00221000 stack 0x220000-0x221000-0x320000

Below provided Neofetch for your references.

https://ibb.co/pyjptpy

It is okay to run under 800x600 resolution. Would be great if possible to run in 1280x720.
I haven't been able to debug this bug unfortunately. I do know that using WINE's virtual desktop (through winecfg) with 1280x720 as the setting seems to fix this issue, at least on my Manjaro VM. Could you try that?
 
Yup. I did the configuration as well. Unfortunately, i am still getting stack overflow. The screenshot below shows the configuration for both windia.exe and Virtual desktop resolution through winecfg.


Its okay and thank you for your assisting. I will keep 800x600 resolution for now until i found the solution.
 
Top