Emulator Issues #13909
closedSuper Smash REX and other Project+ based mods crash when build content on SD card exceeds ~10.7GB
0%
Description
Game Name?
Super Smash Bros. Brawl
Game ID?
RSBE01
MD5 Hash?
52ce7160ced2505ad5e397477d0ea4fe
What's the problem?
When playing Super Smash REX, if the /pf/ folder of the build is larger than about 10.7GB the game will crash on startup. Our devs verified that this crash does not occur on real hardware with build sizes well exceeding this threshold. We have thus concluded that this is a very weird emulation inaccuracy.
This can happen when custom content added to the build exceeds said threshold (in practice usually custom music tracks, as they tend to be the largest used file types, but it can be any kind of data). Any data placed outside the /pf/ folder has no effect on getting this crash.
We've also seen reports of this same issue affecting other Project+ based builds, and though we have not directly verified those reports we reasonably believe them to be true.
What steps will reproduce the problem?
- Download Super Smash REX, Project+, or any other build derivative of Project+, and set up the emulator for play.
a. Make sure the build works first before replicating this bug. - Make sure the virtual SD card is FAT32, 16GB or larger.
- Place several gigabytes of additional data into the /pf/ folder of the build until it exceeds the threshold.
a. It can be many small files or a few large files, doesn't matter. Type of data or file extension doesn't matter either.
b. We recommend for ease of testing placing several 2GB files (the max size FAT32 allows) until the threshold is exceeded. Round it up to 11GB+ to be safe. - Copy the expanded build's files to the virtual SD card.
- Run the mod.
You should get a crash log similar to this one obtained from our testing:

Is the issue present in the latest release? For future reference, please also write down the version number of the latest release.
Present in build 2509 rev. f0519d4f6cfa650846674d0b15849035b4c27e74, and has been since at least build 2503, though it's likely longer than that as our earliest report comes from January 31, 2025.
What are your PC specifications?
AMD Ryzen 7 7840HS @ 3.80 GHz
40GB RAM
NVIDIA GeForce RTX 4050 Laptop
Windows 11 23H2 22631.6060 64-bit
This issue has happened on several different PCs with vastly different specs, so we don't think particular machine specs play a role here.
Files
Updated by iwubcode 4 months ago
- File directory.dol directory.dol added
Extrem's commented on our SD card emulation a while back and had this to say:
The CSD of Dolphin's SD card is in the wrong byte order relative to hardware. It should be post-processed like this:
for (int i = 0; i < 15; i++)
out[(i + 1) ^ 0xC] = in[i];
I did try this but it didn't work. Extrem's comment:
I suspect it wouldn't be right since you're writing out the CSD as 32-bit little endian before processing.
They went on to reference some links:
Relevant parsing.
https://github.com/extremscorner/libogc2/blob/master/libogc/wiisd.c#L550-L563
https://github.com/extremscorner/libogc2/blob/master/libogc/wiisd.c#L121-L131
The expected order when your host controller isn't messed up:
https://github.com/extremscorner/libogc2/blob/master/include/sdcard/card_io.h#L21-L31
They also put a helpful dol which I've attached.
I hope this will be helpful to whoever tackles this.
Updated by Billiard26 4 months ago
ยท Edited
Please provide step by step instructions on how to run one of these mods in an existing copy of Dolphin.
I've spent too much time trying to figure out how to actually use any of these mods outside of the bundled fork of Dolphin that they include.
Updated by REX-DevTeam 4 months ago
Billiard26 wrote in #note-2:
Please provide step by step instructions on how to run one of these mods in an existing copy of Dolphin.
I've spent too much time trying to figure out how to actually use any of these mods outside of the bundled fork of Dolphin that they include.
Ideally you either copy the sd.raw to a fresh Dolphin build, then run the game through the Homebrew Channel, or you unzip a fresh Dolphin copy into the dev build, overwriting any files, and boot from there.
It might be beneficial if we (the Dolphin Emulator and Super Smash REX dev teams) worked together more directly on this. That way we aren't flailing about over text here getting setups correct.
The REX discord server is public so whoever is in charge of investigating this bug can join, then from there we can verify you so you can talk directly with the REX dev team and other major Brawl modders responsible for the codebase and playtesting. Not sure if pasting Discord invites is against the rules of the bug tracker, so you can go to the Super Smash REX website and get to it from the site's socials tab.
Thanks
REX Devs
Updated by Billiard26 4 months ago
- Related to Emulator Issues #11547: Dolphin can't detect certain Brawl replays on SD card added
Updated by Billiard26 4 months ago
- Status changed from Fix pending to Fixed
- Fixed in set to 2509-481