Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:ffxiv [2019/08/24 00:13] – [Wine Configuration] Sean Rhone | games:wine:ffxiv [2024/08/13 16:12] (current) – removed Sean Rhone |
---|
====== Information ====== | |
| |
* FINAL FANTASY XIV ((https://www.finalfantasyxiv.com)) | |
* 64-bit | |
* [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=11717|WineHQ AppDB]] | |
| |
===== Prerequisites ===== | |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | |
* [[notes:wine|Wine]] | |
| |
==== Lutris ==== | |
| |
* Pre-start Script | |
| |
<code>#!/bin/sh | |
rm -Rf '/home/espionage724/Games/final-fantasy-xiv-a-realm-reborn/drive_c/users/espionage724/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/web'</code> | |
| |
====== Install ====== | |
| |
===== FINAL FANTASY XIV ===== | |
| |
* Install to default directory when prompted ((''C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV - A Realm Reborn'')) | |
* 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 ===== | |
| |
**** | |
| |
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 ((if Wine is detected, FFXIV switches to macOS licensing instead since that version uses CrossOver)) | |
| |
WINEPREFIX=~/'Wine Prefixes/FINAL FANTASY XIV' winecfg | |
| |
===== Clean Up ===== | |
| |
**** | |
| |
rm -f ~/'Downloads/ffxivsetup.exe' ~/'Desktop/FINAL FANTASY XIV - A Realm Reborn.desktop' && sync | |
| |
====== DXVK ====== | |
| |
===== Information ===== | |
| |
* https://github.com/doitsujin/dxvk | |
| |
* D3D11 to Vulkan | |
| |
===== Download ===== | |
| |
* https://github.com/doitsujin/dxvk/releases | |
| |
===== Install ===== | |
| |
**** | |
| |
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && 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 ====== | |
| |
===== Cutscene Fix ===== | |
| |
* After selecting the datacenter in-game, if stuck at a black screen with a loading circle, do this | |
| |
nano ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/FFXIV.cfg' | |
| |
CutsceneMovieOpening 1 | |
| |
===== Browser Fix ===== | |
| |
* TODO: Does this do anything? | |
| |
nano ~/'Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/FFXIV_BOOT.cfg' | |
| |
BrowserType 2 | |
| |
====== 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' | |
| |
<code> | |
[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 | |
Actions=Kill;Cache; | |
| |
[Desktop Action Kill] | |
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/FINAL FANTASY XIV' wineserver -k | |
Name=Force-close FINAL FANTASY XIV | |
| |
[Desktop Action Cache] | |
Exec=bash -c "rm -Rf ~/'Wine Prefixes/FINAL FANTASY XIV/dxvk_state_cache' ~/'Wine Prefixes/FINAL FANTASY XIV/mesa_shader_cache' ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/windows/temp/'* ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/users/'$USER'/Temp/'* && sync" | |
Name=Cache Clean-up</code> | |
| |
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' && | |
| |
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' | |
| |
===== File Manager ===== | |
| |
==== Root ==== | |
| |
**** | |
| |
gio open ~/'Wine Prefixes/FINAL FANTASY XIV/drive_c/Program Files (x86)/SquareEnix/FINAL FANTASY XIV - A Realm Reborn' | |