Emulator Issues #481
closedSD card support
0%
Description
Would it be possible for Dolphin to support SD cards? Many homebrew
programs have files other than the main DOL or ELF file, such as media
players and Wii Linux. If Dolphin could emulate the Wii's front SD card
slot as a folder on the hard drive, then it would be very cool.
Updated by XTra.KrazzY almost 16 years ago
- Status changed from Accepted to Work started
Updated by Anonymous almost 16 years ago
Issue 460 has been merged into this issue.
Updated by Anonymous over 15 years ago
ok started on it recently. so far it seems to read OK, writing is implememted but I
haven't tested it...can anyone point me to homebrew which writes to sd cards?
Nintendo seems to actually check various registers (CSD, CID, OCR), whereas libogc
does not. For that reason, I need someone to dump those values with some custom
homebrew. Not hard to do, I just can't do it myself :(
Probably when the registers are set correctly, I can just test writing and other
things in nintendo apps instead of libogc homebrew.
Updated by Anonymous over 15 years ago
http://shawnh.arcynic.net/dolphin/sdtest.7z
some homebrew which should print out the registers i'm interested in
Updated by Anonymous over 15 years ago
updates: a blank 128MB image is now created if it doesn't exist, and the sd card makes
it through the libogc "hardcore initialize" process.
right now, I'm really not sure why nintendo apps fail on sd stuff... :(
Updated by Anonymous over 15 years ago
updates: reading seems to work in all cases, i think writing does too(ssbb seems to
fail on some unknown ES command).
stuff to do:
find sd hcr and clear it on init
check outbuffer values for r/w commands
Updated by Anonymous over 15 years ago
- Status changed from Work started to Fixed
ok, so nintendo apps fail when writing because they try to encrypt the files with an
ES command which is not (yet) emulated.
however, homebrew works fine.
so this just leaves the clearing of the hcr block on init, although the library
managing the sd controller should handle this by itself, if it's needed.
in other words, issue fixed, need to figure out the ES commands, which is a different
topic.
Updated by Anonymous over 15 years ago
- Status changed from Fixed to Work started
Issue reopened, the ES commands have be fixed, and all was well for a day or so. But
know I have seen that nintendo is sending another undocumented command (along with one
I had seen before). Looks like it will have to be figured out
Updated by Anonymous over 15 years ago
- Status changed from Work started to Fixed
According to bushing the invalid commands are not, in fact, commands. Rather they
might be a flag of some sort. Marked as fixed for now, until someone notices that
these flags do something worthwhile/something else is broken.
Updated by 4802734511.rjisreal almost 15 years ago
how do you edit the files on the SD card then? cuz with HBC, you need to be able to
edit files manually on the SD card