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
341
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
1,050
Trophies
0
Location
Vancouver
XP
1,372
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,467
Trophies
2
XP
14,993
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
20,058
Trophies
1
XP
21,219
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
1,050
Trophies
0
Location
Vancouver
XP
1,372
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
20,058
Trophies
1
XP
21,219
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
1,050
Trophies
0
Location
Vancouver
XP
1,372
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
20,058
Trophies
1
XP
21,219
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,370
Trophies
1
XP
3,316
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,469
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,467
Trophies
2
XP
14,993
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
  • No one is chatting at the moment.
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87... +1