Had to get latest https://github.com/z0z0z/mf-install via wayback machine as repo is deleted
Needed to use on-screen keyboard to quit the game
Steve Fox's report was most helpful. If you've tried running the game before, switch to desktop mode and delete the compatdata folder. Then force Proton 5.0-10 and run again to recreate the folder. Quit the game via the steam overlay. Download the mf-install script from the wayback machine's archive of https://github.com/z0z0z/mf-install and extract (I used the latest master). Open the desktop mode terminal, cd to the extracted mf-install location and run WINEPREFIX=/home/deck/.local/share/Steam/steamapps/compatdata/64320/pfx PROTON=/home/deck/.local/share/Steam/steamapps/common/Proton\ 5.0 ./mf-install.sh -proton
If you have installed this game using anything but 5.0-10 then you will need to delete the compatdata folder for this game (steam/steamapps/compatdata/643620). Change to 5.0-10 and try to play again and it will install the correct version and launch the game. Quit the game using Q on the keyboard. Then you can use and install the media foundation files properly. goto https://github.com/z0z0z/mf-install and then click on the green code button and select download zip. unzip the files and enter that directory using the command line interface. command is "WINEPREFIX=/home/$username/.local/share/Steam/steamapps/compatdata/643620/pfx ./mf-install.sh" change $username with your username and no quotes. it will say all is good and might even ask to install stuff using wine, click yes of course if asked. Once done rerun the game.
Yeah, use `z0z0z/mf-install/23bfef34e2a1bf735b21b444ed6f1da61a03f2ae` and select __proton-5__ and you're fine
use 23bfef34e2a commit for z0z0z / mf-install
Most videos look awful, some don't even show up.
Sometimes videos will show up desaturated and with a green bar at the bottom. Some only play sound and are all glitched. This is an FMV game, so being that it's a hit or miss whether videos will play correctly or not makes it unplayable through Proton.
This used to work with some tinkering
Some videos no longer play. Others have a green bar at the bottom of screen now
Some videos do not play and a green bar is on the rest
Game used to run great. Now it links to mf files in the 6.0 proton directory. Those do not work. That also stops the mf-installer from running. Manually copying or removing the files linked allows mf-install to run properly. However, there are then problems with it still.
(Proton-7.0rc2-GE-1)[https://github.com/GloriousEggroll/proton-ge-custom]
The game audio and menus play fine, but the FMV game videos are heavily distorted, which makes the game virtually unplayable, as it relies on video playback.
Video heavily distorted, image artifacts
Crackled a lot, but that's likely a result of my hardware, and not Proton.
You MUST install the Media Foundation DLLs. Using the current versions will not work. You must use the version from commit 23bfef34e2a1bf735b21b444ed6f1da61a03f2ae. Once acquired, use the following command:
WINEPREFIX=/home//.local/share/Steam/steamapps/compatdata/643620/pfx ./mf-install.sh
If you do not do this, you will just get a black screen.
Oh, and also use Proton 5.0.
Basically perfect.
Crackled a lot but that's likely a result of the game not running at full speed because of my hardware.
Wouldn't go past the controller select screen, even after installing the media foundation DLLs.
Install the game via Steam. It will just reach a black screen after install until you do the following.
Download the mf-install files here: https://github.com/z0z0z/mf-install
Extract those files to a new folder. Then open that directory up in the terminal and run this command:
WINEPREFIX="/home//.local/share/Steam/steamapps/compatdata/643620/pfx" ./mf-install.sh
In the above command, you have to replace the 'YOUR USERNAME' portion with your actual linux username. You also need to make sure that the above directory is your Steam directory for Night Trap.
If the command works, it should have several lines in the terminal saying "The operation completed successfully" (among other messages). You have now installed the appropriate DLL files and registry updates needed to run the game. It should go beyond the black screen now and work just like in Windows!
I had two separate problems to overcome, before I could launch the game.
- Problem: I had some issues with Vulkan (I have integrated video card, maybe that's relevant). Logs:
GfxDevice: creating device client; threaded=1
info: Game: NT25.exe
info: DXVK: v0.94-18-g3b3ccc8
warn: OpenVR: Failed to initialize OpenVR
info: Required Vulkan extension VK_KHR_get_physical_device_properties2 not supported
info: Required Vulkan extension VK_KHR_surface not supported
info: Required Vulkan extension VK_KHR_win32_surface not supported
err: DxvkInstance: Failed to create instance
Crash!!!
Fix: That was fixed by setting PROTON_USE_WINED3D=1
- Problem: After selecting control layout screen goes black and nothing happens. This situation is exactly the same as described in https://github.com/ValveSoftware/Proton/issues/1102 .
Fix: I followed steps described in comment https://github.com/ValveSoftware/Proton/issues/1102#issuecomment-419678627 . I had to use my Windows 7 installation to:
Copy required Windows Media Foundations dlls (I've copied them directly into ~/.steam/steam/steamapps/compatdata/643620/pfx/drive_c/windows/system32/ overwriting dummy dlls that were there)
Copy all registry keys under "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation". I used hivexregedit to export registry so I don't have to boot Windows (but original Windows's regedit should work too). For the reference shell command is:
hivexregedit --export --prefix 'HKEY_LOCAL_MACHINE\Software' SOFTWARE 'Microsoft\Windows Media Foundation' > wmf.reg
, where SOFTWARE is the file from Windows/System32/config/SOFTWARE.
Result: Everything seems to work smoothly so far: graphic, sound, controls. No performance issues. All game mechanics works as it should. No glitches or artifacts found so far.
won't go past control screen
Loads, allows you to choose the control type, then goes to a black screen