Polprzewodnikowy / N64FlashcartMenu

Universal N64 flashcart menu for wide variety of devices
106 stars 7 forks source link

Ability to back up saves from Controller Pak onto SD card #84

Open rehan-mohammad opened 6 months ago

rehan-mohammad commented 6 months ago

Description

Hi, I am wondering if there is the possibility for the cartridge to interface with the controller pak in order to copy the contents of the memory card onto the SD card, and vice-versa. I have seen that the EverDrive has this functionality. Would be useful to avoid needing multiple controller paks.

How to solve the problem

I think this could be solved by having a menu with an option that essentially backs up the entire content of the Controller pak to a file, as well as an option to transfer the same file back. That is if this functionality is technically possible.

Describe alternatives you've considered

Main point of reference is the Everdrive implementation:

image

Additional context

No response

networkfusion commented 6 months ago

For this to be performed, we are waiting on libdragon to fix some funtimental issues with CPak support (for instance https://github.com/DragonMinded/libdragon/issues/326 and https://github.com/DragonMinded/libdragon/issues/105)

Although the ED64 OS supports it, it suffers from the same, if not worse issues.

In addition, it would be better if only the pages for a game were backed up and restored, rather than the whole pak.

lexrj commented 6 months ago

Having a mechanism to back up an old card entirely would be really appreciated for folks who have old and aging cards that they want to save or move to something like a foreverpak. Being able to split it is of course great, but there is definitely a strong case for grabbing the whole card like everdrive 64 x7 does.

networkfusion commented 2 months ago

For note: keep an eye on https://github.com/bryc/CPak-Lib-Sim