Homebrew RELEASE Legal NSP splitter for FAT32

AlternativeZero

Well-Known Member
Member
Joined
Apr 7, 2017
Messages
250
Trophies
0
XP
817
Country
Works perfectly, I'm happy I can finally stop using exfat as I kept losing saves with the emulators when I did exited the homebrew correctly.

So far fat32 is working great, although I'm not particularly sure if it installs slower or it just feels like it.
 
  • Like
Reactions: ShadowOne333

chrisrlink

Has a PhD in dueling
Member
Joined
Aug 27, 2009
Messages
5,544
Trophies
2
Location
duel acadamia
XP
5,707
Country
United States
has anyone figured out a way to set archive flag on macos w/o it erasing the flag once copied to fat32?

--------------------- MERGED ---------------------------

edit found my answer (even if it says filename it may work on folders too i also included other useful commands/explanations of them this is taken from the apple support forum

Under OS X, the FAT/FAT32 file system Readonly attribute is set when a file is locked. When a file is viewed in the Finder application, a small lock will appear on the file icon. This Readonly attribute can be set or unset by highlighting the file and then selecting "File->Get Info" from the menu bar. The Readonly attribute can then be modified by checking or unchecking the box labeled "Locked".

This also can be done from the command line. First, to view the attributes use the command below.

ls -lO <filename>

To set the Readonly attribute use the following command.

chflags uchg <filename>

To reset the Readonly attribute use the following command.

chflags nochg <filename>

To set the Hidden attribute use the following command.

chflags hidden <filename>

To reset the Hidden attribute use the following command.

chflags nohidden <filename>


To set the Archive attribute use the following command. Note: this command is the opposite of what one would expect to enter."

chflags noarch <filename> <-----command to set archive bit in OSX will try it on a folder I'll let you know if it erases


btw if you formatted your fat32 in windows it wont mount on mac natively/automaticly to do this
1) in terminal use mkdir in volumes (you need sudo since it's a system folder)
ex: sudo mkdir /volumes/switch

2) mount device with the -type flag set as "msdos"

ex: sudo mount -t msdos /dev/diskXs1 (X being the disk # of your sd card find it using diskutil --list or the disk utility gui) /volumes/switch
it should mount with RW attribute now
 
Last edited by chrisrlink, , Reason: more teminal commandss added

DocKlokMan

Plugin Dev
OP
Member
Joined
Apr 20, 2007
Messages
3,008
Trophies
2
Age
36
XP
4,559
Country
United States
btw @AnalogMan splitnsp.py on mac made 00 too large (fire emblem warriors converted to nsp about 290MB too much so it won't fit on the fat32 card) (says file is too large for format)
Odd, I made it on Mac. What macOS you running? Can you check how many bytes the file is? (Not MB, but actual bytes).
 
Last edited by DocKlokMan,

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,073
Country
Mali
I give up! Fat32 is not for me.
I've been getting too many not recognized SD card messages with ReiNX lately from my 128 GB card.
Installation/copy speeds also turned into nightmares. Oh well I tried.
 

notimp

Well-Known Member
Member
Joined
Sep 18, 2007
Messages
5,779
Trophies
1
XP
4,419
Country
Laos
File systems should not impact transfer speeds, at least not significantly.

SD Card not recognized issues also should not be caused by the file system (i.e. fat32 in general shouldnt be the issue here).

But hey - one person says something - another one picks it up - and voila, you have a trend going...

Concerning copying speeds, I'm actually curious what could cause that. Only association that comes to mind is, that MS borked the file transfer engine in Win7, but should have fixed it by now... ;) There are other file copy "engines" (programs) for Windows available, If anyone wants to try them out. Some of them come with options to skip verification steps, and all sorts of granular stuff. ;)

See f.e.
https://alternativeto.net/software/teracopy/


edit: Proof for the fat32 isnt slower statement:
https://www.flexense.com/fat32_exfat_ntfs_usb3_performance_comparison.html
 
Last edited by notimp,

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,073
Country
Mali
File systems should not impact transfer speeds, at least not significantly.

SD Card not recognized issues also should not be caused by the file system (i.e. fat32 in general shouldnt be the issue here).

But hey - one person says something - another one picks it up - and voila, you have a trend going...

Concerning copying speeds, I'm actually curious what could cause that. Only association that comes to mind is, that MS borked the file transfer engine in Win7, but should have fixed it by now... ;) There are other file copy "engines" (programs) for Windows available, If anyone wants to try them out. Some of them come with options to skip verification steps, and all sorts of granular stuff. ;)

See f.e.
https://alternativeto.net/software/teracopy/


edit: Proof for the fat32 isnt slower statement:
https://www.flexense.com/fat32_exfat_ntfs_usb3_performance_comparison.html

I have actually been using teracopy and I can assure you that upon formatting to exFAT copy speed became faster.
 

Jonesy123

Active Member
Newcomer
Joined
Dec 30, 2015
Messages
41
Trophies
0
Age
46
XP
426
Country
waiting on my jig and installer, but getting files ready. When using the cmd line, kept getting error. However if I drag and drop an nsp onto the splitnsp.py, it automatically opens up python and splits (doing Valkyria chronicles 4 into 3 parts). Any reason this version of the files would be different than opening the cmd file? can i delete the original 12gb nsp?

many thanks
 

notimp

Well-Known Member
Member
Joined
Sep 18, 2007
Messages
5,779
Trophies
1
XP
4,419
Country
Laos
Huh. Numbers? (7% in case of many tiny files - close to 0% with 1 GB and larger ones, according to the site above.)

If you also get card not recognized errors - hardware issue?

If its primarily install times, it could be the switches fat32 handling, but thats unlikely as well.. (If they sell their customers "buy digital games you store on sdcard" - they should care about read speeds at least. (Short for, Nintendo probably has tested this.)))

edit: Drag droping onto a python file - should also only do the command line execution, nothing else. Probably one of the parameters (python3 ?) not syslinked correctly (for Windows to do something if you write a parameter into a command line, this parameter has to be "registered" in a database file // probably not python 3 installed while typing python 3 - whats the error message? (I know - it always takes three back and fors and a free complimentary breakfast to get any actual information out of a mill... (stopping right there.. ;) )).

"Can I delete original." When in doubt ask your sysadmin, or your mother. ;)
If by forming that question you mean "will it automagically be stored in iCloud?" - no. (Simple answer being yes - I guess.. ;) )

