RELEASE NSPack - GUI for hacPack - make your own legal NSPs!

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by XorTroll, Oct 3, 2018.

  1. XorTroll
    OP

    XorTroll Dev: Goldleaf, Brew.js, Plutonium, Brew.NET...

    Member
    10
    Dec 28, 2017
    Spain
    Nowhere
    Guys, I released a new update to NSPack, a big one!

    NSPack - simple NSP package and NCA content builder


    Updated to v0.2, Many things changed!

    Hi everyone! Ready to build some custom NSPs or NCAs?
    NSPack is a simple GUI tool to build NSP packages and NCA contents, using an embedded hacPack executable.

    This GUI is 100% legal as it just uses hacPack.

    nspack.PNG
    nspack.1.PNG
    nspack.2.PNG

    Using the builder

    There are some basic elements you need to provide at least to be able to make a NSP:
    • Title ID: 16 hex characters (example: 0100CAFE1234BEEF) - any title ID should work.
    • Name: the title's name, which will be the same for all the languages.
    • Author: the author/developer's name, which will also be the same for all the languages.
    • Version: the version string (1.0.0, 2.0beta1), limited to 16 characters.
    • Product code: a simple code string (SMO's product code: LA-H-AAACA), no matter what does it have.
    • ExeFS directory: any title needs to have a ExeFS, which contains the compiled source code and the metadata NPDM.
    • Icon: provide any icon, as it will be resized to 256x256, otherwise the defaut one will be used. It's recommended to use an image which is 256x256 or bigger.
    Appart from those, there are some other optional features to add or customize:
    • RomFS: the directory containing extra files for the title.
    • Logo: the custom PNG and GIF images which are shown when booting a title.
    • Important / IPNotices / Support HTML: this three are legal information HTML documents, which can be accessed from the home menu.
    • Offline HTML: this HTML documents are useless when making homebrew NSPs, but can be used (if you know how) to make your own video players...
    • Screenshots: Will the title allow taking screenshots?
    • Video: Will the title allow recording gameplay?
    • User account: Will the title ask for a user account when booting it?
    Using asset files

    You can also save the assets as a asset file (*.nsxml format) if you are going to use that as a template for making NSPs.

    Planned stuff

    This is still a beta version, as much other stuff is planned:
    • Allow to load NACP files directly
    • Direct conversion from NRO to NSP, or any easy way to create NRO forwarders
    • Conversion from XCI to NSP
    • Add updates or add-on content support
    Useful links

    ChangeLog (0.1.1 -> 2.0)
    • Fixed Offline HTML and custom logo, they didn't work properly work
    • Huge UI redesign, now with a gray-purple theme!
    • Added NCA building support, for control, program, legalinfo and offline NCA types
    • Added new NSP options: screenshot, video capture, startup user account
    • Fixed data size and data journal size, now building retail games should work

    IMPORTANT!
    • Installing and running NSPs can get you banned. Although this NSPs are not titlekey-encrypted (ovbiously), using them can be dangerous.
    • If the NSP doesn't run on your console, it can be for various reasons: used a title ID which is smallet than the NPDM's max title ID, not using a correct key generation...
    • Don't try building titles which ask for a user, because they could fail as generated NSPs don't ask for a user.
    • For the build process the program creates a temporary directory on the same folder as the EXE. Don't try messing up with that folder or deleting it while the NSP making process, because it could crash the program. Anyway, reopening the program should reset the directory.
    • As this program is made using WPF, it won't probably work on any other OSs but Windows (Wine supports WinForms but doesn't support WPF)
    Enjoy making your own NSP packages or NCA contents!
     
    Last edited by XorTroll, Nov 2, 2018 - Reason: Add 2.0 information
  2. Knucklesfan

    Knucklesfan GBAtemp Regular

    Member
    4
    Sep 11, 2016
    United States
    Sweet! Testing RN! Can movie players be built this way? (ik that it's not legal to share)
     
  3. XorTroll
    OP

    XorTroll Dev: Goldleaf, Brew.js, Plutonium, Brew.NET...

    Member
    10
    Dec 28, 2017
    Spain
    Nowhere
    Any app should be able to be built if you have the right exefs or romfs
     
    jakkal likes this.
  4. Bigjokker

    Bigjokker GBAtemp Regular

    Member
    3
    Jan 4, 2015
    United States
    no source code?
     
  5. XorTroll
    OP

    XorTroll Dev: Goldleaf, Brew.js, Plutonium, Brew.NET...

    Member
    10
    Dec 28, 2017
    Spain
    Nowhere
    I'm quite busy right now, will upload it tomorrow
     
    Bigjokker likes this.
  6. ShadowOne333

    ShadowOne333 GBAtemp Guru

    Member
    18
    Jan 17, 2013
    Mexico
    Agree.
    There's just the release, and the GitHub repo only has the ReadMe.
     
  7. PanTheFaun
    This message by PanTheFaun has been removed from public view by Quantumcat, Oct 3, 2018, Reason: Reply to deleted post.
    Oct 3, 2018
  8. mattytrog
    This message by mattytrog has been removed from public view by Quantumcat, Oct 3, 2018, Reason: Reply to deleted post.
    Oct 3, 2018
  9. CamVSGaming

    CamVSGaming Newbie

    Newcomer
    1
    Oct 3, 2018
    United States
    Andromeda Galaxy
    Amazing! I was wondering what the "keyset" file is? If anyone could tell me that would be appreciated :)
     
  10. NoNAND

    NoNAND No NAND allowed here!

    Member
    7
    Aug 22, 2015
    Ireland
    The Void
    Do i need key files txt for this
     
  11. Adran_Marit

    Adran_Marit Walküre's Hacker

    Member
    8
    Oct 3, 2015
    Australia
    42*South
    So yes, yes you do :)
     
  12. XorTroll
    OP

    XorTroll Dev: Goldleaf, Brew.js, Plutonium, Brew.NET...

    Member
    10
    Dec 28, 2017
    Spain
    Nowhere
    I'll later release a 0.1.1 quick bugfix along with the source code
     
    hippy dave likes this.
  13. BlastedGuy9905

    BlastedGuy9905 where's the updated autopsy report

    Member
    10
    Apr 13, 2017
    United States
    under your desk
    It IS legal to be shared... That's why it says "legal" NSPs. They were illegal before because they used the SDK. Now they don't.
     
    XorTroll likes this.
  14. XorTroll
    OP

    XorTroll Dev: Goldleaf, Brew.js, Plutonium, Brew.NET...

    Member
    10
    Dec 28, 2017
    Spain
    Nowhere
    Ok, uploaded 0.1.1 version with some quick fixes, and the source code is now in GitHub!
     
    hippy dave likes this.
  15. XorTroll
    OP

    XorTroll Dev: Goldleaf, Brew.js, Plutonium, Brew.NET...

    Member
    10
    Dec 28, 2017
    Spain
    Nowhere
    Also added a screenshot of the GUI
     
    Quantumcat likes this.
  16. hyperhunt621

    hyperhunt621 Newbie

    Newcomer
    2
    Sep 7, 2018
    Incoming noob question:

    It's telling me I need to specify the ExeFS directory...where/what is that?
     
    chronoss likes this.
  17. chronoss

    chronoss GBAtemp Addict

    Member
    7
    May 26, 2015
    Central African Republic
    samething :(
     
  18. XorTroll
    OP

    XorTroll Dev: Goldleaf, Brew.js, Plutonium, Brew.NET...

    Member
    10
    Dec 28, 2017
    Spain
    Nowhere
    If you don't even know what the ExeFS is, then why are you even trying to make a nsp?
     
    Reecey and jakkal like this.
  19. CamVSGaming

    CamVSGaming Newbie

    Newcomer
    1
    Oct 3, 2018
    United States
    Andromeda Galaxy
    So uhm, the program crashes when I try i click on "build nsp package." I specified the RomFS and ExeFS directory and all that stuff. Help?
     
  20. Reecey

    Reecey Mario 64 (favorite game of all time)

    Member
    10
    Mar 7, 2010
    At Home :)
    You need to download the source code from the nsp you want to create “make” in command admin and this will create the required folders romfs & exefs then you use these folders with this app to create your nsp. If you don’t know your devkit commands or you have never “make” an .nro don’t bother you will not have a clue and if you’re asking this sort of question then I presume you won’t it’s not as easy as you think. Really what you need is a .nro to .nsp converter that would do the trick!
     
    Last edited by Reecey, Oct 7, 2018
    hyperhunt621, XorTroll and chronoss like this.
  21. chronoss

    chronoss GBAtemp Addict

    Member
    7
    May 26, 2015
    Central African Republic
    Nro2NSP don't need all of this and work well...., good for noob !
     
  22. XorTroll
    OP

    XorTroll Dev: Goldleaf, Brew.js, Plutonium, Brew.NET...

    Member
    10
    Dec 28, 2017
    Spain
    Nowhere
    Because a NRO already has a title ID, a NACP with the name and author, a ExeFS and RomFS, a icon...
     
    chronoss likes this.
Loading...