diff --git a/patches/game-patches/ffxiv_hydaelyn_intro_playback_fix.patch b/patches/game-patches/ffxiv_hydaelyn_intro_playback_fix.patch new file mode 100644 index 000000000..5d7b0272a --- /dev/null +++ b/patches/game-patches/ffxiv_hydaelyn_intro_playback_fix.patch @@ -0,0 +1,18 @@ +diff --git a/dlls/winegstreamer/wma_decoder.c b/dlls/winegstreamer/wma_decoder.c +index eff8c414ea8..ae54e7336e0 100644 +--- a/dlls/winegstreamer/wma_decoder.c ++++ b/dlls/winegstreamer/wma_decoder.c +@@ -1030,13 +1030,6 @@ HRESULT wma_decoder_create(IUnknown *outer, IUnknown **out) + + TRACE("outer %p, out %p.\n", outer, out); + +- if (!(transform = wg_transform_create(&input_format, &output_format, &attrs))) +- { +- ERR_(winediag)("GStreamer doesn't support WMA decoding, please install appropriate plugins\n"); +- return E_FAIL; +- } +- wg_transform_destroy(transform); +- + if (!(decoder = calloc(1, sizeof(*decoder)))) + return E_OUTOFMEMORY; + diff --git a/patches/protonprep-valve-staging.sh b/patches/protonprep-valve-staging.sh index 1284d1f54..d117413f1 100755 --- a/patches/protonprep-valve-staging.sh +++ b/patches/protonprep-valve-staging.sh @@ -308,6 +308,10 @@ echo "WINE: -GAME FIXES- Add Star Citizen EAC patch and wrap it around SteamGameId=starcitizen envvar" patch -Np1 < ../patches/game-patches/star-citizen-eac.patch + + #https://github.com/ValveSoftware/Proton/issues/580#issuecomment-1588435182 + echo "WINE: -GAME FIXES- Fix FFXIV not playing Hydaelyn intro video on new install" + patch -Np1 < ../patches/game-patches/ffxiv_hydaelyn_intro_playback_fix.patch ### END GAME PATCH SECTION ###