From 428ee8a06397f23b80b17276191fe8b7643746cf Mon Sep 17 00:00:00 2001 From: Jennifer Taylor Date: Sun, 16 May 2021 19:39:07 +0000 Subject: [PATCH] Implement alternate transform matrix specification to fix some animations not having scaling/rotation applied to various sprites. --- bemani/format/afp/swf.py | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/bemani/format/afp/swf.py b/bemani/format/afp/swf.py index ed59640..6259d7f 100644 --- a/bemani/format/afp/swf.py +++ b/bemani/format/afp/swf.py @@ -1241,7 +1241,8 @@ class SWF(TrackedCoverage, VerboseOutput): if flags & 0x10000: # Some sort of filter data? Not sure what this is either. Needs more investigation - # if I encounter files with it. + # if I encounter files with it. This seems to match up with SWF documentation on + # filters. Still have yet to see any files with it. unhandled_flags &= ~0x10000 count, filter_size = struct.unpack("