File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
xivModdingFramework/SqPack/FileTypes Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -86,14 +86,10 @@ private static long GetMaximumFileSize(string drive)
86
86
case "FAT32" :
87
87
return 4294967296 ;
88
88
case "NTFS" :
89
- // This isn't the actual NTFS limit, but is a safety limit for now while we test higher DAT sizes. (8GB)
90
- // Theoretical offset-addressable maximum is 2^35 for DX11, NTFS DAT files. (28 Shift 7)
91
- return 8589934592 ;
89
+ // 2 ^35 is the maximum addressable size in the Index files. (28 precision bits, left-shifted 7 bits (increments of 128)
90
+ return 34359738368 ;
92
91
case "exFAT" :
93
- // exFAT devices are supposed to be able to take larger sizes, and it works for FFXIV
94
- // But in practice, TexTools can't access file pointers above 2GB on exFAT devices.
95
- // .NET thing probably.
96
- return 8589934592 ;
92
+ return 34359738368 ;
97
93
default :
98
94
// Unknown HDD Format, default to the basic limit.
99
95
return 2000000000 ;
You can’t perform that action at this time.
0 commit comments