Switch Army Knife

From GameBrew
Switch Army Knife (SAK)
Switcharmyknifesak.png
General
Authorkempa
TypeEmulation and Forwarders
Version0.7.14
LicenseMixed
Last Updated2022/04/05
Links
Download
Website
Source

With Switch Army Knife you can easily juggle XCI / NSP content from your Switch.

Note: No longer maintained.

Features

  • Patch XCI.
  • Split / merge XCI.
  • Update XCI with game update and DLC's.
  • Convert XCI to NSP.
  • Compress XCI to XCZ.
  • Decompress XCZ to XCI.
  • Extract Firmware from XCI.
  • Patch NSP.
  • Split / merge NSP.
  • Update NSP with game update and DLC's.
  • Convert NSP to XCI.
  • Compress NSP to NSZ.
  • Decompress NSZ to NSP.
  • Extracting Switch savegames which you have copied from your User partition.
  • Create NRO forwarder as installable NSP file.
  • Format the SD card in FAT32.

Installation

Requirement:

  • Windows PC.
  • Dumped keys.dat/prod.keys from your Switch console.

Unzip 7zip, place your Switch keys (keys.dat/prod.keys) to the "bin" dir near 4nxci.exe.

User guide

In general:

  • All files are always created in the SAK folder.
  • Only XCI + NSP files >= 4GB are accepted for splitting.
  • It doesn't make sense to split files < 4GB.

For patching XCI to lower firmware:

  • keys.dat/prod.keys is required.
  • File must be as XCI.

For splitting XCI:

  • XCI can be split full size or trimmed.
  • Trimmed means that the empty space at the end will be removed.
  • This will saves you a lot of space for the XCI image.
  • The new file name will be append with "_splitted".
  • Can also be split directly to the SD card over the USB card reader.

Merging XCI:

  • Extensions.xc0 and .xci.00 are accepted.

Updating XCI with game updates:

  • Require your dumped game as XCI, the latest update as NSP/NSZ optionally your dumped DLC's as NSP.

Converting XCI to NSP:

  • keys.dat/prod.keys is required.

Compressing XCI to XCZ:

  • keys.dat/prod.keys is required.

Decompressing XCZ to XCI:

  • keys.dat/prod.keys is required.

Extracting firmware:

  • keys.dat/prod.keys is required.
  • File must be in XCI.

Patching NSP to lower firmware:

  • keys.dat/prod.keys is required.
  • File must be in NSP.

Splitting NSP:

  • The split files are stored in a folder with a sequential number.
  • As reference for the folder name, the current NSP file name is taken and added with "splitted".
  • Can now be split directly to the SD card over USB card reader.
  • The archive bit is set automatically.

Merging NSP:

  • Your splitted NSP only select the (00) file.
  • All others are automatically selected.

Updating NSP with game updates:

  • Require your dumped game as NSP, the latest update as NSP/NSZ optionally your dumped DLC's as NSP.

Converting NSP to XCI:

  • Only games are supported.
  • keys.dat/prod.keys is required.

Compressing NSP to NSZ:

  • keys.dat/prod.keys is required.

Decompressing NSZ to NSP:

  • keys.dat/prod.keys is required.

Extracting saves:

  • keys.dat/prod.keys is required.
  • Your save folder from the user partition (HacDiskMount or via Homebrew Tool).

NGO forwarder:

  • keys.dat/prod.keys is required.
  • Icon as jpg/jpeg with resolution 256x256.
  • To use your own startup logos, create a folder named "custom" in the SAK.exe directory.
  • Place the files as "NintendoLogo.png" and "StartupMovie.gif" here.
  • For example look at "bin" dir.

FAT32 format:

  • If you get an error while formatting the SD card ("Failed to open device") make sure nothing is accessing the SD card. Even having the Windows Explorer open can cause this issue.
  • Here's how it should work:
    • Start FAT32 Format and then insert the SD card into the card reader.
    • Select the SD card and click on the "Format" button.

Screenshots

switcharmyknifesak.png

Changelog

v0.7.14

  • Small update (2022/04/05)
    • Add nca_id for FW 14.0.0 - 14.1.0 (used for extract FW from XCI).
  • Small update (2022/01/28)
    • Add nca_id for FW13.2.1 (used for extract FW from XCI).
    • hactoolnet update to new version 0.15.0.
  • Small update (2021/12/04)
    • Add nca_id for FW13.2.0 (used for extract FW from XCI).
    • hactoolnet update to new version 0.14.0.
  • Beta v0.7.14 (2021/11/22)
    • Fix the return main menu bug, thx to Signum21 -> #29.

