- Shell 100%
| README.md | Add disclaimer near the bottom, move contact info | |
| xiMakeShortcut.sh | Update script version | |
| xiShortcutResources.tar.gz | ||
How to manually set up FINAL FANTASY XI on Linux
Foreword
Greetings, adventurer.
I tried to make this as Linux-beginner friendly as I could.
Nevertheless it will help to be comfortable with how file paths and package management works on a Linux system.
This guide will not cover the Steam version of FFXI. If you bought the game there, consider playing via the standalone client linked in this guide.
It will also focus on using regular Wine Staging, instead of Proton or similar patched Wine builds.
This is because some of these modified Wines from prefix managers, such as Lutris and Bottles, will auto-configure certain things that may conflict with FINAL FANTASY XI.
Please do not use a Lutris install script to install the game, as they may sometimes cause issues that make it trickier to troubleshoot when things go wrong.
Why do things manually?
Click to expand
Tip
This is especially true if you're a Linux beginner. By setting things up from scratch yourself, you will:
- Gain insight into how Wine and prefixes work.
- Practice using the terminal.
- Learn about environment variables.
- Have a better understanding of when and where things go wrong, and how to troubleshoot them.
Lumoria, a GUI for Windower users on Linux
Click to expand
Tip
If you'd rather use Windower, you're in luck.
You can instead use the fantastic Lumoria project, an easy way to install FFXI with Windower through a graphical helper interface.
Click here to get LumoriaFor those of you who prefer Ashita and/or want to get your hands dirty, the rest of this guide is for you.
Glossary
Click here to see some common terms used in this guide.
| Term | Meaning |
|---|---|
| Distribution | Also known as "distro". A Linux distribution is an operating system that uses the Linux kernel. |
| Environment variable | Information that informs a program how to behave when running. When used in a command line, they are always in BLOCK CAPITALS at the start of a command. For example: WINEPREFIX=~/games/ffxi is a variable used by Wine, instructing it to use that specific Wine prefix. |
| Home directory | Your "home" folder on a Linux system. In most popular command lines, ~ is shorthand for the path to your home directory.For example, on my system ~/games/ would lead to /home/ridge/games/ |
| Large address aware | In 32-bit software, this lets them use up to 4GB RAM as needed. Normally, these old programs can only use up to 2GB. |
| Package manager | The software installer on a Linux system. Examples include pacman (Arch Linux), dnf (Fedora), apt (Debian, Ubuntu), emerge (Gentoo), etc. |
| Wine prefix | A directory that contains system files for Wine. Software run in a Wine prefix will use these to work, it will not use other prefixes on your computer. Think of each one as a separate copy of Windows. |
| Working directory | The current directory (folder) displayed in your terminal. Also refers to the path that a program is run from. For example, a program being told to read "file.txt" can't find that file, unless it's given the full path OR it's in its working directory. |
| Commands | |
| cd | Terminal command. Changes your current directory in a terminal. cd = change directory |
| export | Terminal command. Tells your terminal how to interpret a certain string of text by setting it as an environment variable. |
| && | A way to chain commands together. Instructs your terminal (specifically the shell) to execute the next command as soon as the previous one finishes. |
| Software | |
| dgVoodoo2 | Graphics translation layer. Translates DirectX 8 graphics to DirectX 11. Increases compatibility with modern hardware. |
| DXVK | Graphics translation layer. Translates DirectX 8~11 graphics to Vulkan. Increases compatibility with modern hardware and Linux. |
| Git | A "version control system", it simplifies keeping files in so-called "git" repositories up to date on your computer. Most often used by software developers, but in this case, it's used to make it easy to keep Ashita v4's beta up to date. |
| Proton | A software bunde by Valve Software, containing their modified version of Wine and other tools such as DXVK. |
| wget | A command-line program that downloads things from the internet. |
| Wine | A program that allows Windows software to run on Linux (and other) systems. Wine is not a full virtual machine or emulator, but more like an interpreter. |
| Winetricks | A script that automates installing certain proprietary Windows components in a Wine prefix. |
Goals
By following this guide, you will do the following:
- Install FINAL FANTASY XI.
- Optionally, install D7VK to make PlayOnline Viewer smoother.
- Optionally, download and configure the Ashita v4 mod framework.
- Set up dgVoodoo2.
- Patch FFXI so it can use up to 4GB RAM.
- Run a script to create an application launcher shortcut to the game.
Prerequisites
Download the FFXI setup files for your region:
EUR installer (Link)
USA installer (Link)
JPN installer (Link)
If you already have FFXI installed in a Wine prefix, you can of course skip the actual install process. You may opt to only install what you're missing instead.
Download my FFXI Shortcut Creation script:
Right-click here and "save as"
These are optional, but recommended especially if modding:
dgVoodoo2 2.8.2 (Link)
Thorny's large address aware patcher (Link)
Make sure the following packages are installed on your system:
- wine-staging (Why staging?)
- winetricks
- git
- wget
- sed
Preparing to install
Before doing anything at all, make sure you've loaded into the bash shell.
Click here if you're not sure what that means
Important
TL;DR
To check which shell you're using, run
echo 0ドルin your terminal.
If it's notbash, simply typebashin your terminal and hit enter.
You may have to install it first.
Tip
Further explanation
When you're using a terminal, you're interacting with a "shell" on your system. It's what receives your commands and runs them.
Popular shells includebash,zsh,fish, the classicsh, and so on.
Most of them are fairly compatible with each other, but not entirely.This guide was written with
bashin mind. Some of these commands may not work correctly in shells likezshorfish.Most distributions default to
bashfor their shell. But some distros use a different shell by default. For example, CachyOS usesfishby default.
Nothing wrong with that, but the wayfishinterprets some commands in this guide causes problems.Therefore, it's best to use
bashwhen following this guide.
I'll try to make the commands more generic in the future so that any shell can be used!
In order to save some time, you're going to export the path you want to install FINAL FANTASY XI to.
Fill in the placeholders, and run these commands individually. Do not close your terminal after running them.
export XIPATH=(Path to FFXI install location here)
export XIREGION=(EU, US, or JP)
Click here for visual examples of the commands
These are just examples. Do not copy them. The folder you want the game to be in has to exist. Make it first if it doesn't.export XIPATH=/home/username/games/ffxi
export XIREGION=EU
When you do that, your terminal will fill in certain placeholders for you throughout this guide, until the terminal itself is closed.
That means it's not permanent. If you close and re-open the terminal, it will forget that, and you'll need to export it again.
Always remember to re-run this if you close your terminal at any point!
Click here for an explanation on the "export" command
Tip
exportdoesn't actually pull or save any data to somewhere.
It tells your terminal how to intepret certain parts of the commands used in this guide. You'll sometimes see$XIPATHin this guide's commands.
Byexport'ingXIPATHas the path where you want to install the game, the terminal will interpret$XIPATHas the actual path you set it to.
Set up the Wine prefix
Warning
On this step, if you're asked to install Gecko, that's fine to do.
But do not install Mono!
Run:
WINEPREFIX=$XIPATH winetricks --unattended corefonts gdiplus dotnet48 vcrun2022 dxvk win11
This can take a while to finish. Just be patient and let it do its thing.
Moving the required files to your Wine prefix
Two reminders before moving on:
- Your Wine prefix refers to what you chose as "XIPATH" earlier.
- For the rest of this guide, do not close the terminal.
- If you do, re-run the
exportcommands, thencd $XIPATH/drive_c.
- If you do, re-run the
Once the Wine prefix is set up, put all five parts of the FINAL FANTASY XI installer inside the drive_c folder in your Wine prefix.
Additionally, put xiMakeShortcut.sh in there for later use.
Your drive_c folder should contain this now (click to expand)
- Program Files
- Program Files (x86)
- ProgramData
- users
- windows
- FFXIFullSetup_XX.part1.exe
- FFXIFullSetup_XX.part2.rar
- FFXIFullSetup_XX.part3.rar
- FFXIFullSetup_XX.part4.rar
- FFXIFullSetup_XX.part5.rar
- xiMakeShortcut.sh
Installing FINAL FANTASY XI
Time to actually install the game!
- Run these commands in order:
cd $XIPATH/drive_c
This navigates to the correct folder.
WINEPREFIX=$XIPATH wine FFXIFullSetup_$XIREGION.part1.exe /S && sleep 5 && clear && echo "FINAL FANTASY XI setup files extracted."
Then, the installation files are extracted.
WINEPREFIX=$XIPATH wine msiexec /i $XIPATH/drive_c/FFXIFullSetup_$XIREGION/PlayOnline/PlayOnlineViewer.msi /quiet && sleep 5 && clear && echo "Installed PlayOnline Viewer."
This installs PlayOnline Viewer.
WINEPREFIX=$XIPATH wine msiexec /i $XIPATH/drive_c/FFXIFullSetup_$XIREGION/FINAL_FANTASY_XI/FINAL_FANTASY_XI.msi /quiet && sleep 5 && clear && echo "Installed FINAL FANTASY XI."
And finally, this installs the game.
It might look like it's frozen, but don't worry! There's no progress bar. Just let it finish.
Go grab a beverage, this will take a LONG time. Be very patient and wait for the terminal to tell you it has finished.
At this point, PlayOnline Viewer and FINAL FANTASY XI should both be installed in your Wine prefix. You can find them in drive_c/Program Files (x86)/.
Modding
If you just want to play the game normally without mods, you can of course just skip this part.
In that case, skip ahead to "Creating a shortcut".
Installing Ashita
- Run:
git clone https://github.com/AshitaXI/Ashita-v4beta.git $XIPATH/drive_c/Ashita-v4beta
- Run:
cp -vp $XIPATH/drive_c/Ashita-v4beta/config/boot/{example-retail.ini,$USER.ini} && cp -vp $XIPATH/drive_c/Ashita-v4beta/scripts/{default.txt,$USER.txt}
- Now configure Ashita v4 as per its documentation, click here to open it.
- I know that's very "Now draw the rest of the owl" to say, but it's best that you learn for yourself what the configuration files do.
- It's fine to leave most things as default. You mostly just want to look over your .ini file in Ashita-v4beta/config/boot/(username).ini
- To make it easier to update Ashita later, the second command above made copies of the boot and script files for you.
Important
When configuring your boot .ini file, make sure you change the default.txt script to (your username).txt
Patching pol.exe to be large address aware.
Recommended, as it lets the game use up to 4GB RAM instead of 2. This prevents crashes where the game runs out of memory.
It can especially happen if you use high-res texture mods, such as Remapster.
- Move LargeAddressAwarePatcher.exe to
drive_cin your prefix. - Run:
cp -vp $XIPATH/drive_c/Program\ Files\ \(x86\)/PlayOnline/SquareEnix/PlayOnlineViewer/{pol.exe,pol-unpatched.exe~}
This makes a backup of pol.exe, just in case something goes wrong.
- Run:
WINEPREFIX=$XIPATH wine $XIPATH/drive_c/LargeAddressAwarePatcher.exe
- Select pol.exe and click patch.
Installing dgVoodoo2 2.8.2
On some configurations, the game will crash without dgVoodoo2. It's recommended to install it if using Ashita.
- Extract
dgvoodoo-2.8.2.tar.gzto the PlayOnlineViewer folder (where pol.exe is, NOT the FINAL FANTASY XI folder). - Run this to register a DLL override for dgVoodoo2:
WINEPREFIX=$XIPATH wine reg add "HKCU\Software\Wine\DllOverrides" /v *d3dimm /t REG_SZ /d "native,builtin"
Experimental: Installing D7VK
PlayOnline Viewer uses DirectX 7, or, DirectDraw to be precise. It's unsupported, decrepit, and slow. Even on Windows.
D7VK, being based on DXVK, translates DirectX 7 to Vulkan and makes PlayOnline Viewer slightly smoother to use.
While not strictly necessary, D7VK does make the login process a bit nicer. However, be warned that this is strictly experimental. D7VK is not really intended for fully 2D applications such as this.
Caution
You must launch PlayOnline Viewer at least once WITHOUT D7VK, or else PlayOnline Viewer will become corrupted and require a re-install.
As long as you have gone through the first time setup, you should be able to safely use D7VK with PlayOnline Viewer.
I accept. I have launched PlayOnline Viewer at least once. Show me the installation instructions!
- First, download D7VK (click here)
- Extract
ddraw.dllfrom D7VK's ZIP file to the PlayOnlineViewer folder (where pol.exe is, NOT the FINAL FANTASY XI folder). - Run this to make Wine use that DLL file instead of its own:
WINEPREFIX=$XIPATH wine reg add "HKCU\Software\Wine\DllOverrides" /v *ddraw /t REG_SZ /d "native,builtin"
Creating a shortcut
In order to run the game without having to run an obnoxiously long command every time, you should make a shortcut to the game.
How this is done varies based on desktop environment, so this is where the shortcut builder script comes in.
First make the script executable:
chmod u+x xiMakeShortcut.sh
Then run it:
./xiMakeShortcut.sh
Did nothing happen? Click here.
Make sure that:
- ...the script exists in the directory displayed in your terminal.
- If not, just navigate to where it is with the cd command, or copy it there now.
- ...the script has the correct filename.
- It has to be a .sh file, not .txt
Follow the instructions displayed by the script. The script should recognise the XIPATH and XIREGION values you set with export earlier.
If not, that's ok, it'll prompt you for any missing information.
Finished!
Once that's done, that should be it! The game should appear in your application launcher, and be ready to play.
If you right-click the shortcut, it should also include shortcuts to configuration for the game, PlayOnline Viewer, and launching without mods if you opted to include Ashita.
I hope everything worked out smoothly for you, and that you perhaps learned something new along the way.
Again, if you have any questions, feel free to reach out. You can find my contact info at the beginning of the guide.
Enjoy your stay in Vana'diel 🌱
Thanks
Thank you to:
- daffodilian for supplying Chinese translations in the .desktop file.
- Clyde, for testing the guide and script.
- guillemets, for proofreading.
- slimekat, for testing & valuable feedback.
Disclaimer
This guide is not affiliated with any other project mentioned within this guide, including but not limited to Ashita, Lumoria, and Windower.
It is entirely my own work.
If you need help or otherwise want to contact me, feel free to open an issue or use either of these channels:
Fluxer: ridge#7478
ActivityPub: ridge@tilde.zone
Tip jar
If this helped you, and you have the means to do so, please consider throwing me a penny or two.
Any amount is helpful and appreciated.
License
ff11-on-linux guide © 2026 by Chip is licensed under CC BY-SA 4.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-sa/4.0/