N64 Error Loading SRAM

Issue #30 resolved
snucker created an issue

LOG:

[6/20/2023 3:51:50 PM] File \7: Saves\Installed games\Nintendo 64 - Nintendo Switch Online\snucker\saves\N-4631_e\cartridge.sram already exists

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

Comments (8)

  1. snucker reporter
    1. Backed up the save with CaVE, deleted the save with CaVE
    2. Loaded N64 NSO to get a new “save” on the Switch for GoldenEye
    3. Attempted to restore the save and the error appeared

  2. snucker reporter

    LOG:

    [6/21/2023 9:57:28 PM] Menu_NewNSODatabase_Click
    [6/21/2023 9:57:28 PM] Platform selected: Nintendo 64 Online
    [6/21/2023 9:57:34 PM] Path selected: C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Alpha1\database\N64_2.10 (v917504) - [1.5]
    [6/21/2023 9:57:34 PM] Entering GetDatabasePlatform
    [6/21/2023 9:57:34 PM] Platform detected as N64
    [6/21/2023 9:57:34 PM] Saving to: "C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Alpha1\database\N64_2.10 (v917504) - [1.5]\0100C9A00ECE6000\romfs\titles\lclassics.titlesdb"
    [6/21/2023 9:57:34 PM] Save complete.
    [6/21/2023 9:57:34 PM] Saving to: "C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Alpha1\database\N64_2.10 (v917504) - [1.5]\0100C9A00ECE6000\romfs\bootapp\resources\strings\en\strings.lng"
    [6/21/2023 9:57:34 PM] Entering SetupPlatform
    [6/21/2023 9:57:34 PM] Database Type detected as "NSO".
    [6/21/2023 9:57:34 PM] Entering Database Initalize
    [6/21/2023 9:57:34 PM] Entering GetDatabasePlatform
    [6/21/2023 9:57:34 PM] Platform detected as N64
    [6/21/2023 9:57:34 PM] Selected Platform: N64
    [6/21/2023 9:57:34 PM] LClassicsTitlesDB_Load
    [6/21/2023 9:57:34 PM] GetStreamReader
    [6/21/2023 9:57:34 PM] ClearStageFolder
    [6/21/2023 9:57:34 PM] LClassicsTitlesDB_ParseTitles
    [6/21/2023 9:58:02 PM] Loading "C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Alpha1\database\N64_2.10 (v917504) - [1.5]\0100C9A00ECE6000\romfs\bootapp\resources\strings\en\strings.lng".
    [6/21/2023 9:58:02 PM] 1 language strings loaded.
    [6/21/2023 9:58:02 PM] Entering StringsLng_GetMetaComments
    [6/21/2023 9:58:02 PM] Entering ReplaceMainTitlesList
    [6/21/2023 9:58:02 PM] Setting up default language menu.
    [6/21/2023 9:58:02 PM] Setting up default language menu.
    [6/21/2023 9:58:16 PM] ROM is ByteSwapped. Converting...
    [6/21/2023 9:58:17 PM] Entering ReplaceMainTitlesList
    [6/21/2023 9:58:36 PM] Box Art has been updated for AeroGauge (USA).
    [6/21/2023 9:58:39 PM] Details Screen Art has been updated for AeroGauge (USA).
    [6/21/2023 9:58:52 PM] romfs/bootapp/
    [6/21/2023 9:58:52 PM] romfs/bootapp/resources/
    [6/21/2023 9:58:52 PM] romfs/bootapp/resources/scenes/
    [6/21/2023 9:58:52 PM] romfs/bootapp/resources/scenes/sys/
    [6/21/2023 9:58:52 PM] romfs/bootapp/resources/scenes/sys/sysmain.scn
    [6/21/2023 9:58:52 PM] info.json
    [6/21/2023 9:58:54 PM] romfs/
    [6/21/2023 9:58:54 PM] romfs/bootapp/
    [6/21/2023 9:58:54 PM] romfs/bootapp/resources/
    [6/21/2023 9:58:54 PM] romfs/bootapp/resources/prefabs/
    [6/21/2023 9:58:54 PM] romfs/bootapp/resources/prefabs/sys/
    [6/21/2023 9:58:54 PM] romfs/bootapp/resources/prefabs/sys/sysuserinfolist.scn
    [6/21/2023 9:58:54 PM] info.json
    [6/21/2023 9:58:55 PM] info.json
    [6/21/2023 9:58:57 PM] romfs/bootapp/
    [6/21/2023 9:58:57 PM] romfs/bootapp/resources/
    [6/21/2023 9:58:57 PM] romfs/bootapp/resources/scenes/
    [6/21/2023 9:58:57 PM] romfs/bootapp/resources/scenes/sys/
    [6/21/2023 9:58:57 PM] romfs/bootapp/resources/scenes/sys/sysmain.scn
    [6/21/2023 9:58:57 PM] romfs/bootapp/resources/scripts/
    [6/21/2023 9:58:57 PM] romfs/bootapp/resources/scripts/system/
    [6/21/2023 9:58:57 PM] romfs/bootapp/resources/scripts/system/displayresolutionmanager.lua
    [6/21/2023 9:59:12 PM] romfs/bootapp/
    [6/21/2023 9:59:12 PM] romfs/bootapp/resources/
    [6/21/2023 9:59:12 PM] romfs/bootapp/resources/scenes/
    [6/21/2023 9:59:12 PM] romfs/bootapp/resources/scenes/sys/
    [6/21/2023 9:59:12 PM] romfs/bootapp/resources/scenes/sys/sysmain.scn
    [6/21/2023 9:59:12 PM] info.json
    [6/21/2023 9:59:17 PM] Entering SaveDatabase_Click
    [6/21/2023 9:59:17 PM] Saving to: "C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Alpha1\database\N64_2.10 (v917504) - [1.5]\0100C9A00ECE6000\romfs\titles\lclassics.titlesdb"
    [6/21/2023 9:59:17 PM] Save complete.
    [6/21/2023 9:59:17 PM] Saving to: "C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Alpha1\database\N64_2.10 (v917504) - [1.5]\0100C9A00ECE6000\romfs\bootapp\resources\strings\en\strings.lng"
    [6/21/2023 9:59:17 PM] Saved.
    [6/21/2023 9:59:49 PM] Connecting to MTP responder...
    [6/21/2023 9:59:51 PM] Save folders for 43 games detected.
    [6/21/2023 9:59:51 PM] Loading save data for: GoldenEye 007
    [6/21/2023 9:59:52 PM] Loading save data for: Missing Game (N-6506_e)
    [6/21/2023 9:59:53 PM] Loading save data for: Missing Game (N-5895_e)
    [6/21/2023 9:59:54 PM] Loading save data for: Missing Game (N-8098_e)
    [6/21/2023 9:59:54 PM] Loading save data for: Pilotwings™ 64
    [6/21/2023 9:59:55 PM] Loading save data for: Wave Race™ 64
    [6/21/2023 9:59:55 PM] Loading save data for: Super Mario 64™
    [6/21/2023 9:59:56 PM] Loading save data for: F-Zero™ X
    [6/21/2023 9:59:56 PM] Loading save data for: The Legend of Zelda™: Majora's Mask™
    [6/21/2023 9:59:57 PM] Loading save data for: The Legend of Zelda™: Ocarina of Time™
    [6/21/2023 9:59:58 PM] Loading save data for: Mario Kart™ 64
    [6/21/2023 9:59:58 PM] Loading save data for: Pokémon Snap™
    [6/21/2023 9:59:59 PM] Loading save data for: Missing Game (N-9446_e)
    [6/21/2023 9:59:59 PM] Loading save data for: Missing Game (N-8628_e)
    [6/21/2023 10:00:00 PM] Loading save data for: Missing Game (N-8543_e)
    [6/21/2023 10:00:00 PM] Loading save data for: Missing Game (N-7496_e)
    [6/21/2023 10:00:01 PM] Loading save data for: Missing Game (N-8241_e)
    [6/21/2023 10:00:02 PM] Loading save data for: Missing Game (N-8719_e)
    [6/21/2023 10:00:02 PM] Loading save data for: Missing Game (N-7168_e)
    [6/21/2023 10:00:03 PM] Loading save data for: Missing Game (N-8797_e)
    [6/21/2023 10:00:03 PM] Loading save data for: Missing Game (N-6056_e)
    [6/21/2023 10:00:04 PM] Loading save data for: Missing Game (N-8352_e)
    [6/21/2023 10:00:05 PM] Loading save data for: Missing Game (N-5296_e)
    [6/21/2023 10:00:05 PM] Loading save data for: Missing Game (N-9326_e)
    [6/21/2023 10:00:06 PM] Loading save data for: Missing Game (N-6329_e)
    [6/21/2023 10:00:06 PM] Loading save data for: Missing Game (N-6931_e)
    [6/21/2023 10:00:07 PM] Loading save data for: Missing Game (N-5551_e)
    [6/21/2023 10:00:07 PM] Loading save data for: Missing Game (N-6198_e)
    [6/21/2023 10:00:08 PM] Loading save data for: Missing Game (N-9456_e)
    [6/21/2023 10:00:09 PM] Loading save data for: Missing Game (N-4771_e)
    [6/21/2023 10:00:09 PM] Loading save data for: Missing Game (N-9619_e)
    [6/21/2023 10:00:10 PM] Loading save data for: Missing Game (N-7859_e)
    [6/21/2023 10:00:11 PM] Loading save data for: Missing Game (N-6812_e)
    [6/21/2023 10:00:12 PM] Loading save data for: Missing Game (N-6413_e)
    [6/21/2023 10:00:12 PM] Loading save data for: Missing Game (N-9278_e)
    [6/21/2023 10:00:13 PM] Loading save data for: Missing Game (N-8042_e)
    [6/21/2023 10:00:14 PM] Loading save data for: Missing Game (N-8395_e)
    [6/21/2023 10:00:14 PM] Loading save data for: Missing Game (N-4424_e)
    [6/21/2023 10:00:15 PM] Loading save data for: Missing Game (N-6277_e)
    [6/21/2023 10:00:16 PM] Loading save data for: Dr. Mario™ 64
    [6/21/2023 10:00:16 PM] Loading save data for: Yoshi's Story™
    [6/21/2023 10:00:17 PM] Loading save data for: Sin & Punishment™
    [6/21/2023 10:00:18 PM] Loading save data for: Paper Mario™
    [6/21/2023 10:05:53 PM] Entering SyncDatabase_Click
    [6/21/2023 10:05:53 PM] Saving to: "C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Alpha1\database\N64_2.10 (v917504) - [1.5]\0100C9A00ECE6000\romfs\titles\lclassics.titlesdb"
    [6/21/2023 10:05:53 PM] Save complete.
    [6/21/2023 10:05:53 PM] Saving to: "C:\Users\snucker\Downloads\CaVE\1.5 beta\CaVE-v1.5-Alpha1\database\N64_2.10 (v917504) - [1.5]\0100C9A00ECE6000\romfs\bootapp\resources\strings\en\strings.lng"
    [6/21/2023 10:05:53 PM] Saved.
    [6/21/2023 10:05:53 PM] Connecting to MTP responder...
    [6/21/2023 10:05:53 PM] UploadFiles
    [6/21/2023 10:05:53 PM] File: \1: External SD Card\atmosphere\contents\0100C9A00ECE6000/romfs/bootapp/resources/prefabs/sys/sysuserinfolist.scn
    [6/21/2023 10:05:53 PM] File: \1: External SD Card\atmosphere\contents\0100C9A00ECE6000/romfs/bootapp/resources/scenes/sys/sysmain.scn
    [6/21/2023 10:05:54 PM] File: \1: External SD Card\atmosphere\contents\0100C9A00ECE6000/romfs/bootapp/resources/strings/en/strings.lng
    [6/21/2023 10:05:54 PM] File: \1: External SD Card\atmosphere\contents\0100C9A00ECE6000/romfs/titles/lclassics.titlesdb
    [6/21/2023 10:05:54 PM] File: \1: External SD Card\atmosphere\contents\0100C9A00ECE6000/romfs/titles/N-8143_e/N-8143_e-details.png
    [6/21/2023 10:05:55 PM] File: \1: External SD Card\atmosphere\contents\0100C9A00ECE6000/romfs/titles/N-8143_e/N-8143_e.bnz
    [6/21/2023 10:05:55 PM] File: \1: External SD Card\atmosphere\contents\0100C9A00ECE6000/romfs/titles/N-8143_e/N-8143_e.dtz
    [6/21/2023 10:05:55 PM] File: \1: External SD Card\atmosphere\contents\0100C9A00ECE6000/romfs/titles/N-8143_e/N-8143_e.png
    [6/21/2023 10:05:56 PM] DeleteFiles
    [6/21/2023 10:06:08 PM] Disconnecting from MTP responder...

  3. Dark Akuma

    I see nothing in that log thats relevant to SRAM loading. It just looks like you connected to the MTP responder and exported a new game.

  4. snucker reporter

    I don’t see anything in the logs either. But I added a sram file, deleted a save state and added a state and png to slot 2.

  5. Dark Akuma

    Fixed, I believe.

    The code was just a sloppy quick adaptation from older code to suit the new automatic RA 2 NSO SRAM conversion. It was producing a Write-Only file as something to be read…

    I fixed that for both N64 and Gameboy, though Gameboy was even more broken.

    Anyway. In the process, I now also wrote a routine for Gameboy NSO SRAM 2 SAV conversion just like was already done with N64. That direction of conversion happens with the exporting all of the games saves. (N64 makes a ra_compatible.sram, while Gameboy makes cartridge.sav).

  6. Log in to comment