ValveSoftware / Proton

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

Defy Gravity (96100) #2733

Open Newbytee opened 5 years ago

Newbytee commented 5 years ago

Compatibility Report

System Information

I confirm:

Symptoms

My Steam status suggests that I'm playing the game for a few seconds, only to go back to "Online" after they have passed. No window appears. It also attempts to install .NET every time you launch it.

Reproduction

  1. Start the game
  2. Observe nothing

steam-96100.log

madewokherd commented 3 years ago

Apparently, this will start now in Wine Mono, if you have it load the xna3 redist that ships with the game. This can be done by setting WINE_MONO_OVERRIDES=Microsoft.Xna.Framework.*,Gac=y.

By default we do WINE_MONO_OVERRIDES=Microsoft.Xna.Framework.*,Gac=n. That's still in the Proton script even though it isn't really needed, and in Wine itself. I should probably update that to only apply to version 4.0 (which is going to require some new syntax) so xna3 games can work by default.

waspennator commented 1 year ago

Tested on the latest build of experimental on my Steam Deck. The game seems to start up alright and goes through the intro stuff fine. But once you get to the part with the two doors labeled new game or continue and try to go through the door labeled new game, it seems to silently hang and I have to manually abort the game. steam-96100.log

I also checked through my log and noticed this right near the end of it.

"Unhandled Exception: System.InvalidOperationException: Song playback failed. Please verify that the song is not DRM protected. DRM protected songs are not supported for creator games. ---> System.ArgumentException: Value does not fall within the expected range."

Checking the community hub, one of the threads posted by the dev mentions adding "-nomusic" and that seems to allow the deck to get past the initial crash and actually get into the first level. Though it comes at the cost of making the proceeding levels silent. I tested this game out on my windows laptop too and its capable of getting into the first level without the "-nomusic" option for the command line.

waspennator commented 12 months ago

Retested on oled deck and it seems to have regressed enough that I can't boot it on my oled deck using experimental, 8.0-4 or even 7.0-6, I'm also guessing the crash when going into the new game door is still there.

steam-96100.log.txt

madewokherd commented 12 months ago

Thanks for the retest. It's because Mono ignores the SkipVerification flag on assemblies installed to the GAC, and in previous versions Mono wasn't able to tell that XNA was installed to the GAC.

I can't find any evidence that this behavior matches Windows, so I'm going to disable it for the next Wine Mono release.

I tested going into the door, and that exception is still there. There's also a fixme that looks relevant:

876851.800:0134:0184:fixme:wmp:WMPPlaylist_appendItem (045378F0)->(04096200)
waspennator commented 12 months ago

Gotcha, I will reiterate that the door crash seems to have something to do with the music, If you turn it off by using the command listed in my earlier post, the first level (and I'm assuming the rest of the game) works, albeit silently.

I'm guessing it's probably whats causing the game to be marked as unsupported on deck aside from the recent crash on launch regression

waspennator commented 9 months ago

Game is no longer crashing on proton Experimental now that a newer version of wine mono has been pulled in. Still needs "-nomusic" to avoid crashing when starting a new game.