how to add files over 4gb to sd card

anotherthing

Well-Known Member
Member
Joined
Mar 30, 2023
Messages
252
Trophies
0
Age
52
XP
335
Country
United States
How do I add files over 4gb to my sd card? is there a way?
FAT32 is named that because of it's file allocation since. The original FAT was 16bit, if I remember right, which can only handle files of size 2^16 bytes or 64MB. FAT32 can allocate 2^32 bytes, which is 4GB. That's a hard limit of the file system, so there is no way around it.

I have to ask, what are you trying to put on your SD card that's larger than 4GB? Movies? If it's movies, you can get them smaller by scaling them down since the 3DS display is no where close to HD. The top screen, if I remember correctly, is 400x240 and the lower is 320x240.
 

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
931
Trophies
0
Location
Vancouver
XP
1,251
Country
Canada
I figured it out. Was having an issue with a .3ds game. Fixed the issue though.

Since there are not any 3DS games over 4GB, why don't you tell us what the problem was and what you did to remedy it?

Edit: Had to have been a custom rom of some sort. I imagine you either installed it over your network, trimmed it, or converted it to cia.
 
Last edited by RedColoredStars,

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,433
Trophies
2
XP
14,887
Country
Germany
, if I remember right, which can only handle files of size 2^16 bytes or 64MB.
FAT16 can generally handle ≈2GB files (which is the normal maximum of FAT16 file system anyway when not using 64KB or 128KB clusters like NT4.0 allowed)

Since there are not any 3DS games over 4GB, why don't you tell us what the problem was and what you did to remedy it?

Edit: Had to have been a custom rom of some sort. I imagine you either installed it over your network, trimmed it, or converted it to cia.
There are some 4GB 3DS card games – albeit not full. Trimming the file will always go below 4GB. Maybe the untrimmed file has 4,294,967,296 bytes (4GB) instead of 4,294,967,295 what FAT32 can handle normally. Just guessing
 
  • Like
Reactions: Hayato213

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
19,952
Trophies
1
XP
20,983
Country
United States
Since there are not any 3DS games over 4GB, why don't you tell us what the problem was and what you did to remedy it?

Edit: Had to have been a custom rom of some sort. I imagine you either installed it over your network, trimmed it, or converted it to cia.

Pokemon Ultra Moon and Sun are 4GB in .3ds format.
 
Last edited by Hayato213,
  • Like
Reactions: anotherthing

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
931
Trophies
0
Location
Vancouver
XP
1,251
Country
Canada
Pokemon Ultra Moon and Sun are over 4GB in .3ds format.

Thanks for stating what someone else already basically stated. Seems like that's your gig today so far though. ;) That they installed the rom over their network, trimmed it, or converted it to cia still stands regardless of a custom rom or not.
 
  • Haha
Reactions: Hayato213

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
19,952
Trophies
1
XP
20,983
Country
United States
Thanks for stating what someone else already basically stated. Seems like that's your gig today so far though. ;) That they installed the rom over their network, trimmed it, or converted it to cia still stands regardless of a custom rom or not.

Pokemon Ultra Sun and Moon are 4.00 GB (4,294,967,296 bytes) and FAT32 limit is 4,294,967,295 bytes, so there are games that you can't copy and paste into the SD card, I know you can do network install, or trim it or even convert it to a .cia but probably there is a reason why the guy is using a .3ds.
 

RedColoredStars

Well-Known Member
Member
Joined
Aug 14, 2022
Messages
931
Trophies
0
Location
Vancouver
XP
1,251
Country
Canada
Pokemon Ultra Sun and Moon are 4.00 GB (4,294,967,296 bytes) and FAT32 limit is 4,294,967,295 bytes, so there are games that you can't copy and paste into the SD card, I know you can do network install, or trim it or even convert it to a .cia but probably there is a reason why the guy is using a .3ds.

Why exactly are you pointing out the same points that have already been made by both yourself and another user? That there ARE games that can be over 4GB has already been clarified. Why keep going there? Regarding a possible reason to use 3ds over cia for a game, please elaborate on what possible reason you think that could be. I can't think of any for a game.
 

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
19,952
Trophies
1
XP
20,983
Country
United States
Why exactly are you pointing out the same points that have already been made by both yourself and another user? That there ARE games that can be over 4GB has already been clarified. Why keep going there? Regarding a possible reason to use 3ds over cia for a game, please elaborate on what possible reason you think that could be. I can't think of any for a game.

Well probably because he is a flashcart user like stargate or sky3ds probably.
 
  • Like
Reactions: RedColoredStars

ghjfdtg

Well-Known Member
Member
Joined
Jul 13, 2014
Messages
1,360
Trophies
1
XP
3,284
Country
FAT32 is named that because of it's file allocation since. The original FAT was 16bit, if I remember right, which can only handle files of size 2^16 bytes or 64MB. FAT32 can allocate 2^32 bytes, which is 4GB. That's a hard limit of the file system, so there is no way around it.
That's not accurate. The reason why files are limited to 4294967296 - 1 bytes is because the file entries in directories encode the size as one 32 bit field and that can only go as high as that. The FAT itself is limited by 32 bit entries divided into clusters. And sectors are almost always 512 bytes which causes the 2 TB limit.
 
  • Like
Reactions: anotherthing

Kwyjor

Well-Known Member
Member
Joined
May 23, 2018
Messages
4,323
Trophies
1
XP
4,454
Country
Canada
FAT16 can generally handle ≈2GB files (which is the normal maximum of FAT16 file system anyway when not using 64KB or 128KB clusters like NT4.0 allowed)
Oh, gee, I thought NT4 only allowed 64 KB clusters, but https://en.wikipedia.org/wiki/File_Allocation_Table suggests it goes all the way up to 256 KB!? (Why in the world would anyone do that!? Especially if no other operating system supported it?)
 
  • Like
Reactions: KleinesSinchen

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,433
Trophies
2
XP
14,887
Country
Germany
Oh, gee, I thought NT4 only allowed 64 KB clusters, but https://en.wikipedia.org/wiki/File_Allocation_Table suggests it goes all the way up to 256 KB!? (Why in the world would anyone do that!? Especially if no other operating system supported it?)
Off-topic, but interesting (at least for me):

You won't believe it (and I did not know it until trying today): Linux supports these obscure edge cases.
Created increasingly large partitions on a 128GB flash drive and tried to force mkfs.vfat into writing FAT16 (it will of course default to FAT32 for >2GB)
mkfs.vfat -F 16 -n TEST3 -v -S 4096 /dev/sdd1 mkfs.fat 4.2 (2021-01-31) /dev/sdd1 has 255 heads and 63 sectors per track, hidden sectors 0x0800; logical sector size is 4096, using 0xf8 media descriptor, with 4194036 sectors; drive number 0x80; filesystem has 2 16-bit FATs and 128 sectors per cluster. FAT size is 128 sectors, and provides 32761 clusters. There are 128 reserved sectors. Root directory contains 16384 slots and uses 128 sectors. Volume ID is 3f012a96, volume label TEST3.
FAT16_D.png

The maximum file size in this scenario is 4GB-1B.

It works normally. Auto mounts on Ubuntu Mate. Writable, readable, large file checksum passed after removing and reinserting the USB drive. Windows 10 on the other hand does not acknowledge the presence of any file system at all (and just pretends the partition is "RAW" offering formatting).

64KB cluster size with normal 512 byte sectors resulting in max 4GB is accepted by Windows 10.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Maybe but is it worth it?