Ninjiteu / N64SaveConverter

9 stars 2 forks source link

Issues when importing to N64 Flashcart Menu (i.e. SummerCart64) #6

Open PW5190 opened 1 month ago

PW5190 commented 1 month ago

I noticed that some games (not all of them) cannot be started through the open-source N64 Flashcart Menu due to their save files being in an unsupported file size. They will trigger a message saying Error occured during save loading. It happens to me every time I try to start a game. Here's the games I have save files for that failed to start and recognize the saves:

1080° Snowboarding (uses SRAM, my save is 128KB) Bomberman 64 (uses 4Kbit EEPROM, my save is 16KB) Bomberman Hero (uses 4Kbit EEPROM, my save is 16KB) Cruis'n USA (uses 4Kbit EEPROM, my save is 16KB) F-Zero X (uses SRAM, my save is 128KB) Glover (uses 4Kbit EEPROM, my save is 2KB) Kirby 64: The Crystal Shards (uses 4Kbit EEPROM, my save is 16KB) Mario Golf (uses SRAM, my save is 128KB) Mario Kart 64 (uses 4Kbit EEPROM, my save is 128KB) Mario Party (uses 4Kbit EEPROM, my save is 2KB) Star Fox 64 (uses 4Kbit EEPROM, my save is 16KB) Super Smash Bros. (uses SRAM, my save is 128KB) The Legend of Zelda: Ocarina of Time (uses SRAM, my save is 128KB)

If you want to know more, you can also visit the N64brew Discord server.

Ninjiteu commented 1 month ago

Looks like many of your save file sizes are incorrect. SRAM file size is supposed to be 32 kilobytes. 4Kbit EEPROM should be 2 Kilobytes (512 bytes on original hardware, but i pad an extra 1.5 kilobytes for compatibility with other emulators).

SRAM saves should never be 128KB and 4Kbit EEPROM should not be 16KB. Not sure why you have those sizes for those saves.

PW5190 commented 1 month ago

Looks like many of your save file sizes are incorrect. SRAM file size is supposed to be 32 kilobytes. 4Kbit EEPROM should be 2 Kilobytes (512 bytes on original hardware, but i pad an extra 1.5 kilobytes for compatibility with other emulators).

SRAM saves should never be 128KB and 4Kbit EEPROM should not be 16KB. Not sure why you have those sizes for those saves.

I was able to figure out my problem and used your save converter tool to pad/trim my saves to their correct file sizes. The 4Kbit EEPROM saves were padded to 2KB, so I used a hex editor to remove the padding and shrunk them to their original 512B size.