diff --git a/src/mercury_engine_data_structures/formats/bmsbk.py b/src/mercury_engine_data_structures/formats/bmsbk.py index 87596da8..b6d9b149 100644 --- a/src/mercury_engine_data_structures/formats/bmsbk.py +++ b/src/mercury_engine_data_structures/formats/bmsbk.py @@ -11,6 +11,7 @@ Int32ul, Rebuild, Struct, + Terminated, ) from mercury_engine_data_structures.common_types import CVector3D, StrId, make_vector @@ -50,6 +51,7 @@ def _rebuild_types(ctx: Container) -> int: "name" / StrId, "entries" / make_vector(Int32ul), )), + Terminated, ) class Bmsbk(BaseResource): diff --git a/tests/formats/test_bmsbk.py b/tests/formats/test_bmsbk.py index b56ecb16..edc9be57 100644 --- a/tests/formats/test_bmsbk.py +++ b/tests/formats/test_bmsbk.py @@ -10,4 +10,7 @@ @pytest.mark.parametrize("bmsbk_path", all_sr_bmsbk) def test_bmsbk(samus_returns_tree, bmsbk_path): - parse_build_compare_editor(Bmsbk, samus_returns_tree, bmsbk_path) + try: + parse_build_compare_editor(Bmsbk, samus_returns_tree, bmsbk_path) + except FileNotFoundError: + pytest.skip(f"{bmsbk_path} does not exist")