Homebrew [Release] NandInAJar - A reusable java component for editing DSi Nand Backups

ThisIsDaAccount

Well-Known Member
OP
Member
Joined
Apr 8, 2016
Messages
1,158
Trophies
0
XP
944
Country
United States
This is is something I've been working on for the past few weeks, it's a small bit of Java code for Java developers to write PC-side (or possibly Android based) nand editors for the DSi.

It can perform operations on a DSI Nand backup using java, like writing to/from it, installing apps, making tickets and footers, and downgrading.

The code isn't great, I'm not an experienced programmer at all, and I kinda doubt anyone else will use this. I'll release a GUI for this soon-ish, I'm just posting this here so I don't lose motivation.

Possible Questions you might want to ask:

Q: I'm an end-user. What can I do with this?
A: For now, nothing.
However, when I actually release a front end. you'll be able to edit your DSI Nand without ever needing to use command prompt, HxD, or OSFMount ever again.
Even when I release something using this, you should probably check out twl-nf,, it's a great console-side editing tool and will likely be better than anything using this

Q: Why did you make this in Java?
A: It's the only language I know.

Q: The code's kinda bad.
A: I know, if you have any suggestions I'll be more than glad to hear them! For now, the code just works, it's not very fancy or well-implemented.

Q: How do you use this?
A: First, you'll need to link the jar to your path and add the necessary files pack to your ouptut folder. Then, if you're editing a backup file, you'll need to make a DecryptedNandOperator object by passing the constructor the path to a decrypted nand backup, the CID, and the consoleID (all in String form), and then use the methods belonging to that object. Check out the javadoc for more information.
If instead want to edit a nand that's already mounted, you'll need to create a NandDirectoryOperator and pass it the location of the root directory and the nand's consoleID. After that, it should be almost the same as a DecryptedNandOperator.
If you have any questions, feel free to ask them here or to open an issue on Github.

Credit/Thanks to:
@LukeHasAWii and the dsiguide.me team for always being great to work with and for giving me a spot on the team
@dpad_5678 because I referenced some of his tools while making this
the devs of fat32-lib, one of the dependencies for this project
Whoever made this, I used some of the code from there

Programs that use this:


To-do List:
  • Write a GUI for this
  • Make better documentation
 
Last edited by ThisIsDaAccount,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • realtimesave @ realtimesave:
    jdhello
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    K3Nv2 @ K3Nv2: Free release can have loopholes where they still make money through ads