https://bugs.winehq.org/show_bug.cgi?id=48006
--- Comment #33 from Chiitoo chiitoo@gentoo.org --- (In reply to Andrew Church from comment #32)
I've made a proof-of-concept branch (ff14-launcher-poc) at https://gitlab.winehq.org/achurch/wine with the above commits applied,
Nice one!
I had to additionally apply the "hide Wine exports" patch on that from Wine Staging [1], to get the (64-bit) launcher to run.
In general, I don't have much to add regarding the bug at hand at this time, but perhaps the following will help with testing or/and looking into it, since at least I bumped into a lot of different issues while getting the thing to run.
Also, I've been running the free trial version, so it's possible some of this is related to that.
With 'ff14-launcher-poc', currently 'ffxivboot.exe' seems to explode very early, with no window showing up, and no proper backtrace, though I did get the Wine backtrace at some point, but not at the time of writing. Could be something with my current build configuration.
I did get 'ffxivboot64.exe' running better, but that gave me different issues (either the "HTTPS System Error" or "A technical issue occurred" or something else).
Using a Gentoo Linux 'wine-proton' build (8.0.4), I think 'ffxivboot.exe' is now working without additional changes, after hours of trying things and stuff before eventually re-downloading everything; my previous data (which was only about 7.5 GiB versus the current 55 GiB) seems to have something corrupt, as all I would get after hitting 'play' was "An unexpected error has occurred. Exiting FINAL FANTASY XIV.(ed)"... I had a similar issue in the past with the full version, which made me inclined to try and re-download.
With 'wine-proton', using 'ffxivboot64.exe' would lead to the "no license" message, which I remember being related to the issue where the launcher thinks it's running under macOS, for which hiding the Wine version information has been a workaround, and it works here too. No clue why that would happen with the free trial, and only with the 64-bit launcher.
To get the Wine version information hidden, I first ran 'winecfg' on the prefix with Wine Staging, enabled the setting, then built 'wine-proton' with the patch from Staging applied, which made 'ffxivboot64.exe' work as well.
As mentioned in the start, applying the same patch on 'ff14-launcher-poc' made 'ffxivboot64.exe' work with that build as well, even though I never got far enough to log in with it prior to that, so I did not even see the license issue message there.
Side-notes:
- Without the hide version patch, running 'ffxivboot64.exe' seems to set 'BrowserType' in 'FFXIV_BOOT.cfg' to '1', and that makes 'ffxivboot.exe' non-functional until 'BrowserType' is changed back to '0' (having it at '1' will result in an early "A system error has occurred: -113. HTTPS System Error").
- Excluding A Realm Reborn, all the videos work with 'ff14-launcher-poc' (ARR is just stuck in black), while 'wine-proton' only plays Heavensward and Stormblood (Opening and ARR crash the game immediately with "(wine:20351): GStreamer-CRITICAL **: 17:51:44.450: gst_element_factory_get_metadata: assertion 'GST_IS_ELEMENT_FACTORY (factory)' failed").
1. https://github.com/wine-staging/wine-staging/blob/master/patches/ntdll-Hide_... 2. https://github.com/ValveSoftware/wine/