ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.34k stars 1.02k forks source link

Stealth Inc 2 (329380) #1128

Open cobblestone opened 5 years ago

cobblestone commented 5 years ago

This game has a Pre-launch screen for Controller/Resolution selection. This Pre-launch screen works fine. Once the game is launch the entire screen turns black, however the music of the game runs fine and using the arrow keys you can hear that the menu options can be selected. So it seems too be running but the screen is completely black.

Let me know if further information is required. Thanks

Game Name: Stealth Inc 2 Steam Game id: 329380 Proton version: 3.7-3 System Infomration: https://gist.github.com/cobblestone/f1e00a8bc66f8ca73fd8debd72d447e7 Logs attached using different "Proton" user_settings.py:
steam-329380_default_user_settings.log steam-329380_PROTON_NO_D3D11.log steam-329380_PROTON_USE_WINED3D11.log

rafaelgomesxyz commented 5 years ago

I got it to work. It was as simple as installing the software that comes with the game (that Steam should be installing when first running the game, but isn't).

Here's the list of commands I used:

WINEPREFIX=~/.local/share/Steam/steamapps/compatdata/329380/pfx wine _CommonRedist/DirectX/Jun2010/DXSetup.exe
WINEPREFIX=~/.local/share/Steam/steamapps/compatdata/329380/pfx wine _CommonRedist/OpenAL/2.0.7.0/oalinst.exe 
rafaelgomesxyz commented 5 years ago

Actually, the menu works, but the game is still a black screen.

rafaelgomesxyz commented 5 years ago

I think this is related to OpenAL. I've copied several OpenAL32.dll files from other places and pasted them into ~/.steam/steam/steamapps/common/Stealth Inc 2, and each one resulted in something different (sometimes the game doesn't start at all, sometimes the black screen appears after the initial logo, sometimes the black screen appears only when starting the game from the menu).

lucifertdark commented 5 years ago

Proton 4.2-3, I just get instant ctd. steam-329380.log

NoXPhasma commented 5 years ago

With Proton 4.2-3 the Launcher and game starts up. it shows the first two intro videos and then it ends in a black screen.

Log: steam-329380.log Sysinfo: https://gist.github.com/NoXPhasma/f842039588ff89403b66abae978a4882

MadByteDE commented 4 years ago

I got it working 100% on my system (Proton 4.2-9). Had to install DirectSound libraries: WINEPREFIX=path_to_your_game_prefix winetricks dsound Make sure to NOT use "PROTON_NO_D3D11". This caused that assets won't render correctly. Just let DXVK do it's job. @kisak-valve might suggest to add this dependency to the game's installation script in Proton to make it (potentially) work out-of-the-box for ppl?

lucifertdark commented 4 years ago

Proton 4.2-9 here as well, I can confirm adding dsound fixes the game. :) Thanks for the tip MadByteDE. :)

NoXPhasma commented 4 years ago

I can confirm that after installing dsound the game works fine, thanks for the tip @MadByteDE!

cobblestone commented 4 years ago

I also manage to get it working following the tips of @MadByteDE! , Thanks. This are the steps that I've followed:

1 - Install winetricks typing in the command line: sudo apt install winetricks Screenshot_2019-07-25_17-10-44

2 - Run winetricks in the command line to install the DirectSound libraries: WINEPREFIX='(Steam-folder)/steamapps/compatdata/(GAME-ID)/pfx/' winetricks You have to modify the command to match your personal 'Steam folder' and the 'GAME-ID'. Example: WINEPREFIX='/home/cobblestone/.steam/steam/steamapps/compatdata/329380/pfx/' winetricks

Screenshot_2019-07-25_17-18-43

3 - Select Install a windows dll or component > dsound

Screenshot_2019-07-25_17-04-02

4 - Open Steam > Stealth Inc2 Properties > SET LAUNCH OPTIONS and type PROTON_USE_WINED3D=1 %command% Screenshot_2019-07-25_17-02-56 5 - Enjoy the game

System Info: Proton 4.2-9 - Xubuntu 18.04

cobblestone commented 4 years ago

@kisak-valve Does anybody know how to proceed now?. The game works fine but needs :

kisak-valve commented 4 years ago

Hello @cobblestone, the way to move forward is to figure out what's causing trouble with wine's builtin dsound. After that works out of the box, you can make a request here to convert this issue report to a whitelist request.

As for PROTON_USE_WINED3D, that's needed for you because Intel Sandybridge does not support Vulkan. You'll need to use that with Proton and any game that has DirectX translated to Vulkan. It is not a game issue.

cobblestone commented 4 years ago

Hi @kisak-valve Thanks for the answer. Unfortunately debugging wine is far beyond my capabilities. So I will leave it here, for someone else to take over. If anything else is needed, please let me know.

MadByteDE commented 2 years ago

Just a quick update, the game appears to run flawlessly now with Proton 6.3-5 (dsound issue seems to be fixed). Only small issue is that my DS4 Controller won't work in-game.