BernardoGiordano / Checkpoint

Fast and simple homebrew save manager for 3DS and Switch.
GNU General Public License v3.0
2.59k stars 154 forks source link

Bug Report: "%" character crashes Checkpoint #461

Open Vothm opened 2 years ago

Vothm commented 2 years ago

Describe the bug A "%" character in a save folder will crash checkpoint even while navigating through the menu

To Reproduce Steps to reproduce the behavior:

  1. Install a save folder in the specific game folder with a "%" character inside such as "smash bros 100% save" through tinfoil MTP
  2. Open checkpoint in Title Takeover Mode (launch app by holding R, navigate and launch Checkpoint while still holding R)
  3. Navigate through the menu
  4. Upon navigating to the game that contains a "%" character in a save folder (in this case super smash ultimate), the app will crash

Expected behavior Would be able to load menu successfully and load save file

Switch:

GriffinG1 commented 1 year ago

Hi! Sorry that I'm just getting to this.

Install a save folder in the specific game folder with a "%" character inside such as "smash bros 100% save" through tinfoil MTP

I can replicate this with the exact same file name, but when testing with a shorter folder name, testing% empty, it simply corrupts the folder name to testing 6.854046e-312mpty in app while glitching out the graphics for the Backup button.

Short term (well, such as it is) just rename the folder. It should be fixed by the time the rewrite is done, which will be soon:tm:.