Project

General

Profile

Emulator Issues #8823

Support the SDHC protocol for Virtual SD cards larger than 1.95GB

Added by ryanebola16 about 2 years ago. Updated 2 months ago.

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

0%

Operating system:
N/A
Issue type:
Feature request
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-5044

Description

Game Name?
Super Smash Bros. Brawl

Game ID?
RSBE01

What's the problem? Describe what went wrong in few words.
If >1.95GB of data is added to sd.raw for a Brawlex setup (http://forums.kc-mm.com/index.php?topic=65113.0), File Patch Code 3.5.1b fails to replace all files. This problem does not occur on my real Wii using an SDHC with the SDHC expansion 1.1 code (http://forums.kc-mm.com/index.php?topic=65342.0). Dolphin fails to properly read the sd.raw regardless of sd.raw size or SDHC expansion code presence as long as >1.95GB of data is on the sd.raw.

What did you expect to happen instead?
sd.raw to behave like an SDHC card

What steps will reproduce the problem?
1. Use mksdcard to make a 4GB sd.raw image (I also have the same problem if I make a 3GB or 8GB image). The batch file in this archive has a preconfigured 4GB option (http://www.mediafire.com/download/713qu5m08tf8av9/mksdcard+menu.rar).
2. Add any functional Brawlex setup that is larger than 1.95GB
3. Observe missing custom menus and characters (usually associated with a "Read Failure" on Dolphin's log.

Which versions of Dolphin did you test on?
I believe this has always been a problem with Dolphin. I tested the issue with both 3.0 and 3.5 and experienced this problem. I tested again with Dolphin 4.0-7084 and thought a bug report was necessary.

Does using an older version of Dolphin solve your issue? If yes, which
versions of Dolphin used to work?
No

What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Win 8.1 Pro x64
Intel Core i7-4702MQ CPU @2.20GHz
GeForce GT 750M

History

#1 Updated by phire about 2 years ago

  • Status changed from New to Accepted
  • Issue type changed from Bug to Feature request

Yep, Dolphin doesn't emulate the SDHC standard.

#2 Updated by ryanebola16 12 months ago

It's been a while so I though I'd give this a bump. SDHC support would be a very important feature for the Smash community.

#3 Updated by ryanebola16 11 months ago

Also, the code below allows SDHC cards to be used with Super Smash Bros. Brawl on system menus above 4.1. The code does not appear to interfere with regular SD cards either.
SDHC Extension 1.1[Bero]
* C23CB3D8 00000004
* 546302D7 41820014
* 38600001 3C808058
* 60840300 90640000
* 2C1D0000 00000000
* C23EEE18 00000007
* 80610014 54630253
* 41820028 38000009
* 8061000C 5463C43E
* 38630001 1CC30400
* 3C60803E 6063EE58
* 7C6903A6 4E800420
* 80A1000C 00000000
* C23CB620 00000008
* 3D60805A 616B9350
* 816B0000 2C0B0000
* 41820024 2C040040
* 4182001C 39600001
* 91610008 3D60803C
* 616BB410 7D6903A6
* 4E800420 9421FFC0
* 60000000 00000000
* C23CB4AC 00000003
* 38C00000 2C160000
* 41820008 38C00001
* 60000000 00000000
* C23CB5D4 00000009
* 807C001C 2C030001
* 806DCE1C 41820034
* 80030000 90190000
* 80030004 90190004
* 80030008 90190008
* 8003000C 9019000C
* 3C60803C 6063B5E0
* 7C6903A6 4E800420
* 60000000 00000000
* 043EEA20 48191905
* 043EEC1C 48191709
* 06580324 00000028
* 3F008058 63180300
* 83180000 2C180000
* 4182000C 7CB92B78
* 48000008 7F2531D6
* 548006FF 4E800020
* 043EEB6C 481917E1
* 043EED68 481915E5
* 0658034C 00000028
* 3C608058 60630300
* 80630000 2C030000
* 4182000C 3B390001
* 48000008 7F39BA14
* 4E800020 00000000
* 043CBA24 481B48E1
* 043CBD60 481B45A5
* 06580304 00000020
* 3EC08058 62D60300
* 82D60000 2C160000
* 41820008 7C802378
* 7C040040 4E800020
* C23EE0BC 00000003
* 38000000 3C60805A
* 60639350 90030000
* 3C60805A 00000000

#4 Updated by ryanebola16 11 months ago

Some further research on this topic,

These “Simplified” Specifications may be of help. https://www.sdcard.org/downloads/pls/

And according to this post SDHC isn’t too different from SD but is still a pain to implement. http://wiki.seabright.co.nz/wiki/SdCardProtocol.html

System Menu 4.0 introduced SDHC support for the system menu (http://wiibrew.org/wiki/System_Menu_4.0) and may have something to do with IOS60 (http://wiibrew.org/wiki/IOS60).

Also, according to Bero’s notes (maker of the SDHC code in my previous comment), System Menu 4.1 (or at least IOS58 installation) is required for the code to work. Some of his notes were not correct about the SDHC code however so this information may not be valid.

Additionally, HyperL!nk from KCMM indicated that Dolphin dev Billiard26 may have done heavy work with Dolphin's SD support.

#5 Updated by JosJuice 2 months ago

  • Status changed from Accepted to Fixed
  • Fixed in set to 5.0-5044

Also available in: Atom PDF