Final Fantasy XIV - A Realm Reborn

Informations

Creator Message
alcorsepol Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 635
Wine: 3.0.3

Feedbacks

Description

Final Fantasy XIV, also known as Final Fantasy XIV Online, is a massively multiplayer online role-playing game for Microsoft Windows personal computers, developed and published by Square Enix in 2010.

Appdb.winehq.org 

Source code

#!/bin/bash
# Date : (2016-05-22)
# Last revision : see changelog
# Wine version used : System
# Distribution used to test : xUbuntu 16.04
# Licence : GPLv3
# This script was tested using Final Fantasy XIV - A Realm Reborn downloaded from http://www.finalfantasyxiv.com/playersdownload/eu/
#
# CHANGELOG
# [Dadu042] (2020-01-01)
#   First script (xUbuntu 16.04).
# [Dadu042] (2020-01-01)
#   Wine 1.9.10 -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Final Fantasy XIV - A Realm Reborn"
PREFIX="FFXIV"
WORKINGWINEVERSION="3.0.3"
  
POL_GetSetupImages "https://www.alcor.se/FFXIV_TOP.png" "https://www.alcor.se/FFXIV_LEFT.png" "$TITLE"
  
POL_SetupWindow_Init
POL_SetupWindow_SetID 1999
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Square Enix" "http://www.square-enix.com/" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_SetupWindow_InstallMethod "DOWNLOAD"
  
# Create prefix and select wine version
POL_Wine_SelectPrefix "$PREFIX"
# POL_Wine_PrefixCreate "$WORKINGWINEVERSION"
Set_OS win7
 
if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
    # Run installer
    POL_Download "http://gdl.square-enix.com/ffxiv/inst/ffxivsetup.exe"
    POL_SetupWindow_message "$(eval_gettext 'The launcher will now be installed (After you press next).\nPlease install DirectX when asked to.\nAfter the installation the launcher will automatically start.\nPlease login when it does to let the game be downloaded and installed.\nWhen the game has finished please start the game once and then close it to continue the setup.\n\nPlease be patient as the installation may take some time.\n\n==Known issues==\n* The game will sometimes hang with a black screen when starting. Simply try again.\n* A rogue icon called ffxivsetup will sometimes be created in the POL menu during install. Simply remove it after the installation.\n* If sound is lagging then configure wine to use different sound settings via Wine Configuration. PulseAudio 5.1 Surround works for me.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start "ffxivsetup.exe"
    POL_Wine_WaitExit "$TITLE"
 
    #Run launcher to create config file, then close it
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/"
    POL_Wine start "ffxivboot.exe"
    sleep 5
    killall ffxivboot.exe
 
    #Edit config file to make launcher work properly
    cd "$WINEPREFIX/drive_c/users/$USER/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/"
    sed -i 's/BrowserType    0/BrowserType    2/g' FFXIV_BOOT.cfg
 
    # Run launcher and install the game
    #POL_Wine_WaitBefore "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/"
    POL_Wine start "ffxivboot.exe"
    #POL_Wine_WaitExit "$TITLE"
 
    POL_SetupWindow_message "$(eval_gettext 'The launcher will now start, login and let the game download.\nAfter that please start the game once and then turn it off together with the launcher, then press next to finish the installation.\n\nThe reason for this is that some changes need to be made to files that do not exist until after the game has started the first time.')" "$TITLE"
    #Edit config file to make game work properly
    cd "$WINEPREFIX/drive_c/users/$USER/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/"
    sed -i 's/CutsceneMovieOpening    0/CutsceneMovieOpening    1/g' FFXIV.cfg
    sed -i 's/TextureAnisotropicQuality    0/TextureAnisotropicQuality    2/g' FFXIV.cfg
    sed -i 's/SSAO    1/SSAO    2/g' FFXIV.cfg
    sed -i 's/GrassQuality    2/GrassQuality    3/g' FFXIV.cfg
    sed -i 's/TranslucentQuality    0/TranslucentQuality    1/g' FFXIV.cfg
    sed -i 's/ShadowTextureSizeType    1/ShadowTextureSizeType    2/g' FFXIV.cfg
    sed -i 's/StreamingType    0/StreamingType    1/g' FFXIV.cfg
    sed -i 's/GeneralQuality    1/GeneralQuality    0/g' FFXIV.cfg
    sed -i 's/OcclusionCulling    1/OcclusionCulling    0/g' FFXIV.cfg
    sed -i 's/ReflectionType    0/ReflectionType    2/g' FFXIV.cfg
