From ee488285edfa50ca77465d6d875ad82b08abcb86 Mon Sep 17 00:00:00 2001 From: bnnm Date: Mon, 26 Aug 2024 10:44:13 +0200 Subject: [PATCH] doc --- doc/EXAMPLES.md | 3 +++ wwiser/parser/wparser.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/EXAMPLES.md b/doc/EXAMPLES.md index 884e627..1fef26c 100644 --- a/doc/EXAMPLES.md +++ b/doc/EXAMPLES.md @@ -304,6 +304,9 @@ event > ... > mranseq > segment ``` - uses transition objects in musicranseq (rare) +## Mass effect 2 (PC) +- uses transition objects in playlist (rare) + ## Trine 2 (PC) ``` music.bnk diff --git a/wwiser/parser/wparser.py b/wwiser/parser/wparser.py index eefad1f..8ecf66b 100644 --- a/wwiser/parser/wparser.py +++ b/wwiser/parser/wparser.py @@ -3812,7 +3812,7 @@ def _check_header(self, r, bank): fourcc = r.fourcc() if fourcc != b'BKHD': - raise wmodel.VersionError("not a Wwise bank", -1) + raise wmodel.VersionError("%s is not a valid Wwise bank" % (r.get_filename()), -1) _size = r.u32()