BernardoGiordano / Checkpoint

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

Bug Report - Checkpoint creating new folders; causes Exception error #434

Open xScylla opened 2 years ago

xScylla commented 2 years ago

Describe the bug Error with Checkpoint recreating a new "Checkpoint" folder within ""SD:/3ds/" after attempting to load Checkpoint from main 3DS Home Menu and swapping game cartridges to a different game cartridge. Checkpoint successfully runs the cheats but fails to load the previously used "Checkpoint" folder; causes directory to be unreadable on the next launch and create an Exception error.

3DS:

To Reproduce 3DS Model: 2DS XL Luma Ver installed: v10.2.1

  1. Fresh install of all Homebrew applications located on 3DS Hacks Guide site, this was done last night at approx 2:10 AM PST on 11/13. This SD card used is a 258GB size with no data or games located on it nor save files or DLC.

  2. After installing all Homebrews located from the 3DSHacks guide website I launched Checkpoint app from the Home screen and received an exception message and attempted again and got the same message later in the day after trying again. Exception message is in the first picture provided. image

  3. Loaded up cartridge to test "FE: Shadows of Valentia" and was able to open Rosalina within game and navigated the game to load a save file located on the cartridge and was able to play successfully.

  4. Error message still displayed after loading Checkpoint with the game cart inside 3DS.

  5. Downloaded the updated version of Checkpoint.cia and installed via FBI as done originally in the initial Homebrew installation.

  6. Error message still appeared as from the first image.

  7. Renamed the folder located within "SD:/3ds/Checkpoint" to "SD:/3ds/Checkpoint_bak" and attempted to launch again with game cart inserted and received error again. Exception message this time is the second picture provided. image

  8. Attempted again and received same exception message as first picture provided.

  9. Removed cart and launched Checkpoint without "FE:SoV" in 3DS and Checkpoint loaded successfully, detecting only Pokemon Picross as a game from when it was used as a PicHaxx method during Homebrew installation.

  10. Closed Checkpoint and inserted "Pokemon X" to test if it was only "FE:SoV" cart that was faulty but produced another exception message. Exception message is in the third picture provided. image

  11. Launched Checkpoint after removing cart once more and Checkpoint loaded up successfully. While it was open and running, I inserted "Fire Emblem: Birthright" and refreshed the menu manually and the cart appeared within the selectable game titles. I enabled a cheat to test if it would appear after creating a testing cheat file for a game and closed Checkpoint. Checkpoint crashed with same exception message as before after attempting to open it with the game inserted.

  12. Renamed once more the new "Checkpoint" folder within "SD:/3ds/Checkpoint" to "SD:/3ds/Checkpoint_bak" again (there are now 3 different Checkpoint folders each with the corresponding gave save data from when it successfully launched).

  13. Launched Checkpoint without cart in 3DS and attempt the same action as with "FE:Birthright" but instead with "FE:SoV" and successfully was able to create a cheat save file for the game (used cheat "Max 996 Gold Coins" for easy verification).

  14. Closed Checkpoint and launched "FE:SoV" and was able to load the same save file from in Step 2; accessed the Rosalina menu within the main menu of game and the cheat worked successfully without issue.

  15. Closed the game and attempted to launch instead now with "Pokemon X" and crashed again.

Crash_Dumps.zip

Additional context Attempted this error once more on the previous version of Checkpoint as per requested to test if same issues would arise. Known results as follows:

3DS:

To Reproduce 3DS Model: 2DS XL Luma Ver installed: v10.2.1

  1. Installed Checkpoint v.3.7.4 via FBI QR Code.
  2. Inserted "FE:SoV" cart to start testing and successfully launched Checkpoint from Home menu on first attempt. Navigated the UI and enabled testing cheat "Max Silver 9986 Coins" for easy viewing and saved cheat file.
  3. Launched "FE:SoV" and loaded up to the main menu for title and initialized Rosalina to enable testing cheat. Loaded the exact same save file as used from earlier, tested cheat and confirmed cheat is working as intended and no crashes found yet.
  4. Closed application and inserted "Pokemon X". Launched Checkpoint and loaded once more without crash. Enabled cheat "Give x255 All Items and Balls" for testing and saved the cheat file.
  5. Closed Checkpoint and launched game to saved game file located in cart save. Enabled the testing cheat within Rosalina and navigated to menu for evidence of cheat but title crashed shortly afterwards. (Should be noted I did previously modify my game save via an Action Replay back in 2016, this could be causing the crash here but uncertain, might need to test a different cheat) Crash dump was archived and packaged into zip file for viewing.
  6. Rebooted 3DS and launched Checkpoint once again with no issues still from previous exceptions encountered. Tested to see if removing the cartridge and inserting "FE:Birthright" would update the menu within to automatically detect the current cart but instead for refreshed using "B".
  7. Enabled a test cheat "Max Cash" for viewing and instead launched "FE:Birthright" without first closing Checkpoint and game loaded up normally. Navigated to saved game file on cart and opened Rosalina to test cheat. Cheat required manual input to activate once enabled and cheat worked successfully.
  8. Checked folders located within "SD:/3ds and no new Checkpoint folders were created, instead the previous ones remained: old Checkpoint folder that was the first "_bak" folder and the secondary "Checkpoint_bak" folder created later on and the one that remained when Checkpoint v3.8.0 was last used on record. The folder 3.7.4 is using to read cheat save data is the latest folder.

Crash_Dumps_v3.7.4.zip

BernardoGiordano commented 2 years ago

Checkpoint.zip Does this work for you?