Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nuclear Blaze makes the app crash #217

Closed
ciucciodifuoco opened this issue Oct 29, 2023 · 11 comments
Closed

Nuclear Blaze makes the app crash #217

ciucciodifuoco opened this issue Oct 29, 2023 · 11 comments

Comments

@ciucciodifuoco
Copy link

Hey,

Switch Lite 17.0.0 + atmosphere 1.6.2 + hekate 6.0.7

i'm playing this game lately: https://www.nintendo.com/us/store/products/nuclear-blaze-switch/
when i do a backup (in full app mode, launching a game with R button pressed) for this game in JKSV crashes with the error "The software closed unexpectedly" . If i do the same in Applet mode, the whole atmosphere crashes and console must be rebooted.

The bug is easily triggerable, just do a bakcup for Nuclear Blaze

@fennectech
Copy link

fennectech commented Oct 29, 2023

Possible that it has files with foreign characters in the save archive? Can you open nuclear blaze in the file mode of JKSV?

@J-D-K
Copy link
Owner

J-D-K commented Oct 30, 2023

As stated above, check the file names to see if they're all ASCII characters. See if using or ending the save name with .zip helps at all.

@ciucciodifuoco
Copy link
Author

Hi guys,
sorry for the late reply. I can open the game in File mode , find attached some screenshots. Where should i actually verify the presence fo non-ascii charachters?

IMG_2680
IMG_2679

@J-D-K
Copy link
Owner

J-D-K commented Nov 15, 2023

There are none as far as I can see. The one thing that is interesting is the path on the bottom left. sv:/ /. It's something I'd need to investigate.

@J-D-K
Copy link
Owner

J-D-K commented Jul 17, 2024

I've just had it confirmed to me that these kind of games only work with ZIP files. Some games use UTF8 filenames and for some reason, even though the paths work in save containers, they don't work with the SD card... Nice one Nintendo.

@impeeza
Copy link
Contributor

impeeza commented Jul 18, 2024

I just «buy» the game for this issue and found:
The savegame of that tile IS INSIDE A FOLDER (DIRECTORY) WITH the name « » yes, a space character (0x20), When you select the user and then the title, using the (X) menu «Title Optons» and selecting Open in File Mode:

image

you find the folders «.», «..» and «D»
image

Then the savegame files are INSIDE the «space name» folder:
image

You can copy the files from that folder to any other folder on your SD, but JKSV have trouble creating a new backup because first have to create a « » folder on SD:/JKSV/Nuclear Blaze/USER - YYYY.MM.DD @ HH.MM.SS" folder. I doubt the Fat32 allow you to create that no-name folder and that's why the software crashes.

image
image

@impeeza
Copy link
Contributor

impeeza commented Jul 18, 2024

And yes setting saves to zip file works because zip file allows you to create a " " folder

image

image

@J-D-K
Copy link
Owner

J-D-K commented Jul 18, 2024

I noticed that earlier too @impeeza. Really odd choice to be honest. The only purpose I can see for it is preventing homebrew save backups. Unfortunately JKSV has to support both for backwards compatibility with older versions and other tools that followed the JKSM 3DS backup style/structure. I can think of ways to check for it, but for only one game, that seems like a lot of effort…

@impeeza
Copy link
Contributor

impeeza commented Jul 19, 2024

I don't know if worth for something the bin of the Rewrite branch not only crash trying to make this backup but all atmosphere crash.

@impeeza
Copy link
Contributor

impeeza commented Jul 26, 2024

I noticed that earlier too @impeeza. Really odd choice to be honest. The only purpose I can see for it is preventing homebrew save backups. Unfortunately JKSV has to support both for backwards compatibility with older versions and other tools that followed the JKSM 3DS backup style/structure. I can think of ways to check for it, but for only one game, that seems like a lot of effort…

Was I thinking what this is a unintended error on the game code is a space on a line of the original code. this is bizarre.

@J-D-K
Copy link
Owner

J-D-K commented Oct 31, 2024

So, JKSV is going to start using ZIP as default instead of folders to prevent errors like these very soon. I'm going to close this because I don't see a way to make cases like this work with the folder style backups.

@J-D-K J-D-K closed this as completed Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants