1. AnalogMan

    OP AnalogMan ultraSuMoFramework Dev
    Member

    Joined:
    Apr 20, 2007
    Messages:
    2,896
    Country:
    United States
    As some have become aware, it's been found out that the official Nintendo SDK contains a PowerShell script for splitting NSP files into 4GiB chunks so that they can be installed from FAT32 filesystems. Seeing as the official script cannot be shared, I re-wrote it in Python3 (which makes it useable on more than just Windows) as well as added in an additional feature.

    To run it you'll need Python3 installed. Once installed, call the script from Terminal or Command Prompt with the following:
    Code:
    python3 splitNSP.py filename.nsp
    By default this will make a copy of the NSP and split it up into parts. Once created, you'll need to open the folder's properties and check the Archive flag. This is easily done on Windows, I'm still working on a way to do it for macOS since file flags aren't saved when copying to FAT32.

    You can also activate quick mode with this command:
    Code:
    python3 splitNSP.py -q filename.nsp
    This will not make a copy of the NSP and instead will split the original. This is useful if you're running low on space as it only requires that you have 4GiB of temporary space to run it. It's also much faster.

    Once the folder is made and the archive flag is set copy it to your SD card (sdmc:/tinfoil/nsp/ if using tinfoil) and install it like any other NSP.

    If you have any issues feel free to submit an issue on GitHub and I'll try my best to work it out.

    Download Link: https://github.com/AnalogMan151/splitNSP/releases
     
    Last edited by AnalogMan, Oct 8, 2018
    Tyvar1, Sicklyboy, Tweakor and 48 others like this.
  2. Draxzelex

    Draxzelex GBAtemp Legend
    Member

    Joined:
    Aug 6, 2017
    Messages:
    11,585
    Country:
    United States
    Goodbye NSP divider, hello NSP splitter!
     
  3. MattKimura

    MattKimura 3DS & WiiU Enthusiast
    Member

    Joined:
    Jun 30, 2014
    Messages:
    2,129
    Country:
    United States
    Question, can you install the .nsp folder by other means (Devmenu for example)?

    (sxos nsp installer sucks because it causes the installs to show up as corrupt so I'd never use that.)
     
    Last edited by MattKimura, Oct 7, 2018
    ShortBus47XYY likes this.
  4. whateverg1012

    whateverg1012 GBAtemp Advanced Fan
    Member

    Joined:
    Sep 23, 2016
    Messages:
    525
    Country:
    United States
    tinfoil
     
  5. MattKimura

    MattKimura 3DS & WiiU Enthusiast
    Member

    Joined:
    Jun 30, 2014
    Messages:
    2,129
    Country:
    United States
    "copy it to your SD card (sdmc:/tinfoil/nsp/ if using tinfoil) "
    Suggesting that it may be used by other nsp installers. Just wanted to make sure this was what he meant by that.
     
    Last edited by MattKimura, Oct 7, 2018
    ShortBus47XYY and whateverg1012 like this.
  6. TimeDevouncer

    TimeDevouncer GBAtemp Regular
    Member

    Joined:
    Jun 7, 2018
    Messages:
    126
    Country:
    Spain
    Jojojojo:grog::grog::grog:

    Thank you so much!!:bow:
     
  7. Clydefrosch

    Clydefrosch GBAtemp Guru
    Member

    Joined:
    Jan 2, 2009
    Messages:
    5,637
    Country:
    Germany
    It's 2018 and people still haven't realized that people don't like commandlines.
     
    KlariNoX, verispi, Trender and 4 others like this.
  8. AnalogMan

    OP AnalogMan ultraSuMoFramework Dev
    Member

    Joined:
    Apr 20, 2007
    Messages:
    2,896
    Country:
    United States
    Ot should work with DevMenuApp since that’s what the original script in the SDK was for. Apps based on TinFoil should work too.

    Make a GUI for it then, I don’t mind. If you’re one of ‘those people’ you can usually just drag and drop the file onto the script. Hope drag and drop isn’t too archaic?
     
    Last edited by AnalogMan, Oct 7, 2018
    CaptainHIT, nicoDS, Tweakor and 23 others like this.
  9. CptPotato

    CptPotato Member
    Newcomer

    Joined:
    Jan 1, 2016
    Messages:
    33
    Country:
    Serbia, Republic of
    What a useless comment. For something as straightforward as this, there's no reason to have a GUI.

    It's still early days for Switch hacking, if you can't use a simple command line, you honestly have no business using any kind of CFW presently.
     
    Probe, SuzieJoeBob, Karones and 14 others like this.
  10. CptPotato
    This message by CptPotato has been removed from public view by x65943, Oct 7, 2018, Reason: Dupe.
    Oct 7, 2018 Show
  11. Captain_N

    Captain_N GBAtemp Advanced Maniac
    Member

    Joined:
    Mar 29, 2010
    Messages:
    1,811
    Country:
    United States
    I always wondered why no one writes guis with their code. I used to make them in the dos days from scratch before visual studio. Full menu and mouse control.
     
    verispi and fourminute like this.
  12. jakkal

    jakkal GBAtemp Addict
    Member

    Joined:
    Apr 27, 2018
    Messages:
    2,279
    Country:
    United States
    its 2018, if you cant use commandline you're an idiot
     
    Mazamin, Karones, shusai and 12 others like this.
  13. Maupiti

    Maupiti GBAtemp Regular
    Member

    Joined:
    Sep 16, 2018
    Messages:
    169
    Country:
    France
    Thanks a lot for your work @AnalogMan :bow:, no more reasons for me to stick to Exfat....:hateit:
     
    GarnetSunset likes this.
  14. ShadowOne333

    ShadowOne333 GBAtemp Guru
    Member

    Joined:
    Jan 17, 2013
    Messages:
    9,776
    Country:
    Mexico
    Goodbye, exFat.
    Hello FAT32!
     
    ultimatepump, lordelan and Maupiti like this.
  15. NANASHI89

    NANASHI89 GBAtemp Addict
    Member

    Joined:
    May 3, 2012
    Messages:
    2,251
    Country:
    United States
    Which python 3 do I use?

    There are so many...

    Sent from my SM-T280 using Tapatalk
     
  16. Chocola

    Chocola GBAtemp Meowgular
    Member

    Joined:
    Sep 18, 2018
    Messages:
    295
    Country:
    Korea, South
    3.7.0 it's the last stable, phyton only have hard break diferences between 2.x and 3.x
     
  17. NANASHI89

    NANASHI89 GBAtemp Addict
    Member

    Joined:
    May 3, 2012
    Messages:
    2,251
    Country:
    United States
    Inputting the command through command prompt gives me a "'python3' is not recognized as an internal or external command, operable program, or batch file."

    Sent from my SM-T280 using Tapatalk
     
    godstriker8 likes this.
  18. stewacide

    stewacide GBAtemp Regular
    Member

    Joined:
    Jun 22, 2018
    Messages:
    238
    Country:
    Canada
    Fantastic, just what I've been looking for to avoid (supposedly easy to corrupt) EXFAT. Split works on OSX for me.

    Edit -- Also, for Mac users, EXFAT has the limitation that Finder can't create folders that the Switch can see, so another reason to avoid.
     
    Last edited by stewacide, Oct 8, 2018
  19. Chocola

    Chocola GBAtemp Meowgular
    Member

    Joined:
    Sep 18, 2018
    Messages:
    295
    Country:
    Korea, South
    Use: py splitNSP.py filename.nsp

    If you are on Windows
     
    lucasthenoob and godstriker8 like this.
  20. NANASHI89

    NANASHI89 GBAtemp Addict
    Member

    Joined:
    May 3, 2012
    Messages:
    2,251
    Country:
    United States
    (null) can't open file 'splitNSP.py': [Errno 2] No such file or directory

    Sent from my SM-T280 using Tapatalk
     
  21. stewacide

    stewacide GBAtemp Regular
    Member

    Joined:
    Jun 22, 2018
    Messages:
    238
    Country:
    Canada
    To make things easy for yourself put the .py script and your NSPs in the same folder, and change to that folder before running it ('cd' command or whatever on Windows)
     
  22. Chocola

    Chocola GBAtemp Meowgular
    Member

    Joined:
    Sep 18, 2018
    Messages:
    295
    Country:
    Korea, South
    You should navigate first to folder where splitNSP.py are located and then run the command, or use full path to the file, for example if you have the script on C://Users/Username/Downloads/splitNSP.py you should:

    cd C://Users/Username/Downloads/
    py splitNSP.py filename.nsp

    Or use full path on the command:

    py C://Users/Username/Downloads/splitNSP.py filename.nsp
     
    CTBC likes this.
  23. NANASHI89

    NANASHI89 GBAtemp Addict
    Member

    Joined:
    May 3, 2012
    Messages:
    2,251
    Country:
    United States
    splitNSP.py: error: unrecognized arguments: Chronicles 2
    Sent from my SM-T280 using Tapatalk
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - splitter, Legal, FAT32