The following is for installing WingsXI, a WoTG FFXI private server on Linux. Specifically I am installing with the following Arch Linux System:
touma@setsuna:wine/x86_64-windows $ neofetch
-` touma@setsuna
.o+` -------------
`ooo/ OS: Arch Linux x86_64
`+oooo: Model: B450 AORUS PRO WIFI
`+oooooo: Kernel: 5.12.9-arch1-1
-+oooooo+: Uptime: 6 days, 19 hours, 29 mins
`/:-:++oooo+: Packages: 1672 (pacman)
`/++++/+++++++: Shell: zsh 5.8
`/++++++++++++++: Resolution: 2560x1440
`/+++ooooooooooooo/` DE: GNOME 40.2
./ooosssso++osssssso+` WM: Mutter
.oossssso-````/ossssss+` WM Theme: EvoPop-Azure
-osssssso. :ssssssso. Theme: Materia-light-compact [GTK2/3]
:osssssss/ osssso+++. Icons: Numix [GTK2/3]
/ossssssss/ +ssssooo/- Terminal: gnome-terminal
`/ossssso+/:- -:/+osssso+- CPU: AMD Ryzen 7 3800X (16) @ 3.900GHz
`+sso+:-` `.-/+oso: GPU: NVIDIA GeForce GTX 1080
`++:. `-/+/ Memory: 5913MiB / 32116MiB
.` `/
There a few guides on the Internet that explain how to get this working as things are today but none of them cover WingsXI specifically which has a few quirks, so this guide will run through it. You can skip to each section if you want to know about specific parts of WingsXI or just installing Final Fantasy XI on Linux in general. All the commands here are given for Arch based distributions but you can find commands (such as replacing yay
with something else such as apt-get
for your system if you are using something else)
You need a version of WINE that won’t crash when accepting the EULA. There are a couple options here.
wine-staging
(here). If you are on Arch Linux, you can do this using pacman -S wine-staging
(or any other helper you use). You can find wine-staging
in some other repos as well, such as the Ubuntu ones. You can find more on the WINE install page. There are other versions that include that patch in their definition – any of them will do.imm32.dll
from the web such as https://github.com/bluffnix/ffxi-wine/tree/master/linux and replace your system library with it. You can find some directions on the web to do this – I would recommend you don’t do this because every time you update the operating system and the wine
package it’s going to get replaced with a new binary. However, I wanted to write this here since it’s shown on the web a lot as a drag and drop solution from a lot of users.At the time of writing, this worked with:
touma@setsuna:tidus $ wine --version
wine-6.10 (Staging)
You must wait until the download of Wine and WingsXI to continue on from this point.
Note: A lot of places on the Internet tell you to use a 32-bit prefix for Final Fantasy XI; this does not work for WingsXI so please follow the directions very closely. If in doubt, follow step by step and start with a fresh prefix.
Prepare a new prefix for WingsXI using the following command:
WINEPREFIX=~/.wine-wingsxi-64 winecfg
If you get prompted for installing Gecko, you can accept without trouble.
This will generate a new prefix. You should check:
Moving along, let’s run the installer inside of WINE:
WINEPREFIX=~/.wine-wingsxi-64 wine ~/Downloads/Install\ Wings\ v3/Installer.exe
From this point, you can click through the prompts and you should get:
It should complete without trouble. Next, unfortunately WingsXI bundled with an installer that does not setup the path to the boot command by default. We can fix this with a quick sed
replacement, so go ahead and run this:
sed -i 's/C:\\Users\\alexs\\Desktop\\Installer Package\\Ashita\\ffxi-bootmod\\pol.exe/C:\\WingsXI\\Ashita\\ffxi-bootmod\\wingsloader.exe/g' "~/.wine-wingsxi-64/drive_c/WingsXI/Ashita/config/boot/New Configuration 1.xml"
(If the above does not work, you can edit the file manually as well)
To run the game, you can use the following command:
cd ~/.wine-wingsxi-64/drive_c/WingsXI/Ashita/
WINEPREFIX=~/.wine-wingsxi-64 wine ~/.wine-wingsxi-64/drive_c/WingsXI/Ashita/injector.exe "New Configuration 1.xml"
You should get a login screen that looks something like:
touma@setsuna:WingsXI/Ashita $ 19/21 21:48:47] DarkStar Boot Loader (c) 2015 DarkStar Team
[06/19/21 21:48:47] Git Repo : https://github.com/DarkstarProject/darkstar
[06/19/21 21:48:47] Modified for use with the Wings Project (c) 2021 Wings
[06/19/21 21:48:47] Version: 1.02
[06/19/21 21:48:47] Website : https://www.wingsxi.com
[06/19/21 21:48:47] Git Repo : https://gitlab.com/ffxiwings/wings
[06/19/21 21:48:47] ==========================================================
[06/19/21 21:48:47] Checking for updates...
[06/19/21 21:48:48] Already using the latest version.
[06/19/21 21:48:48] Connected to server!
From the login:
You should login. If you are having trouble, consult the following common issue list:
in your favourite text editor and under the
boot_command tag you can add the following arguments
–user USERNAME –pass PASSWORD` to the command.winecfg
per the initial command at the start of the guide again (WINEPREFIX=~/.wine-wingsxi-64 winecfg
and turn on “Virtual Desktop” to get it’s own window frame). Alternatively, when tabbing back in simply press “Alt” again and it should work again.Assuming a successful login, you should be able to login with a character and get going without any trouble now. You should have access to all Ashita plugins like you should under Windows as well.
You can create a shell script to run this command if you want / make a desktop shortcut out of it.
There exists an issue in XI that for some users when you launch the game it will request a gamma shift to play the opening movie but this gamma shift becomes permanent while the game is running. To fix this:
You’ll know the gamma has changed when you see it.
The Ashita GUI itself will not run (or I could get it to run) under a 64 (auto) prefix. It does, however, work, in a 32 bit prefix with one caveat: the game won’t launch from the launcher due to some other stubbed behaviour of fetching values from the registry.
I would recommend you open the configuration file at ~/.wine-wingsxi-64/drive_c/WingsXI/Ashita/config/boot/New Configuration 1.xml
and simply modify it yourself. The syntax is very straightforward and you can edit things like default.txt
with a simple text editor to get most of the control that that the GUI provides.
However, it IS possible to run Ashita in a 32 bit prefix if you want to, configure things there, and then copy the config to your 32 bit prefix. To do this:
wine-staging
if you didn’t alreadyWINEPREFIX=~/.wine-wingsxi-32 WINEARCH=win32 winecfg
winetricks dotnet40 dotnet45 WINEPREFIX=~/.wine-wingsxi-32 WINEARCH=win32
(you may need to install winetricks if it was not included in your wine package such as pacman -S winetricks
)WINEPREFIX=~/.wine-wingsxi-32 wine ~/.wine-wingsxi-32/drive_c/WingsXI/Ashita/Ashita.exe
You may be able to run Ashita from the old install from a the 32-bit wineserver
but I’ve not tried it. Editing config files is something you only have to do once, so I did mine by hand. I would seriously recommend just doing that.
The following section is true of Windows as well but it not documented well on the web so I will document it here.
Performance in FFXI is fine in 30FPS mode and even in 60FPS for most setups. However, in cities with a lot of people in them performance can suffer at times due to the single threaded nature of the game and using DX8 which WINE support for it crummy.
You can do a few things to make this a lot better:
/localsettings shadows off
in game./fps 2
if you can’t maintain 60FPSThere are many things that can do this:
I use crosire’s proxy. You can install it by:
Downloading the latest DLL from the release page
Copying d3d8.dll
it into the various spots:
~/.wine-wingsxi-64/drive_c/WingsXI/Ashita/ffxi-bootmod
~/.wine-wingsxi-64/drive_c/WingsXI/SquareEnix/FINAL FANTASY XI
~/.wine-wingsxi-64/drive_c/WingsXI/SquareEnix/PlayOnlineViewer
Set winecfg
to use the native override
Run WINEPREFIX=~/.wine-wingsxi-64 winecfg
Set the override in the library tab
Run the game per normal
The process is very similar for all the other proxies. If one does not work well for you, you can try others. Some users have had luck with layering proxies to translate into Vulkan (for lower CPU draw call overhead, such as dxvk
) ultimately but I get a smooth frame rate with a single one, so I’ve not had the need. If you have steps for this, leave a comment and I can include them.
The following are a couple notes you may find useful. I will update them as time goes on into full out guides if there is interest:
brtfs
snapshot if you want, that makes this trivial to roll back for updates (something WIndows users can’t do)If you can’t get it working, you can find me on the Wings Discord or you can leave a comment below. I’ve tried to cover everything you would have to do and will flesh out things like HD Mods as I have time to type it out but in the meantime, contributions are welcome.
#windurst