v0.7.13

  • Small update (2021/10/30)
    • Add nca_id for FW13.1.0 (used for extract FW from XCI).
  • Beta v0.7.13 (2021/10/08)
    • Fix internal SAK update check.
    • If readme is deleted by User...causing crash.

v0.7.12

  • Beta v0.7.12 (2021/10/05)
    • Extract Firmware shows now the Version and renames it to Firmware X.X.X.
    • nx-hbloader used for NSP Forwarder recompiled with libnx-4.2.0-master-cee75bb.
    • hactoolnet update to new version 0.13.3.

v0.7.11

  • Small update (2021/07/05)
    • hactoolnet update to new version 0.13.1.
  • Small update (2021/06/21)
    • hactoolnet update to new version 0.13.0.
  • Beta v0.7.11 (2021/05/15)
    • Fix some HB-Tools not working in forwarder.

v0.7.10

  • Beta v0.7.10 (2021/05/14)
    • Added feature change version number in forwarder.
    • Added feature allow/deny screenshot in forwarder.
    • Added feature enable/disable video capture in forwarder.

v0.7.9

  • Small update (2021/05/06)
    • Fix savedata file and no more user selection thx to The-4n and his tool hacPackTools-NACP.
  • Beta v0.7.9 (2021/05/05)
    • Added feature create Retroarch Core forwarder.

v0.7.8

  • Small update (2021/05/05)
    • Fix hacBrewPack missing DLLs #16.
  • Beta v0.7.8 (2021/05/04)
    • Added new feature create NRO forwarder.
    • Short notice for NRO forwarder:
      • Icon as jpg/jpeg resolution 256x256.
      • To use your own startup logo, create a dir called "custom" near SAK.exe.
      • And place there your files as "NintendoLogo.png" and "StartupMovie.gif".
      • For example look at "bin" dir.

v0.7.7

  • Beta v0.7.7 (2020/12/31)
    • Small fix for patching NSP with changing label _patch.
    • NSC_BUILDER (only squirrel.exe) revert to version 0.98b.

v0.7.6

  • Small update (2020/12/30)
    • Revert NSC_BUILDER (only squirrel.exe) to version 0.98b, patching XCI to lower firm bug in newer version.
  • Beta v0.7.6 (2020/10/26)
    • Changes add _patch label if you use the patch XCI or NSP option.
    • NSC_BUILDER (only squirrel.exe) update to new version 1.01b.
    • hactoolnet update to new version 0.12.0.

v0.7.5

  • Beta v0.7.5 (2020/06/11)
    • Changes Update NSP/XCI with game update now support Updates as NSZ.
    • Added new feature patch XCI to lower firm.
    • hactool update to new version 1.4.0.
    • hactoolnet update to new version 0.11.3.

v0.7.4

  • Small update (2020/04/14)
    • hactool update to new version 1.3.3.
    • hactoolnet update to new version 0.10.0.
  • Small update (2020/02/22)
    • hactool update to new version 1.3.1.
  • Small update (2020/01/20)
    • hactool update to new version 1.3.0.
    • NSC_BUILDER (only squirrel.exe) update to new version 0.98b.
  • Small update (2020/01/07)
    • hactoolnet update to new version 0.8.1.
  • Beta v0.7.4 (2020/01/05)
    • Added new feature Update NSP with game update.
    • hactoolnet update to new version 0.8.0.

v0.7.3.1

  • Small update (2019/12/19)
    • NSC_BUILDER (only squirrel.exe) update to new Version 0.97.
  • Beta v0.7.3.1 (2019/12/02)
    • Small fix at extract saves.
    • hactoolnet update to new version 0.7.0.
    • NSC_BUILDER (only squirrel.exe) update to new version 0.96d.

v0.7.3

  • Beta v0.7.3 (2019/11/22)
    • Changes for Update XCI with game update + dlc's (multiselect possible).

v0.7.2

  • Beta v0.7.2 (2019/11/17)
    • NSC_BUILDER (only squirrel.exe) update to new Version 0.96c.
    • Added splash screen to SAK.

