gcn64tools icon indicating copy to clipboard operation
gcn64tools copied to clipboard

N64 memory pak read/write corruption

Open vandergail opened this issue 6 years ago • 3 comments

I have an official Nintendo Controller Pak (NUS-004) and the Dual N64 to USB adapter with v3.6.0 firmware. The mempak works flawlessly (tested with Mario Kart 64 ghost data, Wave Race, Beetle Adventure Racing) with the mupen64plus raw input plugin, however, I cannot get gcn64tools to read or write data correctly from the mempak. There is no error when it reads the mempak data to a file but when I run mempak_ls with the file I get an error: "Mempak invalid (not formatted or corrupted)". The GUI mempak editor tool just lists "!!ERROR!!" for every note entry.

vandergail avatar Apr 22 '19 21:04 vandergail

I managed to fix the corrupt mempak data by writing a blank file to the mempak and now I can read/write properly. Seems like the GUI tool function "Erase N64 mempak..." is what is causing the corruption issues.

Also, I seem to be having issues inserting game save notes. I inserted a Beetle Adventure Racing note to an empty mempak file and write to the physical mempak but BAR ignores the save data.

vandergail avatar Apr 23 '19 16:04 vandergail

Also, I seem to be having issues inserting game save notes. I inserted a Beetle Adventure Racing note to an empty mempak file and write to the physical mempak but BAR ignores the save data.

I have the same problem. The editor indeed fudges importing notes back. It won't write the note entries correctly. I've opened another issue with my findings, and an alternative MPK editor you can use while raphnet fixes this.

radorn avatar Nov 27 '19 19:11 radorn

I managed to fix the corrupt mempak data by writing a blank file to the mempak and now I can read/write properly. Seems like the GUI tool function "Erase N64 mempak..." is what is causing the corruption issues.

Also, I seem to be having issues inserting game save notes. I inserted a Beetle Adventure Racing note to an empty mempak file and write to the physical mempak but BAR ignores the save data.

do you have the blank file I can write to the memory card? i tried doing the same and thought I uncorrupted it but when opening the memory card on a game it says its still corrupted.

neomerge avatar Apr 24 '21 19:04 neomerge