Project

General

Profile

Actions

Emulator Issues #481

closed

SD card support

Added by rockybulwinkle over 15 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

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.


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #460: Excite Truck (Unknown SD Command (0x0000000c) / DC crash)Duplicate

Actions
Actions #1

Updated by XTra.KrazzY over 15 years ago

  • Status changed from New to Accepted
Actions #2

Updated by XTra.KrazzY over 15 years ago

  • Status changed from Accepted to Work started
Actions #3

Updated by omegadox over 15 years ago

the SDCard Support is being worked on.

Actions #4

Updated by rockybulwinkle over 15 years ago

cool

Actions #5

Updated by Anonymous over 15 years ago

Issue 460 has been merged into this issue.

Actions #7

Updated by Anonymous about 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.

Actions #8

Updated by lpfaint99 about 15 years ago

gcmm writes to sd cards

Actions #9

Updated by Anonymous about 15 years ago

http://shawnh.arcynic.net/dolphin/sdtest.7z
some homebrew which should print out the registers i'm interested in

Actions #10

Updated by Anonymous about 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... :(

Actions #11

Updated by Anonymous about 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

Actions #12

Updated by Anonymous about 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.

Actions #13

Updated by Anonymous about 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

Actions #14

Updated by Anonymous almost 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.

Actions #15

Updated by 4802734511.rjisreal over 14 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

Actions

Also available in: Atom PDF