[POC] Ncch.JS

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by uvekilledkenny, Mar 2, 2016.

  1. uvekilledkenny
    OP

    uvekilledkenny Newbie

    Newcomer
    6
    7
    Mar 2, 2016
    France
    Hi,

    I just finished a tool which, I hope, can be useful for someone ^^

    This is a proof of concept for creating a ncchinfo.bin with a Node.JS. This tool uses a library (lib/ncch.js) I will use later in a CIA Converter Tool in Node.JS :)

    This parses NCCH in a Node.JS way and can generate a ncchinfo.bin.
    If you can see how to improve this code feel free to fork, pull request etc.

    Code:
    Usage: ncch [options] <file>
    
    Parses NCCH from a 3DS rom and generates a Ncchinfo.bin in Node.JS
    
    Options:
    
    -h, --help      output usage information
    -V, --version   output the version number
    -i, --info      shows NCCH as a list of buffers
    -g, --generate  generates a ncchinfo.bin

    NB: The ncchinfo.bin will contain only informations for TitleID.Main.exheader.xorpad, this is a proof of concept :)

    Here is the sources: https://github.com/Uvekilledkenny/ncch.js

    Hope you'll enjoy it ;)

    PS: If i'm in the wrong section, feel free to move this to the right section soz ^^'
     
    I pwned U!, d4mation and GraFfiX420 like this.
  2. d4mation

    d4mation GBAtemp Regular

    Member
    165
    29
    Aug 3, 2013
    United States
    Node.js? My man! Hopefully we see some more tools like this done in Node around here. Great job!
     
    uvekilledkenny likes this.
  3. uvekilledkenny
    OP

    uvekilledkenny Newbie

    Newcomer
    6
    7
    Mar 2, 2016
    France
    Thanks a lot, i'm still learning Node so there might be some hiccups in my code but Practice makes perfect and I hope it'll be useful for some people :)