COMPLETED NRO Asset Editor

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by vgmoose, Mar 17, 2018.

  1. vgmoose
    OP

    vgmoose GBAtemp Regular

    Member
    6
    Jan 31, 2016
    United States
    This is a small program that allows editing of the icons and metadata within an already compiled .NRO file. I'm hoping that this tool makes it easier to organize some of the Switch homebrew that is coming, out as this data is embedded directly into the binary.

    Download is here:
    https://github.com/vgmoose/nro-asset-editor/releases

    One example usage of this program is editing the Assets data of a pynx .nro so that you can fully publish your own python-based Switch homebrew only by editing the main.py file and adding your own assets!

    Screen Shot 2018-03-16 at 10.05.09 PM.png Screen Shot 2018-03-16 at 10.11.27 PM.png

    This program is open source, if you would like to contribute the source code is also available at the above link. In the future, I would like to add a command-line only version of this program so that it can be invoked without needing a display, which may be useful for Makefiles.

    The program does not output much debug information (unless an error happens). I don't usually release PC tools so please let me know on Github if there are any issues with it.
     
    Milenko, hamrawk, MYFW and 30 others like this.
  2. wsdyleon

    wsdyleon Member

    Newcomer
    2
    Aug 12, 2011
    United States
    good job!it will be an useful tool after cfw being out
     
  3. yardie

    yardie Banned

    Banned
    8
    Mar 27, 2016
    United States
    Clueless person. This can be used right now to edit nros. We don't need to wait for cfw
     
    Last edited by yardie, Mar 17, 2018
    cagycee likes this.
  4. wsdyleon

    wsdyleon Member

    Newcomer
    2
    Aug 12, 2011
    United States
    you are right!i need waiting for cfw to use this tool since i donot have any homebrew at ofw v4.0.1.maybe you can get my words from CHinese-English
     
  5. WiiuGold

    WiiuGold GBAtemp Advanced Fan

    Member
    6
    Jan 5, 2015
    United States
    Thank you for a easy program . What size image we should use ?
     
  6. Masterwin

    Masterwin GBAtemp Fan

    Member
    4
    Jan 7, 2016
    Spain
    Nice job!!!Nice job!!!
     
    CatmanFan likes this.
  7. vgmoose
    OP

    vgmoose GBAtemp Regular

    Member
    6
    Jan 31, 2016
    United States
    256x256 is the size of the image that gets inserted into the NRO, but you can use a larger square one and it should resize it for you
     
  8. CatmanFan

    CatmanFan rip my right Joy-Con rail

    Member
    6
    Aug 14, 2016
    Morocco
    Neat! This will be useful for apps within CFW!
     
    mitcha likes this.
  9. mitcha

    mitcha GBAtemp Regular

    Member
    2
    Dec 20, 2015
    Algeria
    works great ,thank you
    [​IMG]
     
    CatmanFan, lordelan and Masterwin like this.
  10. lordelan

    lordelan GBAtemp Addict

    Member
    8
    Jan 4, 2015
    Germany
    You could add this information to the first post. :P

    So the icons are directly inside the NRO file. Good to know and thanks for the great tool! I really can see this being used very often with OpenBOR or (as you said) Python games or for emulators/cores. :)
     
    mitcha likes this.
  11. SirBeethoven

    SirBeethoven Do good, be good. Let's fight injustice together.

    Member
    6
    Nov 26, 2015
    United States
    Sorry for the bump, but was anyone able to use this on Windows? I'm having troubles
     
  12. lordelan

    lordelan GBAtemp Addict

    Member
    8
    Jan 4, 2015
    Germany
    Sure. Works great.
    What troubles do u have?
     
  13. blubber987

    blubber987 GBAtemp Regular

    Member
    2
    Apr 13, 2017
    United Kingdom
    in your basement
    Very excited for any rom hacks that are made with this.
     
  14. Shrike

    Shrike Advanced Member

    Newcomer
    2
    Mar 10, 2018
    Germany
    Worked great for me :) (Windows *.exe)

    (btw .. new Snake Version incoming *cough*)

    [​IMG]
     
    vgmoose and lordelan like this.
  15. SirBeethoven

    SirBeethoven Do good, be good. Let's fight injustice together.

    Member
    6
    Nov 26, 2015
    United States
    Hmm weird. Thanks for the confirmation guys, maybe it’s just because my computer is acting slowly currently. I’ll see if I can manage to run it
     
  16. vgmoose
    OP

    vgmoose GBAtemp Regular

    Member
    6
    Jan 31, 2016
    United States
    Which windows versions are able to run it and not run it?

    I built the exe to be portable, but I did it on windows 10, so I wonder if that has something to do with it.
     
    SirBeethoven likes this.
  17. SirBeethoven

    SirBeethoven Do good, be good. Let's fight injustice together.

    Member
    6
    Nov 26, 2015
    United States
    Hmm, I tried with windows 10. I’ll re-test it out tonight (6pm ish Central) and get back to you guys
     
  18. Leonidas87

    Leonidas87 GBAtemp Advanced Fan

    Member
    5
    Jul 15, 2014
    Canada
    Toronto, Ontario
    Can I use this tool just to add images to Homebrew Apps that do not have one?
     
    Shrike likes this.
  19. SirBeethoven

    SirBeethoven Do good, be good. Let's fight injustice together.

    Member
    6
    Nov 26, 2015
    United States
    I’m guessing you can?
     
  20. SirBeethoven

    SirBeethoven Do good, be good. Let's fight injustice together.

    Member
    6
    Nov 26, 2015
    United States
    Whenever I try to open the .exe, all theat comes up is a command program window - not what others are getting

    Edit - Nevermind, it loaded eventually.
     
    Last edited by SirBeethoven, May 19, 2018
    Shrike likes this.