else
    #Add steam support
    POL_Call POL_Install_steam
fi
 
#Create shortcut
POL_Shortcut "ffxivboot.exe" "$TITLE" "" "" "Game;"
  
#Done!
POL_SetupWindow_message "$(eval_gettext 'Installation finished\n\nYou can mess around with the graphical settings in the game, although the most optimal ones has been set. You are advised to leave HDR and Occlusion Culling settings alone.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 2 January 2020 at 13:16
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,87 @@
+#!/bin/bash
+# Date : (2016-05-22)
+# Last revision : see changelog
+# Wine version used : System
+# Distribution used to test : xUbuntu 16.04
+# Licence : GPLv3
+# This script was tested using Final Fantasy XIV - A Realm Reborn downloaded from http://www.finalfantasyxiv.com/playersdownload/eu/
+#
+# CHANGELOG
+# [Dadu042] (2020-01-01)
+#   First script (xUbuntu 16.04).
+# [Dadu042] (2020-01-01)
+#   Wine 1.9.10 -> 3.0.3
+
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+  
+TITLE="Final Fantasy XIV - A Realm Reborn"
+PREFIX="FFXIV"
+WORKINGWINEVERSION="3.0.3"
+  
+POL_GetSetupImages "https://www.alcor.se/FFXIV_TOP.png" "https://www.alcor.se/FFXIV_LEFT.png" "$TITLE"
+  
+POL_SetupWindow_Init
+POL_SetupWindow_SetID 1999
+POL_Debug_Init
+  
+POL_SetupWindow_presentation "$TITLE" "Square Enix" "http://www.square-enix.com/" "$AUTHOR" "$PREFIX"
+
+POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
+POL_SetupWindow_InstallMethod "DOWNLOAD"
+  
+# Create prefix and select wine version
+POL_Wine_SelectPrefix "$PREFIX"
+# POL_Wine_PrefixCreate "$WORKINGWINEVERSION"
+Set_OS win7
+ 
+if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
+    # Run installer
+    POL_Download "http://gdl.square-enix.com/ffxiv/inst/ffxivsetup.exe"
+    POL_SetupWindow_message "$(eval_gettext 'The launcher will now be installed (After you press next).\nPlease install DirectX when asked to.\nAfter the installation the launcher will automatically start.\nPlease login when it does to let the game be downloaded and installed.\nWhen the game has finished please start the game once and then close it to continue the setup.\n\nPlease be patient as the installation may take some time.\n\n==Known issues==\n* The game will sometimes hang with a black screen when starting. Simply try again.\n* A rogue icon called ffxivsetup will sometimes be created in the POL menu during install. Simply remove it after the installation.\n* If sound is lagging then configure wine to use different sound settings via Wine Configuration. PulseAudio 5.1 Surround works for me.')" "$TITLE"
+    POL_Wine_WaitBefore "$TITLE"
+    POL_Wine start "ffxivsetup.exe"
+    POL_Wine_WaitExit "$TITLE"
+ 
+    #Run launcher to create config file, then close it
+    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/"
+    POL_Wine start "ffxivboot.exe"
+    sleep 5
+    killall ffxivboot.exe
+ 
+    #Edit config file to make launcher work properly
+    cd "$WINEPREFIX/drive_c/users/$USER/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/"
+    sed -i 's/BrowserType    0/BrowserType    2/g' FFXIV_BOOT.cfg
+ 
+    # Run launcher and install the game
+    #POL_Wine_WaitBefore "$TITLE"
+    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/"
+    POL_Wine start "ffxivboot.exe"
+    #POL_Wine_WaitExit "$TITLE"
+ 
+    POL_SetupWindow_message "$(eval_gettext 'The launcher will now start, login and let the game download.\nAfter that please start the game once and then turn it off together with the launcher, then press next to finish the installation.\n\nThe reason for this is that some changes need to be made to files that do not exist until after the game has started the first time.')" "$TITLE"
+    #Edit config file to make game work properly
+    cd "$WINEPREFIX/drive_c/users/$USER/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/"
+    sed -i 's/CutsceneMovieOpening    0/CutsceneMovieOpening    1/g' FFXIV.cfg
+    sed -i 's/TextureAnisotropicQuality    0/TextureAnisotropicQuality    2/g' FFXIV.cfg
+    sed -i 's/SSAO    1/SSAO    2/g' FFXIV.cfg
+    sed -i 's/GrassQuality    2/GrassQuality    3/g' FFXIV.cfg
+    sed -i 's/TranslucentQuality    0/TranslucentQuality    1/g' FFXIV.cfg
+    sed -i 's/ShadowTextureSizeType    1/ShadowTextureSizeType    2/g' FFXIV.cfg
+    sed -i 's/StreamingType    0/StreamingType    1/g' FFXIV.cfg
+    sed -i 's/GeneralQuality    1/GeneralQuality    0/g' FFXIV.cfg
+    sed -i 's/OcclusionCulling    1/OcclusionCulling    0/g' FFXIV.cfg
+    sed -i 's/ReflectionType    0/ReflectionType    2/g' FFXIV.cfg
+else
+    #Add steam support
+    POL_Call POL_Install_steam
+fi
+ 
+#Create shortcut
+POL_Shortcut "ffxivboot.exe" "$TITLE" "" "" "Game;"
+  
+#Done!
+POL_SetupWindow_message "$(eval_gettext 'Installation finished\n\nYou can mess around with the graphical settings in the game, although the most optimal ones has been set. You are advised to leave HDR and Occlusion Culling settings alone.')" "$TITLE"
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2016-05-22)
# Last revision : see changelog
# Wine version used : System
# Distribution used to test : xUbuntu 16.04
# Licence : GPLv3
# This script was tested using Final Fantasy XIV - A Realm Reborn downloaded from http://www.finalfantasyxiv.com/playersdownload/eu/
#
# CHANGELOG
# [Dadu042] (2020-01-01)
#   First script (xUbuntu 16.04).
# [Dadu042] (2020-01-01)
#   Wine 1.9.10 -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Final Fantasy XIV - A Realm Reborn"
PREFIX="FFXIV"
WORKINGWINEVERSION="3.0.3"
  
POL_GetSetupImages "https://www.alcor.se/FFXIV_TOP.png" "https://www.alcor.se/FFXIV_LEFT.png" "$TITLE"
  
POL_SetupWindow_Init
POL_SetupWindow_SetID 1999
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Square Enix" "http://www.square-enix.com/" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.0.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

POL_SetupWindow_InstallMethod "DOWNLOAD"
  
# Create prefix and select wine version
POL_Wine_SelectPrefix "$PREFIX"
# POL_Wine_PrefixCreate "$WORKINGWINEVERSION"
Set_OS win7
 
if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
    # Run installer
    POL_Download "http://gdl.square-enix.com/ffxiv/inst/ffxivsetup.exe"
    POL_SetupWindow_message "$(eval_gettext 'The launcher will now be installed (After you press next).\nPlease install DirectX when asked to.\nAfter the installation the launcher will automatically start.\nPlease login when it does to let the game be downloaded and installed.\nWhen the game has finished please start the game once and then close it to continue the setup.\n\nPlease be patient as the installation may take some time.\n\n==Known issues==\n* The game will sometimes hang with a black screen when starting. Simply try again.\n* A rogue icon called ffxivsetup will sometimes be created in the POL menu during install. Simply remove it after the installation.\n* If sound is lagging then configure wine to use different sound settings via Wine Configuration. PulseAudio 5.1 Surround works for me.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start "ffxivsetup.exe"
    POL_Wine_WaitExit "$TITLE"
 
    #Run launcher to create config file, then close it
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/"
    POL_Wine start "ffxivboot.exe"
    sleep 5
    killall ffxivboot.exe
 
    #Edit config file to make launcher work properly
    cd "$WINEPREFIX/drive_c/users/$USER/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/"
    sed -i 's/BrowserType    0/BrowserType    2/g' FFXIV_BOOT.cfg
 
    # Run launcher and install the game
    #POL_Wine_WaitBefore "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/"
    POL_Wine start "ffxivboot.exe"
    #POL_Wine_WaitExit "$TITLE"
 
    POL_SetupWindow_message "$(eval_gettext 'The launcher will now start, login and let the game download.\nAfter that please start the game once and then turn it off together with the launcher, then press next to finish the installation.\n\nThe reason for this is that some changes need to be made to files that do not exist until after the game has started the first time.')" "$TITLE"
    #Edit config file to make game work properly
    cd "$WINEPREFIX/drive_c/users/$USER/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/"
    sed -i 's/CutsceneMovieOpening    0/CutsceneMovieOpening    1/g' FFXIV.cfg
    sed -i 's/TextureAnisotropicQuality    0/TextureAnisotropicQuality    2/g' FFXIV.cfg
    sed -i 's/SSAO    1/SSAO    2/g' FFXIV.cfg
    sed -i 's/GrassQuality    2/GrassQuality    3/g' FFXIV.cfg
    sed -i 's/TranslucentQuality    0/TranslucentQuality    1/g' FFXIV.cfg
    sed -i 's/ShadowTextureSizeType    1/ShadowTextureSizeType    2/g' FFXIV.cfg
    sed -i 's/StreamingType    0/StreamingType    1/g' FFXIV.cfg
    sed -i 's/GeneralQuality    1/GeneralQuality    0/g' FFXIV.cfg
    sed -i 's/OcclusionCulling    1/OcclusionCulling    0/g' FFXIV.cfg
    sed -i 's/ReflectionType    0/ReflectionType    2/g' FFXIV.cfg
