ValveSoftware / Proton

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

Cloudberry Kingdom (210870) #1360

Open kadogo opened 6 years ago

kadogo commented 6 years ago

Compatibility Report

System Information

https://gist.github.com/kadogo/a72b612e48ede28a5bd7495b268de99d

I not specify DRI_PRME=1 but just in case this is my AMD card.

0a:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Topaz PRO [Radeon R5 M255]

I confirm:

steam-210870.log

Symptoms

Steam complain about xna4 installation. After that the setup continue but the game doesn't launch. (no blackscreen, no sound, nothing).

Reproduction

kadogo commented 6 years ago

@kisak-valve

I tried again with Proton 3.16-3 and this time it's a little different.

  1. I install the game through steam
  2. When I launch the game, steam complain about net framework 4 that failed to installl
  3. As workaround I install it through winetricks
export WINEPREFIX=~/.steam/steam/steamapps/compatdata/210870/pfx
winetricks dotnet40
  1. I relaunch the game in steam again
  2. Steam will complain about dxsetup.exe (unable to find a version of the runtime to run this application)
  3. I relaunch the game 1 or 2 times and at end I have no more errors and the game is working

To use my xbox controller i must DISABLE the Xbox mode in Steam The game is not in fullscreen but I think it's because my desktop The game look working pretty well, maybe a little slow but I think it's the same on Windows

Cheers.

flibitijibibo commented 5 years ago

This one works with gamepad input right up until it looks for the username, which it crashes within a Steamworks API call.

steam-210870.log

madewokherd commented 5 years ago

SteamWrapper.dll is a mixed, probably C++/CLI dll, and it's possible we're translating its calls into steamworks incorrectly. It'd be worth testing if native .NET crashes in the same way.

wantija commented 4 years ago

Fullscreen doesn't work (KDE Plasma) and the game has no audio. The files in the Music directory are .wma and Videos are .wmv, could be an issue with needing to install Windows Media Player for playback or mfplat? I only installed dotnet40 to get the game running. steam-210870.log

kisak-valve commented 4 years ago

Hello @wantija, Missing decoder: Advanced Streaming Format (ASF) (video/x-ms-asf) looks like a line of interest from the log.

madewokherd commented 3 years ago

With current wine-mono I get a ContentLoadException

[ERROR] FATAL UNHANDLED EXCEPTION: Microsoft.Xna.Framework.Content.ContentLoadException: Exception of type 'Microsoft.Xna.Framework.Content.ContentLoadException' was thrown.
  at Microsoft.Xna.Framework.Content.SongReader.Read (Microsoft.Xna.Framework.Content.ContentReader input, Microsoft.Xna.Framework.Media.Song existingInstance) [0x00047] in <5754b4e389e74ac2b3022f65f14d8a46>:0 
  at Microsoft.Xna.Framework.Content.ContentTypeReader`1[T].Read (Microsoft.Xna.Framework.Content.ContentReader input, System.Object existingInstance) [0x00006] in <5754b4e389e74ac2b3022f65f14d8a46>:0 

https://github.com/madewokherd/FNA/pull/4 might be relevant.

It seems the FAudio commit it depends on has been merged, I should probably try it out and see if we can include it.

madewokherd commented 3 years ago

Merging that PR helped, but the game is unplayable due to constant hitching.

madewokherd commented 3 years ago

Setting GC_DONT_GC=1 doesn't change that, so I don't think it's GC pauses.

madewokherd commented 3 years ago

It seems these hitches occur when a new .wma audio track is loaded. The loading occurs synchronously on the main thread during Game.Tick. Unfortunately, this happens even with game music set to 0 volume, so that's not a work-around.

The time between tracks is very short, I'm guessing this is because we don't have transcoded versions of these files yet.

madewokherd commented 3 years ago

I think it's because we don't have transcoded versions of the files. After running the script from https://gist.github.com/flibitijibibo/c97bc14aab04b1277d8ef5e97fc9aeff there's no hitching even when changing tracks.

madewokherd commented 3 years ago

This is with Wine Mono/FNA of course. I'm not sure if Wine Mono 6.3.0 is good enough after running that script, or if there's something needed in the develop branch.

SeongGino commented 2 years ago

Using current Proton Experimental, Cloudberry Kingdom works fine in the actual game, but out-of-the-box the videos play w/ no audio (but at the correct framerate) and the music doesn't work.

Using the script as per @madewokherd's link above, the converted music plays in-game now but the transcoded videos play much faster than they should and have bad (lagging?) audio. The new files produced by the script play just fine/on-par with the original .WMVs on a separate media player, and said original files themselves (as in the video track exclusively) play at the correct speed in-game, so I guess it's FNA's handling of the ogv format that's the problem?

At least for me, having in-game audio was more important than the story cuts, so apart from the need of user intervention to get the right files, it's still a good experience roughly on-par with Windows.

Haven't tried MP, but leaderboards work.

EDIT: Seems to crash if a controller disconnects mid-game?