From ead0426ea0958d9855f2ed7dcdddd351257a934f Mon Sep 17 00:00:00 2001 From: funman300 Date: Mon, 24 Aug 2026 21:01:29 +0000 Subject: [PATCH] tools(re): correct transposed field labels in the kit record diff club_items.json's _record_map is authoritative: cardassetid is +0x1c and assetId is +0x20. The probe had them the other way round, which made a correct assetId 14/15 read out as an identical cardassetid and briefly supported the wrong conclusion that assetId was not the art selector. --- fifa17-recon/tools/live/diff_kit_records.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fifa17-recon/tools/live/diff_kit_records.py b/fifa17-recon/tools/live/diff_kit_records.py index 357d6d5..d617c06 100755 --- a/fifa17-recon/tools/live/diff_kit_records.py +++ b/fifa17-recon/tools/live/diff_kit_records.py @@ -60,8 +60,10 @@ root = q(owner + 0x160D8) FIELDS = { 0x08: ("id", 8), 0x18: ("resourceId/definitionId", 4), - 0x1C: ("assetId", 4), - 0x20: ("cardassetid", 4), + # Offsets per club_items.json `_record_map`, which is authoritative: + # cardassetid is +0x1c and assetId is +0x20 — NOT the other way round. + 0x1C: ("cardassetid", 4), + 0x20: ("assetId", 4), 0x38: ("discardValue", 4), 0x4C: ("cardtype", 4), 0x50: ("cardsubtypeid", 4),