Hacking Gaming Homebrew I cannot split NSP files on Linux

T00nist8

Well-Known Member
OP
Newcomer
Joined
Feb 27, 2021
Messages
83
Trophies
0
Age
31
XP
796
Country
United States
I recently got rid of Windows 11 on my pc and went to Linux Mint 22, an have been learning things hear and there to best use it. I tried to look up ways to NSPSplitty on there by installing Wine on there, but it seems to work on more official programs than custom made ones. So, I searched and looked over a lot of pages on finding other ways to transfer the files (the ones bigger than 4gb) to my switch, when I found the original creator of NSPSpliity made it in a python script, orignally called splitNSP, with which I checked my Linux OS comes with python3, and thus through trial and error I attempt to use the .py file, the nsp I want to split, and the command I put in several ways through my terminal to get it to work. The closest I got to was with this command line and response (I censored the name of the nsp with ---):

tron@tron-G164:~$ python3 ~/Desktop/splitNSP.py /home/tron/Desktop/ ---.nsp

========== NSP Splitter ==========

usage: splitNSP.py [-h] [-q] filepath
splitNSP.py: error: unrecognized arguments: ---.nsp

I'm still rather new to this, so could anyone help me out? I would much appreciate it from anyone to point out what I'm doing wrong and make it work.
 

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,427
Trophies
1
XP
4,891
Country
United States
I recently got rid of Windows 11 on my pc and went to Linux Mint 22, an have been learning things hear and there to best use it. I tried to look up ways to NSPSplitty on there by installing Wine on there, but it seems to work on more official programs than custom made ones. So, I searched and looked over a lot of pages on finding other ways to transfer the files (the ones bigger than 4gb) to my switch, when I found the original creator of NSPSpliity made it in a python script, orignally called splitNSP, with which I checked my Linux OS comes with python3, and thus through trial and error I attempt to use the .py file, the nsp I want to split, and the command I put in several ways through my terminal to get it to work. The closest I got to was with this command line and response (I censored the name of the nsp with ---):

tron@tron-G164:~$ python3 ~/Desktop/splitNSP.py /home/tron/Desktop/ ---.nsp

========== NSP Splitter ==========

usage: splitNSP.py [-h] [-q] filepath
splitNSP.py: error: unrecognized arguments: ---.nsp

I'm still rather new to this, so could anyone help me out? I would much appreciate it from anyone to point out what I'm doing wrong and make it work.
Well could be a number of things. A big mistake people will make in a Unix/Linux environment is files and folder names are case sensitive unlike Windows. However here it's looking like you just are not specifying the required arguments for the script to run. I am not familiar with this app but I suggest checking what the arguments are as I think you specifying the file path in this way is causing issues. There may be some argument you have to put in before the path.
 

Dust2dust

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
2,614
Trophies
2
XP
5,116
Country
Canada
Well, as far as I'm concerned, what you're doing wrong is trying to split your big NSP files. You should install your games with USB, with a cable running from your PC to your Switch. DBI, Tinwoo and Tinfoil can all install your games through USB, and no size limits. I recommend DBI.
 

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,427
Trophies
1
XP
4,891
Country
United States
I've never personally installed an NSP only ripped them but I believe DBI's MTP Responder just allows you to drag and drop the file onto the live directory to install.
 

Jayinem

Well-Known Member
Member
Joined
Dec 16, 2021
Messages
1,282
Trophies
1
XP
2,952
Country
United States
I've never personally installed an NSP only ripped them but I believe DBI's MTP Responder just allows you to drag and drop the file onto the live directory to install.

You can also start a server and load the nsp, but I'm not sure why the method choosing the nsp or drag and dropping it is important.
 

T00nist8

Well-Known Member
OP
Newcomer
Joined
Feb 27, 2021
Messages
83
Trophies
0
Age
31
XP
796
Country
United States
Well, as far as I'm concerned, what you're doing wrong is trying to split your big NSP files. You should install your games with USB, with a cable running from your PC to your Switch. DBI, Tinwoo and Tinfoil can all install your games through USB, and no size limits. I recommend DBI.
I looked up about DBI but apparently its in russian and I saw it translated in english on its GitHub, so I don't know where to get an english version and continue from there or if its in english if I download it.
 

Dust2dust

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
2,614
Trophies
2
XP
5,116
Country
Canada
I looked up about DBI but apparently its in russian and I saw it translated in english on its GitHub, so I don't know where to get an english version and continue from there or if its in english if I download it.
Download the last english version (I believe v658) and try it to get yourself familiar with the app. When you feel confident, you can switch to the latest Russian version, which is v713 as we speak. There is translation provided on the Github.
 

T00nist8

Well-Known Member
OP
Newcomer
Joined
Feb 27, 2021
Messages
83
Trophies
0
Age
31
XP
796
Country
United States
Download the last english version (I believe v658) and try it to get yourself familiar with the app. When you feel confident, you can switch to the latest Russian version, which is v713 as we speak. There is translation provided on the Github.
Ok, I was getting the hang of it and it was loading for several minutes for to connect to my computer so I wanted to go the most recent version like you said. Overall, it fell apart because the backend exe file seems to show the "DBI" logo and didn't come on and the tar.zx files I thought they could because they work with python, but it seems to run for a split second on the terminal and then stops. I kept going to the older versions until 708, which I thought ran but then stops working after the first or second time. I just don't know what's wrong...
 

Dust2dust

Well-Known Member
Member
Joined
Jun 17, 2010
Messages
2,614
Trophies
2
XP
5,116
Country
Canada
Ok, I was getting the hang of it and it was loading for several minutes for to connect to my computer so I wanted to go the most recent version like you said. Overall, it fell apart because the backend exe file seems to show the "DBI" logo and didn't come on and the tar.zx files I thought they could because they work with python, but it seems to run for a split second on the terminal and then stops. I kept going to the older versions until 708, which I thought ran but then stops working after the first or second time. I just don't know what's wrong...
DBI backend works for me (I mean the python script, never tried the exe), it should for you too, but you can also try the MTP responder. Then it's just drag and dropping your nsp files, practically.
 

T00nist8

Well-Known Member
OP
Newcomer
Joined
Feb 27, 2021
Messages
83
Trophies
0
Age
31
XP
796
Country
United States
DBI backend works for me (I mean the python script, never tried the exe), it should for you too, but you can also try the MTP responder. Then it's just drag and dropping your nsp files, practically.
What do I do to get it to work?
 

T00nist8

Well-Known Member
OP
Newcomer
Joined
Feb 27, 2021
Messages
83
Trophies
0
Age
31
XP
796
Country
United States
I just go in the directory where the backend is, open a terminal, and enter this command. I'm on Linux Ubuntu.

Reading the readme on the github might be helpful also, concerning dependencies.
I downloaded DBI backend tar.xz file and the nro and config files from the 713 release, and got DBI running on my switch. Now, I put the backend at the home root of my OS and put in the command you provided. This is what I got as a response:

Traceback (most recent call last):
File "/home/tron/dbibackend", line 5, in <module>
import usb.core
ModuleNotFoundError: No module named 'usb'

I'm on Linux Mint 22 and have Python 3.12.3 on my computer.
Post automatically merged:

use dbi frontend (has a linux binary) though remember to install python3 and pyusb first no splitting required
I'm on Linux Mint 22 and have Python 3.12.3 on my computer, so how do I get pyusb and DBI frontend?
 
Last edited by T00nist8,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Richard Simmons and Gene Simmons should have teamed up for a workout video +1