User Tools

Site Tools


games:linux:wine:ffxiv

Information

Prerequisites

Install

FINAL FANTASY XIV

  • Install to default directory when prompted 2)
  • After install is finished, wait about 1-2 minutes for the Terminal to finish up
mkdir -p ~/'Wine Prefixes' && wget -O ~/'Downloads/ffxivsetup.exe' 'http://gdl.square-enix.com/ffxiv/inst/ffxivsetup.exe' && WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' WINEARCH='win64' wine ~/'Downloads/ffxivsetup.exe'

Restore FFXIV Data

  • Removes the entire FINAL FANTASY XIV - A Realm Reborn folder from the Wine prefix, and copies an existing one from ~/Downloads
  • :!: If not restoring a back-up, or are downloading the game from scratch, ignore this
rm -Rf ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn' && mv -f ~/'Downloads/FINAL FANTASY XIV - A Realm Reborn' ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix' && sync

Wine Configuration

  • :!: Staging → [x] Hide Wine version from applications 3) 4)
WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' winecfg

Clean Up

rm -f ~/'Downloads/ffxivsetup.exe' ~/'Desktop/FINAL FANTASY XIV - A Realm Reborn.desktop' ~/'Desktop/FINAL FANTASY XIV ONLINE.desktop' && sync

DXVK

Information

Download

Install

rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && chmod +x '/tmp/dxvk-'*'/setup_dxvk.sh' && cd ~ && WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/FINAL FANTASY XIV/dxvk_state_cache' && sync

Settings

Browser Fix

  • Sets Browser to 1 in FFXIV_BOOT.cfg to revert to the old launcher
  • :!: This needs to be done before first-launch
mkdir -p ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn' && echo "Browser 1" | tee ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/FFXIV_BOOT.cfg' > '/dev/null'
nano ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/FFXIV_BOOT.cfg'

Cutscene Fix

  • Sets CutsceneMovieOpening to 1 in FFXIV.cfg to workaround a blackscreen issue after selecting the datacenter and before the character-select screen
  • :!: This needs to be done before first-launch
mkdir -p ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn' && echo "CutsceneMovieOpening 1" | tee ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/FFXIV.cfg' > '/dev/null'
nano ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/FFXIV.cfg'

Desktop Launchers

Initial

rm -Rf ~/'.local/share/applications/wine/Programs/SQUARE ENIX' && mkdir -p ~/'.local/share/applications/wine/Programs/FINAL FANTASY XIV'

FINAL FANTASY XIV

nano ~/'.local/share/applications/wine/Programs/FINAL FANTASY XIV/FINAL FANTASY XIV.desktop'
[Desktop Entry]
Name=FINAL FANTASY XIV
Comment=Hydaelyn, a vibrant planet blessed by the Light of the Cyrstal. Amid azure seas, encompassing the westernmost of the Three Great Continents, there lies a realm embraced by gods and forged by heroes. Her name - Eorzea. It is here that your tale unfolds. Beckoned by the Mothercrystal, the source of all life, you must embark upon a quest to deliver the land from an eternity of Darkness.
Categories=Game;AdventureGame;RolePlaying
Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV' wine '/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxivboot64.exe'
Type=Application
StartupNotify=true
Path=/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot
Icon=420A_FFXIV.0
StartupWMClass=ffxivlauncher64.exe
Actions=Kill;Backup;Cache;

[Desktop Action Kill]
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV' wineserver -k
Name=Force-close FINAL FANTASY XIV

[Desktop Action Backup]
Exec=env WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV' wine '/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxivconfig64.exe'
Name=UI Backup Tool

[Desktop Action Cache]
Exec=bash -c "rm -Rf ~/'Wine Prefixes/FINAL FANTASY XIV/dxvk_state_cache/'* ~/'Wine Prefixes/FINAL FANTASY XIV/mesa_shader_cache/'* ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/downloads/'* ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/FFXIV_'*'/log/'* ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxiv'*'.log' ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxiv'*'.dxvk-cache' ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/windows/temp/'* ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/users/'$USER'/Temp/'* && sync && notify-send 'The cache for FFXIV has been cleaned.'"
Name=Cache Clean-up
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/FINAL FANTASY XIV/FINAL FANTASY XIV.desktop'

Quick Commands

Winecfg

WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' winecfg

Winetricks

WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' winetricks

Registry Editor

WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' regedit

Kill

WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' wineserver -k

Execute

FINAL FANTASY XIV

cd ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot' && 
__NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='NVIDIA_only'
__NV_PRIME_RENDER_OFFLOAD='1' __VK_LAYER_NV_optimus='non_NVIDIA_only'
DXVK_HUD='full'
WINEDEBUG='-all'
WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' wine ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxivboot64.exe'

System Information

cd ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot' && WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' wine ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxivsysinfo64.exe'

UI Backup Tool

cd ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot' && WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' wine ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/ffxivconfig64.exe'

File Manager

Root

gio open ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn'
2)
C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV - A Realm Reborn
3)
this allows FFXIV to use Windows licenses
4)
if Wine is detected, FFXIV switches to macOS licensing instead since that version uses CrossOver
/usr/local/www/wiki/data/pages/games/linux/wine/ffxiv.txt · Last modified: by 127.0.0.1