From 8cf0169626fab461d2d27b2a56611b83c68003a5 Mon Sep 17 00:00:00 2001 From: caitsith2 Date: Wed, 22 Aug 2018 07:55:31 -0700 Subject: [PATCH] hactool uses both comma AND equal for seperators on all key sets. --- libhac/Keyset.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhac/Keyset.cs b/libhac/Keyset.cs index 4b78d57f..b58681cd 100644 --- a/libhac/Keyset.cs +++ b/libhac/Keyset.cs @@ -110,7 +110,7 @@ namespace libhac string line; while ((line = reader.ReadLine()) != null) { - var a = line.Split('='); + var a = line.Split(',', '='); if (a.Length != 2) continue; var key = a[0].Trim(); @@ -144,7 +144,7 @@ namespace libhac string line; while ((line = reader.ReadLine()) != null) { - var a = line.Split(','); + var a = line.Split(',', '='); if (a.Length != 2) continue; var rightsId = a[0].Trim().ToBytes();