edit: Standard command to run python(3) on Windows in commandline is py (not python or python3) now. Apparently. Read this: https://stackoverflow.com/questions/49540425/symbolic-link-to-python3-doesnt-work-on-windows
 
Last edited by notimp,

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,073
Country
Mali
waiting on my jig and installer, but getting files ready. When using the cmd line, kept getting error. However if I drag and drop an nsp onto the splitnsp.py, it automatically opens up python and splits (doing Valkyria chronicles 4 into 3 parts). Any reason this version of the files would be different than opening the cmd file? can i delete the original 12gb nsp?

many thanks

You shouldn't do that. You should rather delete the split folder once you install it. The Original you keep it for future use.
 
  • Like
Reactions: notimp

Jonesy123

Active Member
Newcomer
Joined
Dec 30, 2015
Messages
41
Trophies
0
Age
46
XP
426
Country
You shouldn't do that. You should rather delete the split folder once you install it. The Original you keep it for future use.

sorry I meant delete the original unsplit NSP from my laptop, as I don't need 2 versions of the nsp. If the split one will work, I'll delete the downloaded unsplit nsp. I'm unable to put any nsp onto my switch until my jig arrives in the post.
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,073
Country
Mali
sorry I meant delete the original unsplit NSP from my laptop, as I don't need 2 versions of the nsp. If the split one will work, I'll delete the downloaded unsplit nsp. I'm unable to put any nsp onto my switch until my jig arrives in the post.

That is exactly what I mean: not to delete the unsplit NSP because that one can be used by other programs unlike the split one. Heck it even does cause Tinfoil can now install over USB from the PC.
 

prodeuce

New Member
Newbie
Joined
Jun 20, 2014
Messages
4
Trophies
0
Age
28
XP
49
Country
United States
@chrisrlink I tried using your method of setting the archive flag for bayo, but when i transferred the .nsp, it wouldn't show up on tinfoil. Have you had any issues like this? I used terminal to set the archive attribute (the command was chflags noarch filename) and i tried locking the folder through the get info menu.
 

Zumoly

GBATemp Analyst
Member
Joined
Apr 27, 2018
Messages
1,817
Trophies
0
Location
Yorosso
XP
3,073
Country
Mali

FightingPolygon

Well-Known Member
Member
Joined
Jun 8, 2016
Messages
98
Trophies
0
Age
24
XP
491
Country
United States
When the NSP is split the output is not in NSP format or in any format, just "File".

Do I just rename it with a ".nsp" to make them NSPs?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    I guess Ancientboi would be Peter
    +2
  • SylverReZ @ SylverReZ:
    Loooooool :rofl2:
  • SylverReZ @ SylverReZ:
    So true
  • BigOnYa @ BigOnYa:
    @K3Nv2 Snow Day is pretty fun. My only bitch would be the camera controls, when you move around, say down, you have to move the right stick left or right to get camera to turn and get your view, other than that I like it so far.
  • K3Nv2 @ K3Nv2:
    From what people say pvp isn't even worth it
  • BigOnYa @ BigOnYa:
    I just been playing offline, and they give you a few bots here n there on your team to help battle. I don't think it's as funny as the other games tho, more battle oriented than humor, which kinda sucks, but I'm still early in it
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, doesnt the game have a campaign mode?
  • BigOnYa @ BigOnYa:
    Yea, and co-op, but you can also start a pvp session and battle just with friends. You get special skill cards (powers) the more you play. And higher value cards, but you can only enable so many cards at a time.
  • K3Nv2 @ K3Nv2:
    If you can find enough for it
  • BigOnYa @ BigOnYa:
    Toilet paper is considered the money, you collect and buy stuff with TP, kinda funny. Graphics are def better than the other games tho, I think they used Unity 5 engine.
  • Psionic Roshambo @ Psionic Roshambo:
    Look if I zoom in enough I can see the herpes!!!
    +1
  • BigOnYa @ BigOnYa:
    In fact I'm gonna go make a drink, roll a fatty n play some, good night to all!
    +2
  • Xdqwerty @ Xdqwerty:
    I bet most people at the time still watched it in black and white
  • SylverReZ @ SylverReZ:
    @Xdqwerty, Many of them did before colour television was common.
  • SylverReZ @ SylverReZ:
    Likely because black and white TV was in-expensive.
    +1
  • K3Nv2 @ K3Nv2:
    It certainly wasn't inexpensive it cost the same as a new car back then
  • K3Nv2 @ K3Nv2:
    How much did a 1965 color TV cost?

    For example, a 21-inch (diagonal) GE color television in 1965 had an advertised price of $499, which is equal to $4,724 in today's dollars, according to the federal government's inflation calculator.
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, take into consideration how economy was back then
  • K3Nv2 @ K3Nv2:
    Yeah that's why they listed inflation rates
  • Xdqwerty @ Xdqwerty:
    Sorry didnt read that part
  • BakerMan @ BakerMan:
    @LeoTCK don't worry i knew he was joking
    +1
    BakerMan @ BakerMan: @LeoTCK don't worry i knew he was joking +1