Title Switch - GUI Backup Manager (with LayeredFS support!) for Win/Mac/Linux

icon128.png

Title Switch 1.1 BETA+W
LayeredFS/Plague backup manager

recording19.gif

Title Switch is a free and open-source Nintendo Switch backup manager for macOS, GNU/Linux, and Windows. With Title Switch you can copy your XCI/NCA backups to your Nintendo Switch's microSD card in just a few clicks, and see what titles you have replaced.
Select your SD card (or let the program do it for you), the game you want to install, the donor title (unless you use Plague), then click on "Install backup."


Changelog:
1.1 BETA+W
  • Native Windows support
1.1 BETA
  • Built-in main.npdm patching
  • Drag&drop support
  • Convert and install XCI files directly
  • The target ID can now be changed
  • Plague is now supported! You can also migrate your library from classic LayeredFS
  • Improved animations
  • Better logging! You can now save the log file, or manually get a copy from your OS's temp folder
  • You will now be prompted to open hactool or keys.txt if necessary
  • Various fixes and improvements
1.0.1
  • Bug fixes

Reporting issues:
  • Dump your keys and cartridge again
  • Try the virtual appliance version, if possible
  • Attach the log file (important) and be specific i.e. are you using the 32-bit version on Windows? 64-bit version on Ubuntu 18.04?
  • Not all games are compatible with LayeredFS/Plague
Downloads:
GQ8mhv5.png

