Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obduction has no in-game video playback (306760) #327

Open
ghost opened this issue Aug 23, 2018 · 15 comments
Open

Obduction has no in-game video playback (306760) #327

ghost opened this issue Aug 23, 2018 · 15 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@ghost
Copy link

ghost commented Aug 23, 2018

Obduction uses Windows Media Foundation to play in-game videos (example package needed for Windows N: https://www.microsoft.com/en-us/software-download/mediafeaturepack). This is how the game is built. Videos are attached to buttons, other in-game moments.

Winetricks has old (32bit arch) wmp9, 10 and its possible to get wmp11 (for WinXP) installed, but any things else of Windows Media cannot be.

Also, unable to install .msu files (what Microsoft currently uses for their Windows Media installers) despite Wine supposedly being able to use .msu (bad exe error).

"Windows Media Foundation (WMF) handles standard audio/video playback and recording on the Windows Platform"
https://docs.unrealengine.com/en-US/Engine/MediaFramework/TechReference

23449.621:0032:0033:trace:module:load_builtin_dll Trying built-in L"mfplay.dll"
23449.621:0032:0033:warn:module:load_builtin_dll cannot open .so lib for builtin L"mfplay.dll": /home/user/.local/share/Steam/steamapps/common/Proton 3.7 Beta/dist/lib/wine/mfplay.dll.so: cannot open shared object file: No such file or directory
23449.621:0032:0033:warn:module:load_dll Failed to load module L"mfplay.dll"; status=c0000135

https://docs.microsoft.com/en-us/windows/desktop/medfound/using-mfplay-for-audio-video-playback

There are no workarounds here as to what I have found. As a result, Proton/Wine needs a fix here or Obduction needs a change.

So, this one I'm putting in the 'needs a fix but might never be or 10 years later' bin.

@kisak-valve kisak-valve changed the title Obduction [No Videos - Needs Windows Media Player 12] Obduction [No Videos - Needs Windows Media Player 12] (306760) Aug 23, 2018
@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Aug 23, 2018
@kisak-valve
Copy link
Member

Obduction [VR] (306760)

Issue transferred from #615.
@vpelletier posted on 2018-08-26T01:45:30:

Debian sid
Linux 4.17.17
CPU i7-6700
GPU GTX 1060@6GB
Nvidia 396.51
Proton 3.7-4
Vive pro

  • Main menu is not displayed in headset (only background - the asteroid field and planets in the distance). When removing headset, menu appears on screen and is functional, allowing to start a game.
  • Sound goes through speakers instead of headset (although this is more a general issue with VR on linux).
  • Sound in menu is choppy, but is fine once a game is started.
  • In-game menu does not appear in headset nor on screen.

@vpelletier
Copy link

In addition to #615, transferred here: Steam - System Information

@ghost ghost changed the title Obduction [No Videos - Needs Windows Media Player 12] (306760) Obduction has no in-game video playback (306760) Sep 9, 2018
@ghost
Copy link
Author

ghost commented Sep 9, 2018

OP: Made some clarifications

@Ahmed-E-86
Copy link

A possible fix for the game:
doitsujin/dxvk#728 (comment)

@GabMus
Copy link

GabMus commented Feb 13, 2019

@ahmed-elsayed2017 did you try this yourself? I just tried, but FMVs still don't work

@Ahmed-E-86
Copy link

@ahmed-elsayed2017 did you try this yourself? I just tried, but FMVs still don't work

I didn't try it with this game. Some games needs other dlls from Windows and registery keys, look at this comment for more details: #1102 (comment)

@Ahmed-E-86
Copy link

Or you can just delete the video files or change their size to 0B, and the game will skip it.

@ghost
Copy link
Author

ghost commented Mar 25, 2019

A possible fix for the game:
doitsujin/dxvk#728 (comment)

I'm impressed but tried it and just couldn't get anything to work here. I just don't think anything available at this time will work here and that it requires what wine cannot do.

@greyfade
Copy link

greyfade commented Apr 1, 2019

Or you can just delete the video files or change their size to 0B, and the game will skip it.

That's not really a solution for Obduction. These videos are critical for gameplay and story, as they include direction and hints for puzzles, which are otherwise unsolvable.

@ghost
Copy link
Author

ghost commented May 11, 2019

Wine added an mfplay.dll stub to 4.8. I don't think it will work here but it might be the closest thing its ever had toward this.

https://github.com/wine-mirror/wine/tree/master/dlls/mfplay
https://bugs.winehq.org/show_bug.cgi?id=47016
"47016 MS Office 365 installer needs mfplay.dll.MFPCreateMediaPlayer"

Technically, should be able to take that stub and implement for Obduction should it not work as-is as they have a foundation there for mfplay.dll. I probably won't but who knows who will :-)

With the standard Proton log I don't see any specific function call for mfplay (just that it cannot find it ever). So it will be interesting to see if or how the log changes starting with Proton 4.8 - it should change if it finds mfplay.dll though (I don't see why it wouldn't). But the MFPCreateMediaPlayer() is definitely a function to play videos https://docs.microsoft.com/en-us/windows/desktop/medfound/getting-started-with-mfplay

@ghost
Copy link
Author

ghost commented Jun 10, 2019

Another fix for Obduction with reference to video (looks like for intro vids) added to Wine 4.10 https://bugs.winehq.org/show_bug.cgi?id=46723

(They have a couple or so other Obduction fixes in 4.10 as well.)

@debiangamer
Copy link

The game works somehow with wine-staging 4.10 and dxvk. Press ESC to start the game and skip the intro video. Holographic messages needs media player stuff so you can not progress in the game. You can run freely in the game world but nothing else.

@Neodamode
Copy link

Neodamode commented Jun 11, 2019

Intro and in-game videos work fine with Wine 4.9/4.10 after:

  1. Installing this(Link removed by moderator) Media Foundation workaround.
  2. Copying colorcnv.dll from a Windows installation to the system32 folder of the wineprefix and registering it: wine64 regsvr32 colorcnv.dll.

@kisak-valve
Copy link
Member

Hello @Neodamode, the link to the workaround you suggested is legally problematic and has been removed.

@ghost
Copy link
Author

ghost commented Jul 31, 2019

Interesting, so with 4.11-1 now nothing at all shows up in the default proton log when using a button in-game that causes video to play. Expected a fixme at the very least :-)P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests

7 participants