Skip to content

Commit

Permalink
tank: u64s should be X16
Browse files Browse the repository at this point in the history
  • Loading branch information
ZingBallyhoo committed Aug 1, 2024
1 parent e4f3909 commit 4824eb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion TACTLib/Core/Product/Tank/ProductHandler_Tank.Bundles.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private void DoBundleLookupHack() {
try {
bundle = OpenBundle(asset.Key);
} catch (BLTEKeyException e) {
Logger.Debug("TRG", $"can't load bundle {asset.Key:X16} because key {e.MissingKey:X8} is missing from the keyring.");
Logger.Debug("TRG", $"can't load bundle {asset.Key:X16} because key {e.MissingKey:X16} is missing from the keyring.");
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion TACTLib/Core/Product/Tank/ProductHandler_Tank.cs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public ProductHandler_Tank(ClientHandler client, Stream stream) {

for (var j = 0; j < records.Length; j++) {
var record = records[j];
//Console.Out.WriteLine($"{record.GUID:X8} {record.Unknown1} {record.Unknown2} {Manifests[0].ContentManifest.Exists(record.GUID)} {Manifests[1].ContentManifest.Exists(record.GUID)}");
//Console.Out.WriteLine($"{record.GUID:X16} {record.Unknown1} {record.Unknown2} {Manifests[0].ContentManifest.Exists(record.GUID)} {Manifests[1].ContentManifest.Exists(record.GUID)}");

if (m_assets.ContainsKey(record.m_GUID)) continue;
m_assets[record.m_GUID] = new Asset(i, j);
Expand Down

0 comments on commit 4824eb5

Please sign in to comment.