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,581
Trophies
2
Location
duel acadamia
XP
5,872
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,009
Trophies
2
Age
36
XP
4,571
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,820
Trophies
0
Location
Yorosso
XP
3,141
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,420
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,820
Trophies
0
Location
Yorosso
XP
3,141
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,420
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,820
Trophies
0
Location
Yorosso
XP
3,141
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,820
Trophies
0
Location
Yorosso
XP
3,141
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,820
Trophies
0
Location
Yorosso
XP
3,141
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
  • Psionic Roshambo @ Psionic Roshambo:
    So Bonzi buddy was an evil version of Alexa lol
    +2
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +1
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    +1
  • BakerMan @ BakerMan:
    also my reasoning for adult age being 21 is because the reason that's the drinking (and now smoking) age is because it "gives them more time to think rationally and not drive drunk"
    so you should have that extra time to mature and think rationally before going to serve in the military or vote
    +1
  • BakerMan @ BakerMan:
    tl;dr the "adult" age and the legal drinking age (and voting age) here in the US should be the same
    +4
  • Psionic Roshambo @ Psionic Roshambo:
    It's all good no one pays attention to the law anyway lol
  • BigOnYa @ BigOnYa:
    What about making kids wait till 18 or 21 to drive? And yea is messed up, you can join army and die for your country at age 18, but you can't drink alcohol or smoke a cig til 21, is ridiculous
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    If someone is in the military they should be allowed to smoke and drink at 18.... Would help drive recruitment lol
    +3
  • BigOnYa @ BigOnYa:
    We all know they do and will anyways. I think laws prevented them only pushes them to illegally do it. Even tho if was legal, most prob wouldn't even bother. Not a big deal or risque if its legal, no fun.
    +2
  • ZeroT21 @ ZeroT21:
    That's why some kids don't mind having a rap sheet or two just so they never get drafted
    +2
  • BakerMan @ BakerMan:
    also, i think the voting age should match the adult and drinking ages too, because by the logic of giving them time to mature and think rationally so they don't drive drunk, then they should also have that time to mature and think rationally so they can think for themselves
    +2
  • BakerMan @ BakerMan:
    fucking hell i'm becoming a mini leo with the way i yap aren't i?
    +1
  • impeeza @ impeeza:
    I was unable to create the VM for the debloat windows, but found the video where I learned it:

    https://www.youtube.com/watch?v=mZm6mY3I7J4
    +2
  • BigOnYa @ BigOnYa:
    No you def no leo, and I like your insight. You are a smart Baked cookie.
  • K3Nv2 @ K3Nv2:
    Chicken drumsticks and sweet potato for dinner tonight turned out good
    +1
  • BakerMan @ BakerMan:
    "i promise not to get all political and/or philosophical"
    3 drinks later:
    "so yeah think for yourself and i think the government sucks"
    +1
  • K3Nv2 @ K3Nv2:
    Is @BigOnYa drunk again
  • BakerMan @ BakerMan:
    no, i was poking fun at myself
  • BigOnYa @ BigOnYa:
    Again? I have a IV feeding me so I never come down.
    +2
  • BakerMan @ BakerMan:
    because self deprecating humor is important, as long as it doesn't turn into self hate. because you can't really make fun of anyone if you can't even make fun of yourself
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Booze enemas are real lol
  • The Real Jdbye @ The Real Jdbye:
    that explains a lot
  • K3Nv2 @ K3Nv2:
    @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets of Miami
    K3Nv2 @ K3Nv2: @BigOnYa, invented the first ever pill that gets you instantly hammered, now filling the streets...