ValveSoftware / Proton

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

Castlevania Advance Collection (1552550) #5177

Open Retroguru924 opened 3 years ago

Retroguru924 commented 3 years ago

Compatibility Report

System Information

I confirm:

steam-1552550.log

Symptoms

I've tested the game on both Windows and Linux. Windows works fine, but I have run into problems when using Linux via steam play with proton experimental. I can start the game OK, but when selecting any game in the collection I receive the following error messages in a loop; !noticemsg__confirm_nospace_storage & !noticemsg_confirm_save_failed, causing all of the games to be unplayable. This also happens when changing the games language and initially happened once when I first started the game. My storage space is fine so I know this is in error, at the time of writing I have 18.7 GiB free as reported via dolphin file explorer. All my other games work fine via proton, so I'm guessing its having problems since it just came out and is unoptimized for it? I did also try every other proton version available and it either ran with the following errors as described above or just plain didn't start.

Adv collection Error 1 Adv collection Error 2

Reproduction

Method 1 - Start the game and make a selection Method 2 - Start the game and change to another language Method 3 - May happen when running the game for the first time

kisak-valve commented 3 years ago

Hello @Retroguru924, warn:debugstr:OutputDebugStringA "AutoSaveCore failed\n" looks like a relevant line from your log, but I'm not seeing any hints near the log message that would help a Proton dev troubleshoot why the game's autosave subsystem is having a hard time.

aquova commented 3 years ago

It might be worth noting that the other Castlevania collection game on Steam seems to have a similar issue - https://github.com/ValveSoftware/Proton/issues/2786#issuecomment-521843139

FloFluoro commented 3 years ago

This issue also occurs in Contra Anniversary Collection, another collection made by the same developers - https://github.com/ValveSoftware/Proton/issues/3369#issue-543063973

mikeant42 commented 2 years ago

I'm having the same issue, running ubuntu 20.04 with a 5700xt gpu and 3600 cpu. I've tried out different proton versions, all my GE versions, and different launch options obviously to no avail. Hopefully my log can help.

steam-1552550.log

Hope a fix is possible.

hogehoge61 commented 2 years ago

Strangely enough, in my environment where the locale is set to Japanese (ja_JP.UTF-8), I can't even start it without adding "LANG=C %command%" to the startup options. (The process will be killed). This behavior does not occur in Castlevania Anniversary Collection (1018010). In addition, after starting with LANG=C, I have the exact same storage error problem as reported elsewhere.

Log: steam-1552550.log

IanTrudel commented 2 years ago

Did anyone try to copy the save files created from Windows onto a Linux/Proton installation? Any luck?

hogehoge61 commented 2 years ago

Did anyone try to copy the save files created from Windows onto a Linux/Proton installation? Any luck?

The entity of the configuration file created in the Windows environment seems to be in "%APPDATA%\Castlevania Advance Collection\savedata\meta_008_0000.bin".

Then I checked the Wine prefix generated by Steam Play, "[Steam-folder]/steamapps/compatdata/1552550/pfx/drive_c/users/steamuser/AppData/Roaming/~" It appears that the relevant directories and files were not created at all.

Therefore, I tried copying "~/Castlevania Advance Collection\savedata\meta_008_0000.bin" into it, but that did not solve the problem.

Screenshot_-20211001_114249 Screenshot_-20211001_114305

Also, the game progress save file is stored in "[Steam-folder]/userdata/[user-id]/1552550/remote/", which seems to be unaffected by the problem, as the menu screen shows that it is loaded correctly. From this, it appears that all accesses to %APPDATA% are failing.

beltranbot commented 2 years ago

Not really Proton related but I was able to play the game using Litrus with the wine steam runner. These are the instruction to fix a couple of minor audio glitches posted by Nanarchiste in ProtonDB

I’ve been able to launch the game through Lutris (Wine Steam) though. Enable Esync & Reduse PulseAudio Latency through Lutris’ options to fix audio glitches.

IanTrudel commented 2 years ago

The game is indeed working properly on Lutris (Wine Steam) but it should be noted that I wasn't able to get my DS4 controller working.

Soooooo. I'm hoping Proton could do better anytime soon. :)

