Homebrew RELEASE Legal NSP splitter for FAT32

Baggesen

Member
Newcomer
Joined
Apr 19, 2007
Messages
5
Trophies
1
XP
1,823
Country
So, is this not relevant for mac users at all right now? Or do you just have to do some extra housekeeping after using the script?
 

Dipzza

New Member
Newbie
Joined
Nov 8, 2018
Messages
2
Trophies
0
Age
29
XP
72
Country
Spain
On linux file systems the archive flag doesn't exist, so is weird that you have an utility to change that property by default.

If someone else is having problems figuring out how to set the archive bit from linux:
You can use fatattr with "fatattr +a FILE" to set it in you SD card and it installs perfectly :)

Arch Linux/Antergos/Manjaro/etc: I installed it from the AUR
For Debian/Ubuntu: manpages-ubuntu-com/manpages/bionic/man1/fatattr-1-html (change '-' for '.', i can't post links)
 
Last edited by Dipzza,

dorisnov

Well-Known Member
Newcomer
Joined
Oct 4, 2016
Messages
67
Trophies
0
Age
31
XP
362
Country
Spain
I'm having this error spliting a 10gb NSP:

Code:
Starting part 00
Part 00 complete
Starting part 01
Traceback (most recent call last):
  File "splitNSP.py", line 143, in <module>
    main()
  File "splitNSP.py", line 140, in main
    splitCopy(filepath)
  File "splitNSP.py", line 108, in splitCopy
    splitFile.write(nspFile.read(chunkSize))
PermissionError: [Errno 13] Permission denied

I'm running the script on the D drive of my computer with Windows.
 

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,888
Country
United States
So I'm supposed to transfer the folder not the individual nsps?

Can I transfer the folder via usb using tinfoil?
 
Last edited by ,

Taorn

Well-Known Member
Member
Joined
May 27, 2017
Messages
257
Trophies
0
Age
53
XP
1,819
Country
United States
So I'm supposed to transfer the folder not the individual nsps?

Can I transfer the folder via usb using tinfoil?

Yes, you need to copy the folder to your sd card.

However if you use the usb installation of tinfoil, then you don't need to split the nsp in the first place. Splitting is only necessary, when you try to copy a file with over 4 GB file size to an FAT32 formatted card.
 
Last edited by Taorn,
  • Like
Reactions: EmulateLife

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,888
Country
United States
Yes, you need to copy the folder to your sd card.

However if you use the usb installation of tinfoil, them you don't need to split the nsp in the first place. Splitting is only necessary, when you try to copy a file with over 4 GB file size to an FAT32 formatted card.

Oh ok, someone posted that they were using usb on fat32 and it stopped at 4 gb. So I thought it needed to be splitted.
 

EmulateLife

Well-Known Member
Member
Joined
May 30, 2016
Messages
3,979
Trophies
0
Age
42
XP
1,888
Country
United States
Yes, you need to copy the folder to your sd card.

However if you use the usb installation of tinfoil, them you don't need to split the nsp in the first place. Splitting is only necessary, when you try to copy a file with over 4 GB file size to an FAT32 formatted card.

I could really use your help one more time. I thought I needed to split my nsps so I did all of them. Then you tell me it's not necessary for usb. Now I found out it doesn't work when they're split (cmd and tinfoil just freeze, I guess they can't load the folder) Im probably the only one to ask this but is there a way to rejoin split nsps? The whole reason I want to use usb is to avoid taking out my sd card over and over because I'm currently using tinfoil on my joycon and I want to do that as little as possible.
 

Chaotzu

Member
Newcomer
Joined
Nov 27, 2018
Messages
11
Trophies
0
Age
38
XP
99
Country
United States
hmmm, the splitter convert the nsp file into 2 files
00
and
01
when i put them in the nsp folder, after opening tinfoil, it crashes and i had to exit from tinfoil, but the switch didn't crash.

edit: oh i see, i must put the folder that ends with .nsp instead.
What folder did you put where? I put the folder ending in ".nsp" with the 01-04 split files into my tinfoil\nsp folder but tinfoil doesnt seen anything. I'm still trying to figure out how to get this to work after the split.
 

Darklinkreturns

Well-Known Member
Member
Joined
Feb 12, 2014
Messages
223
Trophies
1
Age
33
XP
1,521
Country
United States
What folder did you put where? I put the folder ending in ".nsp" with the 01-04 split files into my tinfoil\nsp folder but tinfoil doesnt seen anything. I'm still trying to figure out how to get this to work after the split.
Right-click folder > Properties > Advanced > check the 'Folder is ready for Archiving' box. Should work after that.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Xdqwerty @ Xdqwerty: Good night