Insert your SD card or USB flash drive Download and install Win32DiskImager, then launch it Find out where your removable drive is mounted by opening a File Explorer window to check which mount point the drive is listed under. Here is an example of an SD card listed under E. This example create a 2048 megabyte (2GB) SD card, but one can replace the 2048 with an alternate number of megabytes. Dd if=/dev/zero bs=1M count=2048 of=sd.raw Finally, we format our image to FAT32. Mkfs.fat -F 32 sd.raw Editing a Virtual SD Card Linux. The virtual SD card can be edited by mounting it to a virtual disk. First create a directory. The potential design combinations are infinite when you make your own card with Adobe Spark. Experiment with different color combinations, images, text, sizes, and themes. Best of all, Adobe Spark is free to use and easy to master, so you can always get the perfect greeting card.
1. Insert the micro-SD card in your regular computer
2. Unzip the Ubuntu image
$ gunzip -d .img.gz
3. Verify the device path of your SD card
The exact device path to your SD card depends on your Linux distribution and computer setup. Using the command below to get the right path. If it's not clear from output which path is the right one, try the command with and without the SD card inserted. In Ubuntu, the path returned might be something like ‘/dev/mmcblk0p1'.
$ df -h
4. Unmount the SD card
You will need to unmount all partitions on the SD cards before burning the card. The comes from the ‘df' command in step 3.
$ umount
5. Burn the Ubuntu disk image on the micro-SD card
Burn the image onto the SD card using the ‘dd' utility shown in the command example below. Please be careful and make sure you specify the path correctly as this command is irreversible and will overwrite anything in the path! An example command in Ubuntu would be: ‘sudo dd bs=4M if=my_release.img of=/dev/mmcblk0'. Please be patient, this could take a while (many minutes) depending on the computer and SD card being used.
$ sudo dd bs=4M if=.img of=
6. Make sure all writes to the SD card have completed
$ sync
Dolphin can store data to a virtual SD card named sd.raw. By default, it will be created with the size of 128MB.
The virtual SD card has important use for homebrew apps on Dolphin. Project M and Mario Kart Wii custom tracks are two good examples, as some homebrew apps can only work using files stored on the SD card of the real hardware for which they were designed.
- 1Creating a Virtual SD Card
- 2Editing a Virtual SD Card
- 4Usage
Creating a Virtual SD Card
It is recommend to create one with size at least 1GB for large homebrew apps, for example, Project M, and no more than 2GB for best compatibility as there are compatibility issues with some homebrew apps trying to run under an SDHC card on the real hardware.
Command Line and Executable Files
Download Virtual SD Card Maker, unzip it, and open the appropriate folder for your system (Linux / OS X / Windows). The tool is run with a command like:
- Open the Command Prompt or Terminal then (Note: Vista fails to support drag and drop, and will require manual input.):
- Drag and drop mksdcard file into the command window for the full directory pointing to mkscard.
- Type 2048M for 2GB, or if desired, an alternate size like 512M (512MB), 1024M (1GB), etc.
- Drag and drop an existing sd.raw file into the command window, or use a different directory/filename to create a new one.
- Assuming a default Global User Directory the virtual SD card should be placed at:
- Linux: ~/.dolphin-emu/Wii/sd.raw OR ~/.local/share/dolphin-emu/Wii/sd.raw
- OS X: ~/Library/Application Support/Dolphin/Wii/sd.raw
- Windows: '%userprofile%DocumentsDolphin EmulatorWiisd.raw' (quotation marks are necessary when copying it to Command Prompt)
Alternatively, a non-Mediafire download link can be found by visiting https://developer.android.com/studio/#command-tools and downloading the OS-specific zip there (mksdcard is part of the Android SDK)
Manual macOS Command Line Creation
This example creates a 2048 megabyte (2GB) SD card formatted as FAT32:
Manual Linux Command Line Creation
If the above tool does not work, one can manually create a FAT32 partition image in Linux provided dosfstools is installed.First, pull up a terminal, and then chdir into the Wii folder, which under certain configurations may be located at ~/.local/share/dolphin-emu/Wii instead.
Then, we must create our raw disk image. This example create a 2048 megabyte (2GB) SD card, but one can replace the 2048 with an alternate number of megabytes.
Finally, we format our image to FAT32.
Editing a Virtual SD Card
Linux
The virtual SD card can be edited by mounting it to a virtual disk. First create a directory:
Then mount sd.raw to it:
When you are done, simply unmount it like this:
macOS
In Terminal window, type the following to mount the virtual SD card:
The virtual SD card can then be ejected through Finder when done being edited.
If you get an error (hdiutil: attach failed - no mountable file systems), you can use these commands instead:
Windows
The Windows users must use a third party software that can mount the virtual SD card. Speaking of which... ImDisk Virtual Disk Driver
WinImage is unreliable, because oddly enough, it will cause desync and few other unforeseeable problems. ImDisk will be fine.
It is recommend to create one with size at least 1GB for large homebrew apps, for example, Project M, and no more than 2GB for best compatibility as there are compatibility issues with some homebrew apps trying to run under an SDHC card on the real hardware.
Command Line and Executable Files
Download Virtual SD Card Maker, unzip it, and open the appropriate folder for your system (Linux / OS X / Windows). The tool is run with a command like:
- Open the Command Prompt or Terminal then (Note: Vista fails to support drag and drop, and will require manual input.):
- Drag and drop mksdcard file into the command window for the full directory pointing to mkscard.
- Type 2048M for 2GB, or if desired, an alternate size like 512M (512MB), 1024M (1GB), etc.
- Drag and drop an existing sd.raw file into the command window, or use a different directory/filename to create a new one.
- Assuming a default Global User Directory the virtual SD card should be placed at:
- Linux: ~/.dolphin-emu/Wii/sd.raw OR ~/.local/share/dolphin-emu/Wii/sd.raw
- OS X: ~/Library/Application Support/Dolphin/Wii/sd.raw
- Windows: '%userprofile%DocumentsDolphin EmulatorWiisd.raw' (quotation marks are necessary when copying it to Command Prompt)
Alternatively, a non-Mediafire download link can be found by visiting https://developer.android.com/studio/#command-tools and downloading the OS-specific zip there (mksdcard is part of the Android SDK)
Manual macOS Command Line Creation
This example creates a 2048 megabyte (2GB) SD card formatted as FAT32:
Manual Linux Command Line Creation
If the above tool does not work, one can manually create a FAT32 partition image in Linux provided dosfstools is installed.First, pull up a terminal, and then chdir into the Wii folder, which under certain configurations may be located at ~/.local/share/dolphin-emu/Wii instead.
Then, we must create our raw disk image. This example create a 2048 megabyte (2GB) SD card, but one can replace the 2048 with an alternate number of megabytes.
Finally, we format our image to FAT32.
Editing a Virtual SD Card
Linux
The virtual SD card can be edited by mounting it to a virtual disk. First create a directory:
Then mount sd.raw to it:
When you are done, simply unmount it like this:
macOS
In Terminal window, type the following to mount the virtual SD card:
The virtual SD card can then be ejected through Finder when done being edited.
If you get an error (hdiutil: attach failed - no mountable file systems), you can use these commands instead:
Windows
The Windows users must use a third party software that can mount the virtual SD card. Speaking of which... ImDisk Virtual Disk Driver
WinImage is unreliable, because oddly enough, it will cause desync and few other unforeseeable problems. ImDisk will be fine.
Quick guide for mounting and editing the virtual SD card with the ImDisk Virtual Disk Driver:
- Right-click on sd.raw file then click 'Mount as ImDisk Virtual Disk' from the context menu.
- Check box Removable media then hit 'OK'. The predefined drive letter and everything else will do just fine.
- The virtual SD card will now appear as 'Removable Disk' in which the native Explorer window can read and write in there.
- When done editing the virtual SD card, simply unmount it by right-click on the 'Removable Disk' then click 'Unmount ImDisk Virtual Disk' from the context menu.
- The virtual SD card must be dismounted before using with Dolphin.
Dolphin Setting
Go to Options > Configure... > Wii > and enable Insert SD Card.
Usage
With Homebrew App
The external files used for the homebrew app must be stored within sd.raw and the homebrew app itself (boot.elf or boot.dol) must exist outside of it for Dolphin to load. Project M, for example, will load from SD root projectm and Dolphin will need to launch Project M through appsprojectmboot.elf, NOT in the virtual SD card. For convenience's sake, it is ideal to have same copies paralleled between inside and outside of the virtual SD card.
Though, it is possible to start homebrew app from virtual SD card through homebrew exploits for Wii.
The Wii game launcher app will only work if a particular Wii game is set as the default ISO. Within the Dolphin game list, open context menu (right-click) on any Wii game and click Set as default ISO. Do this before loading a homebrew app with Dolphin.
For Netplay
Netplay will eventually desync if anything reads the virtual SD card that is not cloned, regardless of the same size it was created, and identical file/folder structures within its root. To prevent that, sd.raw must be copied from host's computer to joiners' computers before starting netplay. If the virtual SD card was used offline or online with write block disabled, the MD5 checksum will change ('Date Accessed' of the files are what's different in virtual SD card), but will not cause desync. The SD card got to be coming from elsewhere or subjected to the files modified within to be 'different'.
Boot Card Maker Tool
For the Wii game launcher app, users on both ends must have the same copies of homebrew app and the game in their game list first, then set the game as default ISO, as mentioned in previous section.