Proton icon indicating copy to clipboard operation
Proton copied to clipboard

COTTON REBOOT! (1656820)

Open opal1974 opened this issue 4 years ago • 6 comments

Compatibility Report

  • Name of the game with compatibility issues: COTTON REBOOT!
  • Steam AppID of the game: 1656820

System Information

  • GPU: GTX 1660
  • Driver/LLVM version: 470.86
  • Kernel version: 5.4.0-91
  • Link to full system information report as Gist:
  • Proton version: 6.3-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.

Symptoms

Game installs, does nothing on load. Crashes to desktop. Does this in both the 6xx release and the experimental builds of proton.

steam-1656820.log

Reproduction

opal1974 avatar Dec 27 '21 17:12 opal1974

Hello @opal1974, err:module:import_dll Library api-ms-win-shcore-stream-winrt-l1-1-0.dll (which is needed by L"Z:\\home\\user\\.local\\share\\Steam\\steamapps\\common\\Cotton Reboot\\cotton_reboot.exe") not found in your log points towards needing at least https://source.winehq.org/git/wine.git/commit/7f7fdd6c8657ebe4079c9f959bbfba508a2d1680, which is in wine 6.6 and newer.

After that is err:module:import_dll Library vccorlib140.DLL (which is needed by L"Z:\\home\\user\\.local\\share\\Steam\\steamapps\\common\\Cotton Reboot\\cotton_reboot.exe") not found which will need more developer attention.

kisak-valve avatar Dec 27 '21 17:12 kisak-valve

Hello @opal1974, err:module:import_dll Library api-ms-win-shcore-stream-winrt-l1-1-0.dll (which is needed by L"Z:\\home\\user\\.local\\share\\Steam\\steamapps\\common\\Cotton Reboot\\cotton_reboot.exe") not found in your log points towards needing at least https://source.winehq.org/git/wine.git/commit/7f7fdd6c8657ebe4079c9f959bbfba508a2d1680, which is in wine 6.6 and newer.

After that is err:module:import_dll Library vccorlib140.DLL (which is needed by L"Z:\\home\\user\\.local\\share\\Steam\\steamapps\\common\\Cotton Reboot\\cotton_reboot.exe") not found which will need more developer attention.

I used Winetricks to add the missing vccorlib140.DLL via installing the VCRUN2019 package, and I now can see the title screen. The game then crashes with the error given in the log (perhaps a stub is needed from Wine?):

seems to be something to do with the error: Unhandled exception: unimplemented function api-ms-win-shcore-stream-winrt-l1-1-0.dllCreateRandomAccessStreamOnFile called in 64-bit code (0x0000000170032048).

BigPrimeNumbers avatar Sep 17 '22 06:09 BigPrimeNumbers

Has anyone had any luck with this? When I try with SteamTinkerLaunch to run with VCrun2017 I get a splash screen about how naughty it is download things illegally and then it crashes to desktop. Is Proton triggering some kind of false flag anti-piracy thing?

lborl avatar May 24 '23 18:05 lborl

The crash is due to a stub for CreateRandomAccessStreamOnFile. Creating a stub that just returns nothing useful just hangs on a black screen at another stub for MFCreateMFByteStreamOnStreamEx.

jesus-ramos avatar Jul 09 '23 09:07 jesus-ramos

It's kind of a shame that they didn't use SHCreateStreamOnFileEx() and MFCreateMFByteStreamOnStream() to get the MFByteStream since the RandomAccessStream wasn't used for anything else and those functions were actually implemented.

I did get the game working (other than the publisher intro video) by loading my own code in and overwriting the stubbed functions to basically call those functions. Not useful for implementing Proton functionality but it's here if you want to play with it.

Graham--M avatar Aug 11 '24 21:08 Graham--M

Implemented SHCreateStreamOnFileEx(). (Part of windows.storage development for WineCoreUAP)

https://github.com/Weather-OS/WineCoreUAP/commit/318d3b8ecb036f04dcf6365235ac1c123dbafb1c#diff-f59ec7239141790c95dd0ea25a54dcb5e457dc2777992ec08d531186bc1d227bR2564

Weather-OS avatar Apr 30 '25 18:04 Weather-OS