Skip to content

Commit c3c05be

Browse files
author
fosspill
authored
Add common Linux Drive Formats
Adds ext2, ext3, ext4, XFS, btrfs, ZFS, ReiserFS as all support large files.
1 parent 6f554ea commit c3c05be

File tree

1 file changed

+15
-1
lines changed
  • xivModdingFramework/SqPack/FileTypes

1 file changed

+15
-1
lines changed

xivModdingFramework/SqPack/FileTypes/Dat.cs

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@ private static long GetMaximumFileSize(string drive)
9393
return 34359738368;
9494
case "exFAT":
9595
return 34359738368;
96+
case "ext2":
97+
return 34359738368;
98+
case "ext3":
99+
return 34359738368;
100+
case "ext4":
101+
return 34359738368;
102+
case "XFS":
103+
return 34359738368;
104+
case "btrfs":
105+
return 34359738368;
106+
case "ZFS":
107+
return 34359738368;
108+
case "ReiserFS":
109+
return 34359738368;
96110
default:
97111
// Unknown HDD Format, default to the basic limit.
98112
return 2000000000;
@@ -2069,4 +2083,4 @@ public static async Task<Dictionary<long, long>> ComputeOpenSlots(XivDataFile df
20692083
return slots;
20702084
}
20712085
}
2072-
}
2086+
}

0 commit comments

Comments
 (0)