#171018 - gauauu - Wed Oct 28, 2009 7:27 pm
Split from here
Commercial titles use different types of cartridges than homebrew. I'm not sure how they do it, but it's definitely different. The problem is that our carts are generally adapters to SD cards with a filesystem. A loader loads the actual rom into the DS memory when you start. So there's really no place/way of storing data other than using the file system to read/write the SD card.
It would be possible (and not too difficult) to make a library that abstracts some of that away, but it would still be happening under the covers, and as it's actually pretty easy to read/write using the file system, it doesn't seem to be very necessary.
I have example code of doing so if you are interested.
sverx wrote: | ||
Thanks! Isn't there anything on the NDS like what's on the GBA? I mean, is there a way to implement a save using no filesystems? How do the commercial titles do, then??? |
Commercial titles use different types of cartridges than homebrew. I'm not sure how they do it, but it's definitely different. The problem is that our carts are generally adapters to SD cards with a filesystem. A loader loads the actual rom into the DS memory when you start. So there's really no place/way of storing data other than using the file system to read/write the SD card.
It would be possible (and not too difficult) to make a library that abstracts some of that away, but it would still be happening under the covers, and as it's actually pretty easy to read/write using the file system, it doesn't seem to be very necessary.
I have example code of doing so if you are interested.