Issues importing save files

Issue #27 resolved
snucker created an issue

Clicking on save states 2-4 seemingly do nothing, unable to click on any of the save state image icons to load a new PNG, clicking on save state 1 when it does not exist causes CaVE to crash, clicking on save state 1 when it exists and selecting a different STATE file causes an error.

LOG:

[6/19/2023 3:53:40 PM] Connecting to MTP responder...
[6/19/2023 3:53:41 PM] Save folders for 8 games detected.
[6/19/2023 3:53:42 PM] Loading save data for: The Legend of Zelda™: Link's Awakening DX™
[6/19/2023 3:53:42 PM] Loading save data for: Missing Game (D-70E7_e)
[6/19/2023 3:53:43 PM] Loading save data for: Super Mario Land™ 2 - 6 Golden Coins™
[6/19/2023 3:53:44 PM] Loading save data for: Missing Game (D-047C_e)
[6/19/2023 3:53:44 PM] Loading save data for: Missing Game (C-D408_e)
[6/19/2023 3:53:45 PM] Loading save data for: Missing Game (C-BY5J_e)
[6/19/2023 3:53:46 PM] Loading save data for: Missing Game (C-A898_e)
[6/19/2023 3:53:46 PM] Loading save data for: Wario Land™ 3
[6/19/2023 3:53:59 PM] Sha1: 04cf27ced5ed6fe242b1c8cecaade51f2a613fea
[6/19/2023 3:53:59 PM] Sha1: 04cf27ced5ed6fe242b1c8cecaade51f2a613fea
[6/19/2023 3:53:59 PM] Sha1: 75ce0f1845a9402acef3bab76689d88fad020092
[6/19/2023 3:53:59 PM] Sha1: 75ce0f1845a9402acef3bab76689d88fad020092
[6/19/2023 3:54:03 PM] Connecting to MTP responder...
[6/19/2023 3:54:03 PM] Object reference not set to an instance of an object.

at NSO.Interface.b(Dictionary`2 A_0, DBInfo A_1)
[6/19/2023 3:54:07 PM] Object reference not set to an instance of an object.

at NSO.Interface.a(Dictionary`2 A_0, DBInfo A_1)
[6/19/2023 3:54:09 PM] UploadFiles
[6/19/2023 3:54:09 PM] DeleteFiles
[6/19/2023 3:55:32 PM] File \7: Saves\Installed games\Game Boy - Nintendo Switch Online\snucker\saves\C-3996_e\suspendpoint1\state already exists

at MediaDevices.MediaDevice.UploadFile(Stream stream, String path)
at NSO.Interface.g(String A_0)
[6/19/2023 3:55:49 PM] File \7: Saves\Installed games\Game Boy - Nintendo Switch Online\snucker\saves\C-3996_e\suspendpoint1\state already exists

at MediaDevices.MediaDevice.UploadFile(Stream stream, String path)
at NSO.Interface.g(String A_0)
[6/19/2023 3:56:23 PM] Directory \7: Saves\Installed games\Game Boy - Nintendo Switch Online\snucker\saves\C-3996_e\suspendpoint1 not found.

at MediaDevices.MediaDevice.UploadFile(Stream stream, String path)
at NSO.Interface.g(String A_0)

Comments (4)

  1. Dark Akuma

    Fixed these issues.

    There are still some more issues I need to address.

    • Images don’t load in the UI correctly when selected.
    • Images don't unload in the UI correctly when deleted.
    • Timestamps will not be set for new states (not a bug. just not implemented yet.)
    • I need some kind of visual indication for a successful selection/importing of the state file.

  2. Dark Akuma

    Addressed all 4.

    As far as a visual indication for successful save selection goes, I use the adding of a timestamp for that.

  3. Log in to comment