SplitNSP Switch

From GameBrew
splitNSP
Splitnspnx.png
General
AuthorAnalogMan151
TypePC Utilities
Version1.0.1
LicenseUnlicense
Last Updated2018/10/08
Links
Download
Website
Source

Python script that splits NSP files into 4GiB chunks so that they can be installed from FAT32 filesystems.

User guide

To run it you'll need Python3 installed. Once installed, call the script from Terminal or Command Prompt with the following:

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. You can also set the archive flag on a folder directly on the Switch using a homebrew such as NX-Shell.

You can also activate quick mode with this command:

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.

Usage

usage: splitNSP.py [-h] [-q] filepath

Split NSP files into FAT32 compatible sizes

positional arguments:
  filepath     Path to NSP file

optional arguments:
  -h, --help   show this help message and exit
  -q, --quick  Splits file in-place without creating a copy. Only requires
               4GiB free space to run

Other NSP split tools

Changelog

v1.0.1 2018/10/08

  • Fixed an issue with calculating space when provided a relative path for filename with no directories.

v1.0.0 2018/10/08

  • Initial release.

External links

Advertising: