Devil May Cry HD Collection

Devil May Cry HD Collection

47 ratings
(Steam Deck/Linux) Fix for FMV cutscenes
By SiJei
How to fix FMV cutscenes on your Steam Deck (or Linux in general). Multiple solutions, including already transcoded videos.
4
2
2
2
   
Award
Favorite
Favorited
Unfavorite
TL;DR
Basically, everything you need you can get from NexusMods[www.nexusmods.com] including short instructions.
Kudos to ThunderReign [www.protondb.com].
Problem
If you'll try to play DMC HD on your Steam Deck you will immediately notice a problem - all cutscenes are flipped vertically and audio quality is... Well, bad. Since there's still no fix you can just fix it yourself, thankfully it's not hard. Your Steam Deck actually have everything you need already installed in core system (and on Linux - you can just install ffmpeg and that should be it). Although the only way you can do this is to switch to Desktop Mode. And it will also take some time, so hopefully you're patient enough. But nothing (really) hard.
... Or you can just download already modified files if you want it the easy way. Anyway, I got you covered!
Doesn't mean I can do everything for you though... So, switch to Desktop mode on your Deck and let's roll.
Solution 1: Alright! (Already done)
Easy way - I already transcoded videos for you. Download, unpack and replace original videos. As easy as it can be!
Get it from NexusMods[www.nexusmods.com]. You need to download main file.
Solution 2: SSStylish!!! (Do it yourself, the easier way)
Let's suppose you don't really trust those videos or your traffic is limited. It's fine, there is a solution too. Again, go to NexusMods[www.nexusmods.com] and download optional file containing bash script. Unpack it, go to the directory where you unpacked file, right click/L2 on an empty space inside directory and enter this command:
sh fix_dmc_cutscenes_script.sh
It will find your game on your Deck and convert all videos automatically. It takes somewhere around 40 minutes or so. After script will finish its work you can just start the game.
P.S. I can't stress this enough - always check .sh files by opening them in text editor! You never know what it might actually do. Do not trust anyone with this - even me.
Solution 3: Don't worry (Do it yourself, the hard way)
Maybe you don't want to download anything for some reason. It's fine too. Because it's not really hard to do it manually (althought it is a little harder and requires more steps to complete).
So, what you need to do (I assume you already switched to Desktop mode):
1. In Desktop mode open Steam, press L2 over a game in your library and select "Manage" > "Browse local files". That'll open game directory in Dolphin (default file manager in SteamOS).
2. Open the directory with video files. Easy to find since a) all videos in these directories are in wmv format and b) these directories are literally called "video". If you have trouble finding them:
2a. Launcher videos are in data/dmclauncher/video
2b. DMC1 videos are in data/dmc1/Video
2c. I don't judge you, DMC2 videos are in data/dmc2/Video
2d. DMC3 videos are in data/dmc3/Video
3. Now you need to open terminal. Easy, just move cursor over an empty space inside the directory, press L2 and select "Open Terminal Here". It'll open Konsole.
4. Paste and execute this command:
for fmv in *.wmv; do echo "Transcoding $fmv"; ffmpeg -v quiet -stats -i $fmv -vf vflip ${fmv:0:-4}.mp4; rm -rf $fmv; mv -- ${fmv:0:-4}.mp4 $fmv; done
5. Now all you have to do is wait. You can go drink some tea, read a book, maybe something else - up to you. You'll see when it's done. And hear it too, Deck fans are loud.
6. It's done. Do the same thing for all other videos in data if you want - open directory with videos, open terminal, execute command.
Why?
Ok, so, explanation. For the reason no one knows developers decided to use wmv format for the videos (who in all seriousness still does that?). I mean Capcom does like to make bad decisions from time to time. Good thing is they also did a good decision to leave all videos in the open which helps us to fix all the problems. The main problem is with Proton (actually, it's that there is no native Linux port but we'll skip that) - it doesn't handle wmv files very well, so we have flipped videos. Audio codec, while works, also isn't exactly great and Proton implementations isn't great either. Basically everything is a recipe for a lot of problems.
But what exactly we did by executing script (or command, if you like it the hard way)? Well, we looked at each video file, made a copy with mp4 video codec, with vertically flipped image and with audio with a better codec, then we removed the original video and replaced it with copy. Yep, that's it.
You might have a question - how does that work when codecs are different from what they should be? It just shouldn't work. Well, I believe someone just didn't give a damn and decided to skip the check. As of an embedded video player that is used - it does seem to actually support mp4 codec. Which also brings the question why wmv videos were chosen in the first place.
Anyway that should be it. Boot the game and go kick some demon's ass.
12 Comments
Arh Arh 25 Jun @ 6:36pm 
If the command does not work do cd "path to your video folder"

ex:

$ cd /mnt/980PRO/SteamLibrary/steamapps/common/Devil May Cry HD Collection/data/dmc1/Video/

for fmv in *.wmv; do echo "Transcoding $fmv"; ffmpeg -v quiet -stats -i $fmv -vf vflip ${fmv:0:-4}.mp4; rm -rf $fmv; mv -- ${fmv:0:-4}.mp4 $fmv; done

Should start doing its thing
Mammut 11 May @ 2:32am 
The commad dos not work. All what happen
is that all Videofiles are deleted
ScorchedRelic 3 Dec, 2024 @ 10:22am 
Ran the script was inverted for GE-Proton but Proton 8 runs fine.
Gromber 1 Nov, 2024 @ 6:48am 
without flip:
for FMV in *.wmv; do ffmpeg -i $FMV ${FMV:0:-4}.mp4; rm $FMV; mv -- ${FMV:0:-4}.mp4 $FMV; done
ghoul 4 Jan, 2024 @ 10:28pm 
Use Valve's Proton 8.0.4. to fix inverted cutscenes! :DMCJester2:
Seikatsu 10 Nov, 2023 @ 10:35am 
this works great! however latest proton versions no longer flip the video so this mod/script will make the FMVs upside down again
i recommend updating the mod without flipping the videos
Samurai 15 Oct, 2023 @ 3:54pm 
the fmv is still flipped after apply nexus fix or if I apply the command to do it manually. Proton Experimental seemed to fix the mirrored cutscenes but audio was still low quality. I was wondering if there is any modification to the command I can make to still convert from WMV to MP4 without flipping the video. Thank you!
Arpy 28 Sep, 2023 @ 2:22pm 
Finally I can play Wacky Wahoo Pizza Man 3 on the go
ReLoAdeD91 21 Jul, 2023 @ 6:53am 
Wooow thx so much, it's run perfect. I love may steam Deck and the community. Grate job men
quest64 7 Jul, 2023 @ 8:54pm 
Hey, thanks for the guide! I managed to fix the fmv in Guilty Gear Xrd Rev 2 using Solution 3 (though it seems in that case, the flip was unnecessary, so I'm re-running the command to flip it back). I'll probably do the same thing when I'll feel like installing DMC on my Steam Deck.