[LINUX+MAC] Emunand Tool Max

Discussion in '3DS - Flashcards & Custom Firmwares' started by nastys, Apr 24, 2015.

  1. nastys
    OP

    nastys ナースティス

    Member
    1,487
    863
    Aug 5, 2014
    Italy
    Earth
    Preview.png
    Version 1.3

    Emunand Tool Max is a tool that allows GNU/Linux and OS X users to backup and restore their emuNAND in just a few clicks, without using the terminal. It also allows them to decrypt and mount the emuNAND (thanks to cearp for letting me use 3DSFAT16tool!).

    This should have been part of 3DS-CIA Kit, but it was delayed too much due to difficulties in ROMs conversion, so I decided to release its emuNAND Tools part as a standalone app.

    This won't be ported to Windows because:
    1. this tool uses dd and other *NIX related commands to work;
    2. Windows users can do the same thing with emuNAND Tool (excluding very easy NAND decrypting and mounting :P ).
    Features of Emunand Tool Max:
    • Backup emuNAND from SD Card
    • Restore emuNAND or NAND backup to SD Card
    • Decrypt and mount NAND using Decrypt9, 3DSFAT16tool and padxorer
    • Supports emuNAND formatted using Gateway and clones
    • Material design (unfinished)
    • Shows progress with pv (Pipe Viewer) if installed
    • Licensed under GNU GPL v3
    Planned features:
    • Support Mac OS X ASAP done
    • Backup all files inside the FAT32 partition or the Nintendo 3DS folder and Launcher.dat only done
    • Material design buttons and Backup/Restore icons done (more or less...)
    • redNAND creation, backup, restore done
    • Encrypt NAND
    • Support multi-emuNAND
    • Support 2DS backup (I need the NAND size in bytes)
    • Autodetect NAND manufacturer (only required to backup the emuNAND)
    • emuNAND Backup Manager
    • DEB and RPM packages and PPA
    • Backup compression
    • Save settings
    • Optimize CFW Mode
    Issues:
    • OS X version freezes during backup or restore until done
    • OS X version does not check whether the password is correct or not
    Changes:

    1.3​
    • CFW Mode; please read below
    1.2​
    • Improved UI
    • Backup/restore the Nintendo 3DS folder on the FAT32 partition
    • Built on Qt 5.4.1, with native file selection dialogs for GNU/Linux
    • Improved file dialogs
    • Improved SD card autodetection
    • Bug fixes
    • Skip caching to SD card during restore on GNU/Linux
    1.1​
    • Ported to OS X
    • New layout
    Important information about CFW Mode:

    This mode allows you to manage the redNAND like a normal emuNAND, so when you restore an emuNAND backup, it gets automatically converted to a redNAND backup. Vice versa, when you backup your redNAND, it gets saved as an emuNAND backup.
    If you want to make or restore a redNAND backup, disable this option.
    If you want to convert previous redNAND backups to emuNAND backups, use redTools.​

    How to setup the CFW for the first time using ETM and no flashcard:
    1. Download this file and extract it to the root of your SD card
    2. Replace the CFW Launcher.dat with the Gateway one
    3. Open the browser, clear cache and cookies, then go to this page:
    4. When the console reboots, open System Settings then go to Other Settings > Profile > Nintendo DS Profile
    5. Select "Format emuNAND" and press A, then START
    6. When done, go back to the Gateway menu and press D-PAD DOWN+B to power off the console
    7. Repeat step 1 and replace the Gateway Launcher.dat with the CFW one
    8. In your SD card, backup the "Nintendo 3DS" folder, then go to the folder "Nintendo 3DS/<id1>/<id2>/dbs" (create it if it doesn't exist) and create two empty files. Name them title.db and import.db
    9. Put the SD card into the 3DS, go to Data Management > Nintendo 3DS Software and let it repair
    10. Run Emunand Tool Max and backup the emuNAND
    11. When done, enable CFW Mode and restore the backup
    12. When done, unmount the SD card, then put it back into your 3DS and repeat step 4, but this time hold L (it may take many tries to get it working)
    13. Download and extract "All CFW Files.zip" from this post
    14. Replace "IPTOMODIFY" inside "run.bat" with the IP of your 3DS
    15. Open a terminal in the CFW Files folder
    16. Enter: wine cmd /c run
    17. Power off the 3DS and repeat step 10. Now devMenu should appear. If it doesn't, then repeat steps 12-14. If it does, you don't need to hold L anymore when you boot into the CFW.
    Compatibility list

    Please report if it worked (or not) with your PC/3DS/flashcard+version.
    It is recommended to backup your entire SD card using Disks at least once before using this for the first time.
    Use at your own risk!
    Licensed under GNU GPL v3. Feel free to submit patches and enjoy :lol:

    [​IMG]Download with MEGA (If you have issues on OS X, please try to download it using Firefox.)
    [​IMG]Contribute on GitHub
     
    Last edited by nastys, Jan 3, 2017
    Joom, TheKawaiiDesu, -Xin- and 29 others like this.


  2. cearp

    cearp the ticket master

    Member
    7,466
    4,704
    May 26, 2008
    Tuvalu
    i forgot about your project, thanks :) when osx is supported i'll use it
     
    GotKrypto67 likes this.
  3. Melon__Bread

    Melon__Bread ~It's A Magik~

    Member
    709
    399
    Dec 9, 2013
    United States
    Wow did I go looking for a emuNAND tool for Linux at the right time.

    Thanks for the hard work =D
     
  4. Agent Moose

    Agent Moose GBAtemp Fan

    Member
    314
    79
    Dec 6, 2014
    United States
    Awesome! I've been using the windows emunand tool through Parallels. This will make things sooo much easier!
     
  5. Wowfunhappy

    Wowfunhappy GBAtemp Advanced Fan

    Member
    568
    158
    May 14, 2008
    United States
    Oh, thank you so much for this! Before, I was literally booting into Windows just so I could use emuNAND tool.
     
  6. cearp

    cearp the ticket master

    Member
    7,466
    4,704
    May 26, 2008
    Tuvalu
    none of you before were using dd? i was but it was really slow... the windows emunand is quite fast.
     
  7. Arkansaw

    Arkansaw GBAtemp Advanced Fan

    Member
    993
    194
    Jul 23, 2005
    Trinidad and Tobago
    just release the console versions, mac users can use those :lol:
     
  8. hippy dave

    hippy dave Butts Butts Megabutts

    Member
    2,584
    1,800
    Apr 30, 2012
    Will be great to see the Mac version :)
     
  9. iQue

    iQue GBAtemp Regular

    Member
    235
    62
    Jul 10, 2013
    Looking forward to the Mac version!;)
    I can finally get rid of the applescript's i've been using.
     
  10. nastys
    OP

    nastys ナースティス

    Member
    1,487
    863
    Aug 5, 2014
    Italy
    Earth
    OS X version released! Please check the first post :)

    BTW: GNU dd is much faster than the dd included in OS X.
    I can't help it but recommend using a GNU/Linux based OS, such as Ubuntu, if you can.
    But if you can't, don't worry: I care about users (unlike AirDroid), so I'll support the OS X version anyway ;)
     
    Margen67, cearp and hippy dave like this.
  11. Wowfunhappy

    Wowfunhappy GBAtemp Advanced Fan

    Member
    568
    158
    May 14, 2008
    United States
    I do that now with my hardmod, but I was never able to make it work properly with emuNAND (when I restored it, Gateway couldn't see it). No idea why.
     
  12. ground

    ground GBAtemp Advanced Fan

    Member
    909
    281
    Mar 22, 2007
    Netherlands
    very nice and obvious GUI, and all the tools in one! perfect app for linux&mac users
     
  13. cearp

    cearp the ticket master

    Member
    7,466
    4,704
    May 26, 2008
    Tuvalu
    how do you detect the nand manufacturer?
     
  14. nastys
    OP

    nastys ナースティス

    Member
    1,487
    863
    Aug 5, 2014
    Italy
    Earth
    The Detect NAND Manufacturer button checks the size of a NAND or emuNAND backup and returns the manufacturer.
     
    cearp likes this.
  15. iQue

    iQue GBAtemp Regular

    Member
    235
    62
    Jul 10, 2013
    Not sure if it's just me?? ...or my setup?? ...but I keep getting this error when trying to run the app (please see attached) ??
    Any suggestions??
    I'm using OS X Yosemite 10.10.
     

    Attached Files:

  16. Lucifer666

    Lucifer666 all the world needs is me

    Member
    1,485
    697
    Apr 22, 2011
    The Fourth Dimension
    I can confirm I get the same error. Can't launch it on OS X Yosemite 10.10.3 either :(
     
  17. Askedforthis

    Askedforthis GBAtemp Regular

    Member
    117
    67
    Oct 15, 2013
    Norway
    Reason being the application looks for nastys' own Qt library.
     

    Attached Files:

    Lucifer666 likes this.
  18. nastys
    OP

    nastys ナースティス

    Member
    1,487
    863
    Aug 5, 2014
    Italy
    Earth
    OK, I'm a disaster at developing apps for OS X :P
    I'll try to fix it now ^_^
     
  19. nastys
    OP

    nastys ナースティス

    Member
    1,487
    863
    Aug 5, 2014
    Italy
    Earth
    Fixed, please download the latest version from Dropbox or MEGA and try again ;)
    Can you confirm it's working now?
     
  20. iQue

    iQue GBAtemp Regular

    Member
    235
    62
    Jul 10, 2013

    Yes, this one loads ....just going to test it out now!
    Thanks for the quick fix! ;)
     
    nastys likes this.