Raptor85 commented 2 years ago

Added a patch that gets Castlevania Advance collection working here https://github.com/Raptor85/proton-ge-custom/blob/master/patches/game-patches/castlevania-advance-collection.patch

Prevents the looping file issue, doesn't seem to affect any other programs. looks like the core issue is a text replacement not taking place to push the steam directory into the filename, haven't tracked that down but hopefully this will point someone in the right direction.

IanTrudel commented 2 years ago

Added a patch that gets Castlevania Advance collection working here https://github.com/Raptor85/proton-ge-custom/blob/master/patches/game-patches/castlevania-advance-collection.patch

Prevents the looping file issue, doesn't seem to affect any other programs. looks like the core issue is a text replacement not taking place to push the steam directory into the filename, haven't tracked that down but hopefully this will point someone in the right direction.

This fix is working for me

20211020123934_1 .

Raptor85 commented 2 years ago

*workaround, not fix, just want to be clear on that, this doesn't fix the core issue, just allows the broken file path it's trying to write to after failing to get the proper location since the path is perfectly safe on linux(and safely confined in the wine prefix). If the main issue gets fixed you'll need to manually move your save files to the correct location. I haven't had time to test it yet but the way it's set up in lutris seems to imply that the windows version of steam is either setting a reg key or environment variable that's not getting set in proton. I just wanted to make sure the cause of the loop was known and a temp fix was available for anyone who wanted their CV fix while I and others looked into it.

MewMallow commented 2 years ago

I'm having similar issues with both castlevania collections, although I'm on MacOS and am using Crossover. Is there any way to use this patch that way?

Raptor85 commented 2 years ago

I'm not 100% sure, no way for me to really test anything on mac, but the only component I patch in that workaround in WINE, not proton specific, it should work on crossover's version as well. The component this patches is ntdll so you could also potentially use the ntdll files from my compiled version and copy them over, but I have no idea if there's any difference in how mac's version of bsd compiles shared objects so it may or may not work.

https://github.com/Raptor85/proton-ge-custom-workarounds/releases/tag/proton-ge-cw-201021

opal1974 commented 2 years ago

I don't have this game, but since a similar issue with the saving mentioned a bug I opened for Contra Collection, just wanted to mention that seems to have been fixed in multiple games at some point recently (maybe version 7?). Would be worth it for someone to recheck this Castlevania collection.

hogehoge61 commented 2 years ago

I don't have this game, but since a similar issue with the saving mentioned a bug I opened for Contra Collection, just wanted to mention that seems to have been fixed in multiple games at some point recently (maybe version 7?). Would be worth it for someone to recheck this Castlevania collection.

I checked it immediately. It does indeed seem to be working correctly. :) (Proton Experimental / Proton 7.0-1)

Screenshots ![Screenshot_20220227_113110](https://user-images.githubusercontent.com/46648494/155865844-72f7aa2a-d722-4b62-8f3c-c67dccb6eda2.png) ![Screenshot_20220227_113121](https://user-images.githubusercontent.com/46648494/155865843-83b3e637-72ae-4429-832f-17e44aa07896.png) ![Screenshot_20220227_113131](https://user-images.githubusercontent.com/46648494/155865842-3b76be7f-5734-4632-a6a8-b7c016e3ac41.png) ![Screenshot_20220227_113134](https://user-images.githubusercontent.com/46648494/155865841-3ac2c91a-cad2-412b-9431-32f8bbc670fd.png)
77boaz commented 4 weeks ago

I recently went to fire this game up again and it won't launch on any new proton versions.. including GE. The window pops and disappears.. I'm running endeavouros (arch) The interesting thing is I can launch it fine on a cinnamon desktop. The problem is, it won't launch on KDE. KDE is running x11 not Wayland.. Any ideas?

77boaz commented 4 weeks ago

I recently went to fire this game up again and it won't launch on any new proton versions.. including GE. The window pops and disappears.. I'm running endeavouros (arch) The interesting thing is I can launch it fine on a cinnamon desktop. The problem is, it won't launch on KDE. KDE is running x11 not Wayland.. Any ideas?

I found out I needed the lib32-nvidia-utils package. Then it worked!.. If anyone else has this problem