Atmosphere-NX / Atmosphere

Atmosphère is a work-in-progress customized firmware for the Nintendo Switch.
GNU General Public License v2.0
14.41k stars 1.21k forks source link

Save Data corruption while using CFW #675

Closed crisftw closed 4 years ago

crisftw commented 5 years ago

Latest version of Atmosphere causes an issue to a game called Castle Crashers (Not pirated). The game run well. No crashes. The one issue that is being reported around is that after making progress and quitting the application, it will delete character progress. Running OFW, the game will not delete character progress after starting the game up. All this was done on 8.1.0, 9.0.0 and 9.0.1.

SciresM commented 5 years ago

In the future, please use issue templates.

What happens if you enable the experimental save redirection to SD for the game?

xPrinny commented 5 years ago

I'll write a proper report.

Bug Report

In the game Castle Crashers, save data does not get loaded properly after loading or switching profiles in game. (Loading a second profile for a second player works fine.)

What's the issue you encountered?

Save data does not get loaded properly after loading or switching profiles.

How can the issue be reproduced?

Launch the game and load a profile.
Play the game normally, exit to map to save data.
After game is closed and reopened or profile is switched save will not be loaded properly.

Crash Report

N/A

System Firmware Version

8.1.0

Environment?

Additional context?

crisftw commented 5 years ago

My apologies SciresM. I have enabled the experimental save data redirection to the SD but it doesn't seem to work for me. I got support to see if I enabled it properly but it didn't work in the discord server. I also wanted to use older versions of Atmosphere and I only got down to 0.9.1 and nothing worked. Character progress was still deleted

ItsCinnabar commented 5 years ago

For what it's worth, this exact process appears to allow the game to properly save while under atmosphere : https://streamable.com/ptiur https://gbatemp.net/threads/castle-crasher-remastered-player-1-save-issue.548517/#post-8800872

xPrinny commented 5 years ago

For what it's worth, this exact process appears to allow the game to properly save while under atmosphere : https://streamable.com/ptiur https://gbatemp.net/threads/castle-crasher-remastered-player-1-save-issue.548517/#post-8800872

Oh, that's my video. It actually allows it to load properly not save properly. I think I forgot to mention that achievement do get loaded when you pick your profile but not character data while that mini-game somehow makes the data load properly.

Saving does not seem to be the issue, it's loading. You can prove this by playing and saving normally, reload the game with a different profile or swap profile in game, then pick the first profile as player 2 and you can see it loads properly.

crisftw commented 5 years ago

🤔 Well if the game doesn't load properly due to the CFW and it has a solution, then I guess there isn't much SciresM can do as the issue is unknown. But I can tell you by experience that SXOS 2.8 worked fine with this game until you update to 2.9. Its been proven SXOS is using Atmosphere source. I just don't want many other games to bug out because of CFW

ItsCinnabar commented 5 years ago

Just because someone found a work around doesn't mean it can't be fixed atmosphere side. I only posted that to hopefully give a bit of a starting point to the issue, so it can been seen what changes from normal loading vs post workaround loading.

SciresM commented 4 years ago

Is this still a problem?

crisftw commented 4 years ago

@SciresM Yes it is

reminon commented 4 years ago

I'm not understanding the issue you are having. I'm on 9.0.1, with ams 0.10.1, and I've had no save/load issues in either single player or co-op.

crisftw commented 4 years ago

I'm not understanding the issue you are having. I'm on 9.0.1, with ams 0.10.1, and I've had no save/load issues in either single player or co-op.

That's because it seems like the latest update of Atmosphere fixed the issue

reminon commented 4 years ago

My bad, I'm an idiot. Sorry for the intrusion. Lol