else
    #Add steam support
    POL_Call POL_Install_steam
fi
 
#Create shortcut
POL_Shortcut "ffxivboot.exe" "$TITLE" "" "" "Game;"
  
#Done!
POL_SetupWindow_message "$(eval_gettext 'Installation finished\n\nYou can mess around with the graphical settings in the game, although the most optimal ones has been set. You are advised to leave HDR and Occlusion Culling settings alone.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Fextina Monday 5 February 2018 at 9:45
Fextina Anonymous

Message

Is there any update on this? I wanted to install it with Wine v3.1 but the official PlayOnLinux does not yet include this installer. Is there a show-stopper?

Replies

alcorsepol Thursday 26 May 2016 at 22:38
alcorsepol Anonymous

Message

Was unable to add the source for some reason.

#!/bin/bash
# Date : (2016-05-22)
# Last revision : (2016-05-26)
# Wine version used : 1.9.10
# Distribution used to test : xUbuntu 16.04
# Licence : GPLv3
# This script was tested using Final Fantasy XIV - A Realm Reborn downloaded from http://www.finalfantasyxiv.com/playersdownload/eu/
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Final Fantasy XIV - A Realm Reborn"
PREFIX="FFXIV"
WORKINGWINEVERSION="1.9.10"
 
POL_GetSetupImages "https://www.alcor.se/FFXIV_TOP.png" "https://www.alcor.se/FFXIV_LEFT.png" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 1999
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Square Enix" "http://www.square-enix.com/" "$AUTHOR" "$PREFIX"
POL_SetupWindow_InstallMethod "DOWNLOAD"
 
# Create prefix and select wine version
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKINGWINEVERSION"
Set_OS win7

