Skip to content

Commit 7e0fc06

Browse files
committed
- Bump Version Number.
- Bump DAT Size Limit. - Add total Mod Size listing to problem checker. - Add individual Mod size info back to modlist entries.
1 parent 60c3441 commit 7e0fc06

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

xivModdingFramework/Mods/FileTypes/TTMP.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ await Task.Run(async () =>
636636
data = new Data()
637637
};
638638

639+
mod.data.modSize = json.ModSize;
639640
mod.data.modOffset = longOffset;
640641
mod.data.originalOffset = (fileAdditionMod ? longOffset : longOriginal);
641642
mod.data.dataType = fileType;
@@ -654,6 +655,7 @@ await Task.Run(async () =>
654655
mod.data.originalOffset = longOffset;
655656
}
656657

658+
mod.data.modSize = json.ModSize;
657659
mod.data.modOffset = longOffset;
658660
mod.enabled = true;
659661
mod.modPack = modPack;

xivModdingFramework/SqPack/FileTypes/Dat.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,6 +1632,7 @@ public async Task<long> WriteModFile(byte[] fileData, string internalFilePath, s
16321632
};
16331633
mod.data.modOffset = retOffset;
16341634
mod.data.originalOffset = (fileAdditionMod ? retOffset : longOriginal);
1635+
mod.data.modSize = fileData.Length;
16351636
mod.data.dataType = fileType;
16361637
mod.enabled = true;
16371638
mod.modPack = null;
@@ -1649,6 +1650,7 @@ public async Task<long> WriteModFile(byte[] fileData, string internalFilePath, s
16491650
mod.data.modOffset = retOffset;
16501651
mod.enabled = true;
16511652
mod.modPack = null;
1653+
mod.data.modSize = fileData.Length;
16521654
mod.data.dataType = fileType;
16531655
mod.name = itemName;
16541656
mod.category = category;

0 commit comments

Comments
 (0)