![]() | ||
Views: 6,017,597 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 12-04-23 07:17 PM |
Guest: |
0 users reading How to make .img files for use with melonDS | 1 bot |
Main - General - How to make .img files for use with melonDS | Hide post layouts | New reply |
koreanturtleship |
| ||
![]() Melon seeds Normal user Level: 4 ![]() Posts: 1/3 EXP: 174 Next: 105 Since: 10-31-20 Last post: 1125 days ago Last view: 205 days ago |
hi, nice to meet everyone here! I'm new here but I noticed there is a distinct lack of tutorials on how to make a FAT32 SD card .img for melonDS here. The step below has been tested to work on both Linux and Windows (and macOS if you are particularly brave).
Steps: 0. for context we will be using the Virtual SD Card Maker from Dolphin (or the Android development SDK if you wanna be specific) and the command line, so download the program at https://www.mediafire.com/file/cfr9q8542e9lsos/Virtual_SD_Card_Maker.zip/file 1. extract it, and launch a command line in the extracted directory (for Linux users that would be your terminal; for Windows users, either PowerShell or the command prompt will do) 2. there should be a Windows folder and a Linux folder, so navigate to the OS you use. 3. on Windows, use "./mksdcard.exe -l label size (for MB use xM) name.img" (for example) ./mksdcard.exe -l melonDSi 4096M sd.img
3.5. on Linux, use "./mksdcard -l label size (for MB use xM) name.img" (for example) ./mksdcard -l melonDSi 4096M sd.img
4. give it a second to create the file and boom! you have yourself a functioning SD card image you can mount with 3rd party software (I use the imDisk virtual disk driver program) and dd!
if you have any questions, I would be glad to answer. happy emulating everyone ![]() - pee. |
TR_mahmutpek |
| ||
Newcomer Normal user Level: 6 Posts: 5/8 EXP: 774 Next: 133 Since: 09-19-20 Last post: 1099 days ago Last view: 938 days ago |
Thx for tutorial, was looking for this! |
poudink |
| ||
![]() Big melon Normal user Level: 27 ![]() Posts: 84/176 EXP: 115343 Next: 816 Since: 03-30-17 From: Québec, Canada Last post: 424 days ago Last view: 208 days ago |
xG for GB sizes doesn't appear to work. I tried opening cmd in the executable's directory and doing mksdcard.exe -l melonDSi 2G sd.img but it didn't work and I ended up getting a 17kb file accompanied with an error about files larger (or smaller? pretty sure it said larger though, which's weird considering 4096M works fine) than 8MB not working with the Android emulator (or something like that). ____________________ Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m. |
hmm |
| ||
FIRE Level: 13 Posts: 1/43 EXP: 9404 Next: 863 Since: 11-17-20 Last post: 707 days ago Last view: 668 days ago |
what will be the exact code for 128M sd card?? |
poudink |
| ||
![]() Big melon Normal user Level: 27 ![]() Posts: 86/176 EXP: 115343 Next: 816 Since: 03-30-17 From: Québec, Canada Last post: 424 days ago Last view: 208 days ago |
pretty sure that'd be mksdcard -l melonDSi 128M sd.img ____________________ Nothing to say, so jadnjkfmnjamnfjkldnajfnjkanfjdksan jsdnvj m. |
Nadia |
| ||
Pile of fazils Level: 22 Posts: 34/103 EXP: 51645 Next: 6705 Since: 03-29-17 From: Denmark Last post: 1 day ago Last view: 1 day ago |
https://kuribo64.net/get.php?id=mRJJ5GggXOPbKUMZ
Alternatively here are some pre-made empty images in 128M, 256M, 1G and 2G, just extract the one you want from the zip and its size is inflated to what it says. |
hmm |
|
hmm |
|
hmm |
| ||
FIRE Level: 13 Posts: 9/43 EXP: 9404 Next: 863 Since: 11-17-20 Last post: 707 days ago Last view: 668 days ago |
I cant mount it via file explorer |
Rayyan |
| ||
![]() Big melon Administrator Level: 28 ![]() Posts: 85/237 EXP: 129379 Next: 1959 Since: 06-25-20 From: UK Last post: 173 days ago Last view: 2 days ago |
You can mount it using a tool like OSFMount. ____________________
How to write an emulator
1. throw code to be emulated somewhere 2. make memory system that allows accessing that code 3. emulate CPU 4. have fun implementing all the other hardware -- Arisotura, Tuesday 5th January 2021, 22:00:17 |
keeeeeken |
| ||
Newcomer Hey all! Scott here and DAMN IT! I own Sonic Jam, its a pretty rare game but i don't want to be known as the guy who owns Sonic Jam when i'm dead! Level: 3 ![]() Posts: 1/2 EXP: 89 Next: 39 Since: 03-11-21 From: englandeite Last post: 998 days ago Last view: 996 days ago |
i keep getting a bash ./mksdcard: Permission denied error, help ![]() ![]() |
Rayyan |
| ||
![]() Big melon Administrator Level: 28 ![]() Posts: 147/237 EXP: 129379 Next: 1959 Since: 06-25-20 From: UK Last post: 173 days ago Last view: 2 days ago |
Posted by keeeeeken I don't think zips preserve file permissions, try: chmod +x mksdcard ____________________
How to write an emulator
1. throw code to be emulated somewhere 2. make memory system that allows accessing that code 3. emulate CPU 4. have fun implementing all the other hardware -- Arisotura, Tuesday 5th January 2021, 22:00:17 |
keeeeeken |
| ||
Newcomer Hey all! Scott here and DAMN IT! I own Sonic Jam, its a pretty rare game but i don't want to be known as the guy who owns Sonic Jam when i'm dead! Level: 3 ![]() Posts: 2/2 EXP: 89 Next: 39 Since: 03-11-21 From: englandeite Last post: 998 days ago Last view: 996 days ago |
Posted by WaluigiWare64 thanks! it worked! how do i mount a .img file? i cant really find anything useful with dd |
hoangson |
|
hoangson |
| ||
Newcomer Normal user Level: 3 Posts: 2/2 EXP: 56 Next: 72 Since: 11-05-22 Last post: 383 days ago Last view: 118 days ago |
Something that would've been nice is to have an SD image that's Unlaunch-ready from the start. The image that mksdcard generates gives an "Empty MBR entry" error when Unlaunch loads it. |
Main - General - How to make .img files for use with melonDS | Hide post layouts | New reply |
Page rendered in 0.035 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 108/108, time: 0.017 seconds. ![]() © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |