Dolphin, the GameCube and Wii emulator - Forums

Full Version: Easily manage Dolphin's sd.raw emulated SD card image with melonDS's SD sync function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Link for those of you that aren't familiar with melonDS:
I just discovered that v0.9.4 of melonDS was released and it includes a function to sync a local folder with an emulated SD card image (Config -> Emu settings -> "DLDI" tab). This lets you simply put stuff in a folder and it'll then create a disk image with those contents.

But more relevant to Dolphin is these emulated SD card images that melonDS creates seem to be compatible with Dolphin's own SD card emulation - just name (or rename) melonDS's emulated SD card image to "sd.raw" and put it in Dolphin's "/user/Wii" folder, make sure "insert SD card" is checked in Dolphin's emulator settings, and everything should work without issue!


That being said, melonDS doesn't actually create the resulting synced SD card image until you actually launch something, so booting some freely available DS homebrew such as Spout is probably the quickest way to go about doing that (you want to use the .nds file):

LamiLemmy

Actually, a PR by stblr is open here: https://github.com/dolphin-emu/dolphin/pull/10525
Once merged, dolphin will be able to compile down an SD folder into sd.raw at runtime.
(03-26-2022, 02:49 AM)LamiLemmy Wrote: [ -> ]Actually, a PR by stblr is open here: https://github.com/dolphin-emu/dolphin/pull/10525
Once merged, dolphin will be able to compile down an SD folder into sd.raw at runtime.

Slightly late on this but, in my defense, that PR was submitted 3 days after I made this thread. Tongue

But needless to say, I eagerly await such functionality... though it seems that nobody (other myself as of right now) mentioned using melonDS v0.9.4 as a reference on how to possibly go about implementing this function?