Requirements:
  • macOS 10.3.4 High Sierra or higher (older versions might also work)
  • keys.txt (click on Tools → Create keys.txt, follow the instructions, then copy your keys.txt file to Title Switch.app (right-click, select "Show package contents)/Contents/macOS or open keys.txt when prompted if you're using version 1.1 BETA)
  • hactool (included)
  • exFAT might not work correctly in macOS, but it is required for 4 GB+ files. Use the virtual appliance version for full exFAT support
  • Qt 5.11 (if you want to build from source)
Release: https://github.com/nastys/titleswitch/releases
Source code: https://github.com/nastys/titleswitch
License: GNU GPLv3
Screenshot_20180626_024127.png

Requirements:
  • Ubuntu 18.04 LTS or any other GNU/Linux distribution
  • keys.txt (click on Tools → Create keys.txt, follow the instructions, then copy your keys.txt file to the application folder or open keys.txt when prompted if you're using version 1.1 BETA)
  • hactool (included)
  • For exfat support, open a terminal and enter: sudo apt install -y exfat-*
  • Qt 5.11 (if you want to build from source)
Release: https://github.com/nastys/titleswitch/releases
Source: https://github.com/nastys/titleswitch
License: GNU GPLv3
Cattura.PNG

Requirements:
  • Windows 10 1804 (older versions might also work)
  • keys.txt (click on Tools → Create keys.txt, follow the instructions, then copy your keys.txt file to the application folder or open keys.txt when prompted if you're using version 1.1 BETA)
  • hactool (included)
  • Qt 5.11 (if you want to build from source)
Release: https://github.com/nastys/titleswitch/releases (64-bit version recommended)
Source: https://github.com/nastys/titleswitch
License: GNU GPLv3
This is an Ubuntu 18.04 LTS virtual machine with exFAT support and Title Switch 1.1 BETA preloaded. It works on any host operating system. Copy your ROMs (NCA or XCI) to the microSD (or a flash drive), then safely eject it from the host OS and pass it to the VM.

Download: https://mega.nz/#!54pgCARS!Vzq2YRPi9Tbf5zywcwXz7sduAic0gZexi5MDRdzxA2s
VirtualBox (Extension Pack recommended): https://www.virtualbox.org/wiki/Downloads

License: GNU GPLv3
 
Last edited by nastys,

DrFizzles

Active Member
Newcomer
Joined
Jun 6, 2018
Messages
25
Trophies
0
XP
121
Country
United States
Every time I try patching Skyrim over something I do not get the main.npdm file. Is it just because it's took big (~15gb)?
 

nastys

ナースティス
OP
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Every time I try patching Skyrim over something I do not get the main.npdm file. Is it just because it's took big (~15gb)?
Did you convert the XCI file to NCA using Title Switch 1.0.1? How big is the NCA file compared to the XCI? Is your microSD exFAT or FAT32? How much space is available?
 

DrFizzles

Active Member
Newcomer
Joined
Jun 6, 2018
Messages
25
Trophies
0
XP
121
Country
United States
Did you convert the XCI file to NCA using Title Switch 1.0.1? How big is the NCA file compared to the XCI? Is your microSD exFAT or FAT32? How much space is available?

Yes, converted to NCA using 1.0.1.
XCI was 15.97gb, NCA was 15.38gb
It's a 128gb SD card so it's exFAT, 110gb available after Skyrim dump
 

nastys

ナースティス
OP
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Version 1.1 BETA released!
  • Built-in main.npdm patching
  • Drag&drop support
  • Convert and install XCI files directly
  • The target ID can now be changed
  • Plague is now supported! You can also migrate your library from classic LayeredFS
  • Improved animations
  • Better logging! You can now save the log file, or manually get a copy from your OS's temp folder
  • You will now be prompted to open hactool or keys.txt if necessary
  • Various fixes and improvements
There is no full Windows support yet, but that's what I'm going to add next, along with GNU/Linux builds.

Yes, converted to NCA using 1.0.1.
XCI was 15.97gb, NCA was 15.38gb
It's a 128gb SD card so it's exFAT, 110gb available after Skyrim dump
Please try again with version 1.1 BETA. If it doesn't work, please send me the log file.
 
Last edited by nastys,

DrFizzles

Active Member
Newcomer
Joined
Jun 6, 2018
Messages
25
Trophies
0
XP
121
Country
United States
Version 1.1 BETA released!
  • Built-in main.npdm patching
  • Drag&drop support
  • Convert and install XCI files directly
  • The target ID can now be changed
  • Plague is now supported! You can also migrate your library from classic LayeredFS
  • Improved animations
  • Better logging! You can now save the log file, or manually get a copy from your OS's temp folder
  • You will now be prompted to open hactool or keys.txt if necessary
  • Various fixes and improvements
There is no full Windows support yet, but that's what I'm going to add next, along with GNU/Linux builds.


Please try again with version 1.1 BETA. If it doesn't work, please send me the log file.

Tried with Cave Story (2gb) and Binding of Isaac (2gb) replacing Fallout Shelter, neither would load.
Using LayeredFS CFW from here - https://github.com/tumGER/SDFilesSwitch/releases

Have tried Dragon Quest Builders (2gb), Kirby Star Allies (3.99gb), Portal Knights (3.99), and Skyrim (15.97gb) and Title Switch crashes for all of them.
Every once in a while the program just sits loading and never finishes.

The log file is empty every time I save it.
 

nastys

ナースティス
OP
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
Tried with Cave Story (2gb) and Binding of Isaac (2gb) replacing Fallout Shelter, neither would load.
Using LayeredFS CFW from here - https://github.com/tumGER/SDFilesSwitch/releases

Have tried Dragon Quest Builders (2gb), Kirby Star Allies (3.99gb), Portal Knights (3.99), and Skyrim (15.97gb) and Title Switch crashes for all of them.
Every once in a while the program just sits loading and never finishes.

The log file is empty every time I save it.
I've just tried it myself on a clean computer (High Sierra 10.13.4, no SDK nor anything) and everything works as expected, including logging and the the main.npdm matches the one generated by dovah's online patcher.
Tested both on a real microSD formatted as exFAT and a folder on the computer's SSD using The Binding of Isaac: Afterbirth+ XCI (I haven't tried launching the game itself). However, macOS's exFAT driver is known to cause issues with Switch homebrew, so try using a smaller, FAT32 microSD and see if it works (or use a local folder instead, then copy your games from that folder to the microSD manually in Windows or Linux). Also check your keys.txt and backup files.

Schermata 2018-06-27 alle 02.36.00.png
 
Last edited by nastys,

DrFizzles

Active Member
Newcomer
Joined
Jun 6, 2018
Messages
25
Trophies
0
XP
121
Country
United States
I've just tried it myself on a clean computer (High Sierra 10.13.4, no SDK nor anything) and everything works as expected, including logging and the the main.npdm matches the one generated by dovah's online patcher.
Tested both on a real microSD formatted as exFAT and a folder on the computer's SSD using The Binding of Isaac: Afterbirth+ XCI (I haven't tried launching the game itself). However, macOS's exFAT driver is known to cause issues with Switch homebrew, so try using a smaller, FAT32 microSD and see if it works (or use a local folder instead, then copy your games from that folder to the microSD manually in Windows or Linux). Also check your keys.txt and backup files.

View attachment 133460

I'm on High Sierra 10.13.5, definitely not a fresh install though (probably have a lot of crap on it from over the years).

I tried a smaller, clean 4gb SD card (FAT32) and still had issues. Also have tried a folder on the computer but the program still crashes or games don't load.

Am I maybe doing something wrong? I download an XCI file (from romuniverse), I insert my SD card and 'detect' it in the program, I pick a compatible Target ID (from lfsdb), and I click "Install backup". Do I need to do anything on the Switch with the SD card before putting it in the computer?

I apologize if I'm being a bother with these problems. I'm a developer as well (websites, not apps) so I know how frustrating it can be when someone is having consistent issues that you can't replicate and debug.
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,100
Country
Mali
I'm on High Sierra 10.13.5, definitely not a fresh install though (probably have a lot of crap on it from over the years).

I tried a smaller, clean 4gb SD card (FAT32) and still had issues. Also have tried a folder on the computer but the program still crashes or games don't load.

Am I maybe doing something wrong? I download an XCI file (from romuniverse), I insert my SD card and 'detect' it in the program, I pick a compatible Target ID (from lfsdb), and I click "Install backup". Do I need to do anything on the Switch with the SD card before putting it in the computer?

I apologize if I'm being a bother with these problems. I'm a developer as well (websites, not apps) so I know how frustrating it can be when someone is having consistent issues that you can't replicate and debug.

Your layeredfs configuration should be double checked. If you had it previously working try reverting back to that. Most likely the program is fine.
 
Last edited by Zumoly, , Reason: Autocorrect is a pain!

nastys

ナースティス
OP
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
I'm on High Sierra 10.13.5, definitely not a fresh install though (probably have a lot of crap on it from over the years).

I tried a smaller, clean 4gb SD card (FAT32) and still had issues. Also have tried a folder on the computer but the program still crashes or games don't load.

Am I maybe doing something wrong? I download an XCI file (from romuniverse), I insert my SD card and 'detect' it in the program, I pick a compatible Target ID (from lfsdb), and I click "Install backup". Do I need to do anything on the Switch with the SD card before putting it in the computer?

I apologize if I'm being a bother with these problems. I'm a developer as well (websites, not apps) so I know how frustrating it can be when someone is having consistent issues that you can't replicate and debug.
Try this virtual appliance:
Download: https://mega.nz/#!54pgCARS!Vzq2YRPi9Tbf5zywcwXz7sduAic0gZexi5MDRdzxA2s
VirtualBox (Extension Pack recommended): https://www.virtualbox.org/wiki/Downloads
If it works, then the ROM and keys.txt files are fine and you should reinstall macOS (or keep using the VM), otherwise you should dump your console's keys and cartridges again.
Also, this VM fully supports exFAT.

Can't wait for the windows version.
You can use the virtual appliance in the meantime. It's probably a big download, though.
 
  • Like
Reactions: SG911

DrFizzles

Active Member
Newcomer
Joined
Jun 6, 2018
Messages
25
Trophies
0
XP
121
Country
United States
Try this virtual appliance:
Download: https://mega.nz/#!54pgCARS!Vzq2YRPi9Tbf5zywcwXz7sduAic0gZexi5MDRdzxA2s
VirtualBox (Extension Pack recommended): https://www.virtualbox.org/wiki/Downloads
If it works, then the ROM and keys.txt files are fine and you should reinstall macOS (or keep using the VM), otherwise you should dump your console's keys and cartridges again.
Also, this VM fully supports exFAT.

It at least doesn't crash, but instead tells me "can't find main.npdm file".

Question: Do I need to have the main.npdm/other files for the game I'm overwriting already? So if I'm trying to put The Binding of Isaac onto Fallout Shelter should I already have the files for Fallout Shelter? Is that why it says it can't find the main.npdm file?

Or maybe I just need to find some better XCI files...
 

nastys

ナースティス
OP
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
It at least doesn't crash, but instead tells me "can't find main.npdm file".

Question: Do I need to have the main.npdm/other files for the game I'm overwriting already? So if I'm trying to put The Binding of Isaac onto Fallout Shelter should I already have the files for Fallout Shelter? Is that why it says it can't find the main.npdm file?

Or maybe I just need to find some better XCI files...
main.ndpm is in the NCA file, which is in the XCI dump. If the program can't find it, you should dump your keys.txt and cartridge again.
 

DrFizzles

Active Member
Newcomer
Joined
Jun 6, 2018
Messages
25
Trophies
0
XP
121
Country
United States
main.ndpm is in the NCA file, which is in the XCI dump. If the program can't find it, you should dump your keys.txt and cartridge again.

I've tried probably everything at this point, and I just don't think I'm meant to be swapping titles. I'm sure your program works great (else you wouldn't have released it) but no program or XCI dump I try will work (downloaded or dumped from an owned cartridge).

I'll save you having to work out my issues since it seems I'm the only one, good luck :)
 

nastys

ナースティス
OP
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
I've tried probably everything at this point, and I just don't think I'm meant to be swapping titles. I'm sure your program works great (else you wouldn't have released it) but no program or XCI dump I try will work (downloaded or dumped from an owned cartridge).

I'll save you having to work out my issues since it seems I'm the only one, good luck :)
The program is just calls hactool with the correct arguments. You can try using hactool directly if you like :) (check the log for the commands you need to run)
If no dump works for you then it's probably your keys.txt.
 
Last edited by nastys,

DrFizzles

Active Member
Newcomer
Joined
Jun 6, 2018
Messages
25
Trophies
0
XP
121
Country
United States
The program is just calls hactool with the correct arguments. You can try using hactool directly if you like :) (check the log for the commands you need to run)
If no dump works for you then it's probably your keys.txt.

I think you're right about the keys, because I've tried a few different LayeredFS tools and the error is always the same (can't find main.npdm).
However, I've generated my keys 3 times on different machines and it's still a no go so I'm not sure where to go now.
 

nastys

ナースティス
OP
Member
Joined
Aug 5, 2014
Messages
1,730
Trophies
0
Age
26
Location
Earth
XP
1,794
Country
Italy
I think you're right about the keys, because I've tried a few different LayeredFS tools and the error is always the same (can't find main.npdm).
However, I've generated my keys 3 times on different machines and it's still a no go so I'm not sure where to go now.
Can you get the keys from another console? Maybe you can even find them online.
 

DrFizzles

Active Member
Newcomer
Joined
Jun 6, 2018
Messages
25
Trophies
0
XP
121
Country
United States
Can you get the keys from another console? Maybe you can even find them online.

I hate my life. I found some online and it works now. I thought they keys were console specific so I never thought to look for them elsewhere.

It finally goes through the process correctly and creates all the files (including main.npdm!). Now I'm just trying to get some games to actually load.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    AncientBoi @ AncientBoi: Oh? What did you take to get Hi? :angry: