protonscr

Emergency 2 won't play video files

protonopen appid 977840Game compatibility - Unofficial
ValveSoftware/Proton#2155 · opened 2018-12-29 by ghost · updated 2018-12-29 · 4 comments · github · game page · search this game
?ghost 2018-12-29 github

Compatibility Report

  • Emergency 2
  • AppID: 977840

System Information

  • GPU: AMD RX 570
  • Driver/LLVM version: Mesa 18.3.1/LLVM 7.0.0
  • Kernel version: 4.19.12
  • Gist
  • Proton version: 3.7-8

I confirm:

  • [x] that I haven't found an existing compatibility report for this game.
  • [x] that I have checked whether there are updates for my system available.

steam-977840.log

Symptoms

Game launches but video files aren't played back. The video files are supposed to be played before accidents/incidents happen and give the player an idea on how the accident/incident happened

Reproduction

Start game, start a new game, get your first incident assigned (happens automatically), save the game exit the game and start it again, open the loading menu, select your saved game, click 'Video abspielen' -> Window goes black for a split second, then back to normal but no video is played.

Further information

The videos are stored in a subfolder called 'Videos' and are .avi files, codec is MPEG-4 simple profile that can be played back with VLC or totem without issue. The game is in german, I'm not sure if there is an english version. I can translate buttons if neccessary, but using Google translate or something similar is sufficient to reproduce this issue (IMO).

Kkisak-valve maintainer 2018-12-29 github

err:msvideo:ICLocate Required media codec 'vidc FMP4' not found! from the log appears relevant.

?ghost 2018-12-29 github

Weird. Just to be safe I installed all gst plugins but that didn't help. Then I edited the proton script and addad '+msvideo' to get more informations about the error and got this:

7103.260:0008:0009:trace:msvideo:ICOpen => 0x1b
7103.260:0008:0009:trace:msvideo:MSVIDEO_SendMessage (0x2650b98,ICM_DECOMPRESS_QUERY,0x02652068,0x00000000)
7103.260:0008:0009:trace:msvideo:MSVIDEO_SendMessage    -> ICERR_BADFORMAT
7103.260:0008:0009:trace:msvideo:ICClose (0x1b)

After that iccvid.dll is being unloaded and then the error you found appears.

?ghost 2018-12-29 github

I installed 'allcodecs' via winetricks which resulted in the error disappearing. However, now the game quits shortly after starting and before showing the main menu.

Logfile attached. I switched the WINEDEBUG stuff to "+timestamp,+pid,+tid,+seh,+debugstr,+module,+msvideo,fixme+quartz"
steam-977840.log

?ghost 2018-12-29 github

Installing quartz via winetricks allows the game to start again, but now I'm getting these everytime I try to play a video (and it doesn't play, behaviour is the same as before):

17280.647:0008:0031:warn:d3d:context_set_pixel_format Failed to set pixel format 5 on device context 0x26004b, last error 0.
17280.647:0008:0031:err:d3d:context_create Failed to set pixel format 5 on device context 0x26004b.
17280.647:0008:0031:warn:d3d:context_release Context 0x4c54f28 is not the current context.
17280.647:0008:0031:warn:d3d:context_set_pixel_format Failed to set pixel format 5 on device context 0x26004b, last error 0.
17280.647:0008:0031:err:d3d:context_create Failed to set pixel format 5 on device context 0x26004b.
17280.647:0008:0031:warn:d3d:context_release Context 0x4c54f28 is not the current context.
17280.647:0008:0031:warn:d3d:context_set_pixel_format Failed to set pixel format 5 on device context 0x26004b, last error 0.
17280.647:0008:0031:err:d3d:context_create Failed to set pixel format 5 on device context 0x26004b.
17280.647:0008:0031:warn:d3d:context_release Context 0x4c54f28 is not the current context.
17280.647:0008:0031:warn:d3d:context_set_pixel_format Failed to set pixel format 5 on device context 0x26004b, last error 0.
17280.647:0008:0031:err:d3d:context_create Failed to set pixel format 5 on device context 0x26004b.
17280.647:0008:0031:warn:d3d:context_release Context 0x4c54f28 is not the current context.
17280.648:0008:0031:warn:d3d:context_set_pixel_format Failed to set pixel format 5 on device context 0x26004b, last error 0.
17280.648:0008:0031:err:d3d:context_create Failed to set pixel format 5 on device context 0x26004b.
17280.648:0008:0031:warn:d3d:context_release Context 0x4c54f28 is not the current context.
17280.648:0008:0031:warn:d3d:wined3d_swapchain_cs_init Failed to create context.

Launch options

DLLs