if [ "$INSTALL_METHOD" == "DOWNLOAD" ]; then
    # Run installer
    POL_Download "http://gdl.square-enix.com/ffxiv/inst/ffxivsetup.exe" "5849526a5ee3077818e46daaa34de6dc"
    POL_SetupWindow_message "$(eval_gettext 'The launcher will now be installed (After you press next).\nPlease install DirectX when asked to.\nAfter the installation the launcher will automatically start.\nPlease login when it does to let the game be downloaded and installed.\nWhen the game has finished please start the game once and then close it to continue the setup.\n\nPlease be patient as the installation may take some time.\n\n==Known issues==\n* The game will sometimes hang with a black screen when starting. Simply try again.\n* A rogue icon called ffxivsetup will sometimes be created in the POL menu during install. Simply remove it after the installation.\n* If sound is lagging then configure wine to use different sound settings via Wine Configuration. PulseAudio 5.1 Surround works for me.')" "$TITLE"
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine start "ffxivsetup.exe"
    POL_Wine_WaitExit "$TITLE"

    #Run launcher to create config file, then close it
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/"
    POL_Wine start "ffxivboot.exe"
    sleep 5
    killall ffxivboot.exe

    #Edit config file to make launcher work properly
    cd "$WINEPREFIX/drive_c/users/$USER/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/"
    sed -i 's/BrowserType    0/BrowserType    2/g' FFXIV_BOOT.cfg

    # Run launcher and install the game
    #POL_Wine_WaitBefore "$TITLE"
    cd "$WINEPREFIX/drive_c/$PROGRAMFILES/SquareEnix/FINAL FANTASY XIV - A Realm Reborn/boot/"
    POL_Wine start "ffxivboot.exe"
    #POL_Wine_WaitExit "$TITLE"

    POL_SetupWindow_message "$(eval_gettext 'The launcher will now start, login and let the game download.\nAfter that please start the game once and then turn it off together with the launcher, then press next to finish the installation.\n\nThe reason for this is that some changes need to be made to files that do not exist until after the game has started the first time.')" "$TITLE"
    #Edit config file to make game work properly
    cd "$WINEPREFIX/drive_c/users/$USER/My Documents/My Games/FINAL FANTASY XIV - A Realm Reborn/"
    sed -i 's/CutsceneMovieOpening    0/CutsceneMovieOpening    1/g' FFXIV.cfg
    sed -i 's/TextureAnisotropicQuality    0/TextureAnisotropicQuality    2/g' FFXIV.cfg
    sed -i 's/SSAO    1/SSAO    2/g' FFXIV.cfg
    sed -i 's/GrassQuality    2/GrassQuality    3/g' FFXIV.cfg
    sed -i 's/TranslucentQuality    0/TranslucentQuality    1/g' FFXIV.cfg
    sed -i 's/ShadowTextureSizeType    1/ShadowTextureSizeType    2/g' FFXIV.cfg
    sed -i 's/StreamingType    0/StreamingType    1/g' FFXIV.cfg
    sed -i 's/GeneralQuality    1/GeneralQuality    0/g' FFXIV.cfg
    sed -i 's/OcclusionCulling    1/OcclusionCulling    0/g' FFXIV.cfg
    sed -i 's/ReflectionType    0/ReflectionType    2/g' FFXIV.cfg
else
    #Add steam support
    POL_Call POL_Install_steam
fi

#Create shortcut
POL_Shortcut "ffxivboot.exe" "$TITLE"
 
#Done!
POL_SetupWindow_message "$(eval_gettext 'Installation finished\n\nYou can mess around with the graphical settings in the game, although the most optimal ones has been set. You are advised to leave HDR and Occlusion Culling settings alone.')" "$TITLE"
POL_SetupWindow_Close
exit 0

Replies

Friday 27 May 2016 at 14:38
Poor perf (wine-staging 1.9.5 with CSMT enable is better). Ty anyway to make this one.
Anonymous
Friday 27 May 2016 at 14:46
Not sure what you mean by "poor perf". But I will try with 1.9.5 with CSMT as well to see if that makes any huge differences.
Anonymous
Friday 27 May 2016 at 15:15
1.9.10-staging with CSMT enabled did indeed boost the performance significantly. I will try my script again when I return from work and make necessary changes to it. Thank you.

Edited by alcorsepol