v0.7.1

  • Beta v0.7.1 (2019/10/26)
    • Changes for XCI merge added support for 00 split files.
    • Added new feature decompress XCZ to XCI.
    • Added new feature decompress NSZ to NSP.
    • Code cleanup.

v0.7

  • Beta v0.7 (2019/10/21)
    • Redesign SAK Main GUI.
    • Added SAK logo.
    • Added new feature compress XCI to XCZ.
    • Added new feature compress NSP to NSZ.
    • hactoolnet update to new version 0.6.0.
    • NSC_BUILDER (only squirrel.exe) update to new version 0.95.

v0.6.8.2

  • Beta v0.6.8.2 (2019/10/13)
    • Small fix Update XCI.
    • NSC_BUILDER (only squirrel.exe) update to new Version 0.93.

v0.6.8.1

  • Beta v0.6.8.1 (2019/10/04)
    • Fix wrong gui titles.
    • NSC_BUILDER (only squirrel.exe) update to new Version 0.90d.

v0.6.8

  • Beta v0.6.8 (2019/10/01)
    • Added new feature update XCI with game update.
    • Added new feature merge NSP.

v0.6.7

  • Beta v0.6.7 (2019/09/05)
    • Added new feature extract saves form the User partition.
    • NSC_BUILDER (only squirrel.exe) update to new Version 0.89b.

v0.6.6

  • Small update (2019/07/10)
    • NSC_BUILDER (only squirrel.exe) update to new Version 0.87c.
  • Beta v0.6.6 (2019/06/23)
    • Added new feature NSP to XCI converting.
    • Thanks to julesontheroad for NSC_BUILDER (only squirrel.exe included).

v0.6.5.1

  • Beta v0.6.5.1 (2019/04/21)
    • Small changes for reNXpack at SAK.
    • 4nxci update to new version 4.03.
    • reNXpack update to new version 1.16.

v0.6.5

  • Beta v0.6.5 (2019/04/12)
    • Small fixes for SAK.
    • Added new feature patch nsp to lower firm.
    • Thanks to The-4n for reNXpack.

v0.6.4.1

  • Small update (2019/04/01)
    • 4nxci update to new version 4.01.
  • Beta v0.6.4.1 (2019/03/26)
    • Fix for wrong incorrect/missing prod.keys message at XCI to NSP converting.

v0.6.4

  • Beta v0.6.4 (2019/03/25)
    • At converting process XCI to NSP.
    • Output failure message for incorrect/missing entries in prod.keys.

v0.6.3.1

  • Small update (2019/03/12)
    • 4nxci update to new version 4.0.
  • Small update (2019/02/05)
    • 4nxci update to new version 3.06.
  • Small update (2019/02/01)
    • 4nxci update to new version 3.05.
  • Beta v0.6.3.1 (2019/01/29)
    • 4nxci update to new version 3.01.
    • At converting process XCI to NSP now using titelnaming feature from 4nxci.

v0.6.3

  • Beta v0.6.3 (2019/01/26)
    • 4nxci update to new version 3.0.
    • 4nxci check free disk space before converting.
    • Extract FW from XCI check free disk space.
    • Show needed time for the complete action.
    • Removed required administrator rights from SAK.
    • If you have problems, run SAK as administrator.

v0.6.2.1

  • Beta v0.6.2.1 (2019/01/05)
    • Small fix for 4nxci execution.

v0.6.2

  • Beta v0.6.2 (2019/01/05)
    • Fix for converting XCI -> NSP always to SAK folder.
  • Beta v0.6.1 (2019/01/04)
    • Small fixes and optimizations.

v0.6

  • v0.6 (2018/12/28)
    • Extract firmware update from XCI.
    • XCI to NSP converting changes:
    • Filename auto renaming.
    • Possibility to directly split for FAT32.
    • Possibility to directly split to USB.

v0.5.1

  • v0.5.1 (2018/12/19)
    • Possibility to use prod.keys for 4NXCI.
    • Added please wait message at converting XCI to NSP process.

v0.5

  • v0.5 (2018/12/13)
    • Initial release.

Credits

4NXCI (4nxci.exe)

hacBrewPack / hptnacp (hacbrewpack.exe / hptnacp.exe)

switchbrew (nx-hbloader)

FAT32 format (guiformat.exe)

hactool (hactool.exe)

NSC_BUILDER (squirrel.exe)

LibHac (hactoolnet.exe)

reNXpack (renxpack.exe)

External links

Advertising: