Skip to content

Instantly share code, notes, and snippets.

@AwesamLinux
Created October 31, 2019 18:40
Show Gist options
  • Save AwesamLinux/c6ed174ee91415d3983cb91fabd27b35 to your computer and use it in GitHub Desktop.
Save AwesamLinux/c6ed174ee91415d3983cb91fabd27b35 to your computer and use it in GitHub Desktop.
Man of Medan Video Fix
echo "Fixing Videos Please Wait..."
echo "Processing File 01/19"
mv SMG019/Content/Movies/Premonitions/Premonition1.mp4 SMG019/Content/Movies/Premonitions/Premonition1.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition1.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition1.mp4
echo "Processing File 02/19"
mv SMG019/Content/Movies/Premonitions/Premonition2.mp4 SMG019/Content/Movies/Premonitions/Premonition2.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition2.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition2.mp4
echo "Processing File 03/19"
mv SMG019/Content/Movies/Premonitions/Premonition3.mp4 SMG019/Content/Movies/Premonitions/Premonition3.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition3.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition3.mp4
echo "Processing File 04/19"
mv SMG019/Content/Movies/Premonitions/Premonition4.mp4 SMG019/Content/Movies/Premonitions/Premonition4.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition4.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition4.mp4
echo "Processing File 05/19"
mv SMG019/Content/Movies/Premonitions/Premonition5.mp4 SMG019/Content/Movies/Premonitions/Premonition5.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition5.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition5.mp4
echo "Processing File 06/19"
mv SMG019/Content/Movies/Premonitions/Premonition6.mp4 SMG019/Content/Movies/Premonitions/Premonition6.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition6.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition6.mp4
echo "Processing File 07/19"
mv SMG019/Content/Movies/Premonitions/Premonition7.mp4 SMG019/Content/Movies/Premonitions/Premonition7.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition7.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition7.mp4
echo "Processing File 08/19"
mv SMG019/Content/Movies/Premonitions/Premonition8.mp4 SMG019/Content/Movies/Premonitions/Premonition8.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition8.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition8.mp4
echo "Processing File 09/19"
mv SMG019/Content/Movies/Premonitions/Premonition9.mp4 SMG019/Content/Movies/Premonitions/Premonition9.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition9.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition9.mp4
echo "Processing File 10/19"
mv SMG019/Content/Movies/Premonitions/Premonition10.mp4 SMG019/Content/Movies/Premonitions/Premonition10.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition10.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition10.mp4
echo "Processing File 11/19"
mv SMG019/Content/Movies/Premonitions/Premonition11.mp4 SMG019/Content/Movies/Premonitions/Premonition11.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition11.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition11.mp4
echo "Processing File 12/19"
mv SMG019/Content/Movies/Premonitions/Premonition12.mp4 SMG019/Content/Movies/Premonitions/Premonition12.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition12.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition12.mp4
echo "Processing File 13/19"
mv SMG019/Content/Movies/Premonitions/Premonition13.mp4 SMG019/Content/Movies/Premonitions/Premonition13.bak
xxd -s 0x10 SMG019/Content/Movies/Premonitions/Premonition13.bak | xxd -r -s -0x10 > SMG019/Content/Movies/Premonitions/Premonition13.mp4
echo "Processing File 14/19" "Have patience the following ones are big"
mv SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature1.mp4 SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature1.bak
xxd -s 0x10 SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature1.bak | xxd -r -s -0x10 > SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature1.mp4
echo "Processing File 15/19"
mv SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature2.mp4 SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature2.bak
xxd -s 0x10 SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature2.bak | xxd -r -s -0x10 > SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature2.mp4
echo "Processing File 16/19"
mv SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature3.mp4 SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature3.bak
xxd -s 0x10 SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature3.bak | xxd -r -s -0x10 > SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature3.mp4
echo "Processing File 17/19"
mv SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature4.mp4 SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature4.bak
xxd -s 0x10 SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature4.bak | xxd -r -s -0x10 > SMG019/Content/Movies/SpecialFeatures_forcechunk1/SpecialFeature4.mp4
echo "Processing File 18/19"
mv SMG019/Content/Movies/TrialVersion/MoMTrialTeaser.mp4 SMG019/Content/Movies/TrialVersion/MoMTrialTeaser.bak
xxd -s 0x10 SMG019/Content/Movies/TrialVersion/MoMTrialTeaser.bak | xxd -r -s -0x10 > SMG019/Content/Movies/TrialVersion/MoMTrialTeaser.mp4
echo "Processing File 19/19"
mv SMG019/Content/Movies/CuratorIntro/CuratorIntro.mp4 SMG019/Content/Movies/CuratorIntro/CuratorIntro.bak
xxd -s 0x10 SMG019/Content/Movies/CuratorIntro/CuratorIntro.bak | xxd -r -s -0x10 > SMG019/Content/Movies/CuratorIntro/CuratorIntro.mp4
echo "Great Success! Job Completed"
@AwesamLinux
Copy link
Author

Additionally if you use a CPU with more than 8 cores you have to set a Steam launch option to limit the number of cores/threads used (otherwise the game crashes). See https://github.com/z0z0z/mf-install/issues/44

@bestlinuxgamers
Copy link

Also make sure that vim-common is installed.

@AwesamLinux
Copy link
Author

Note: This fix is no longer necessary and should not be used with version v1.19 or later of the game!

Only keeping this up for legacy purposes for those that preferred the older version of the game.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment