From 5d2614929833afe023bf48036851fe8ea7a80550 Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Thu, 6 May 2021 19:36:43 +0000 Subject: [PATCH] Check in fix for non-compressed files. --- bemani/format/ifs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bemani/format/ifs.py b/bemani/format/ifs.py index ffb9d07..ccbe3e8 100644 --- a/bemani/format/ifs.py +++ b/bemani/format/ifs.py @@ -295,7 +295,7 @@ class IFS: lz77 = Lz77() filedata = lz77.decompress(filedata[8:]) else: - raise Exception('Unrecognized compression!') + filedata = filedata[8:] + filedata[0:8] if self.__decode_binxml and os.path.splitext(filename)[1] == '.xml': benc = BinaryEncoding()