diff --git a/tools/splat_ext/pm_map_data.py b/tools/splat_ext/pm_map_data.py index 3d5e0908cc..e3061feec5 100644 --- a/tools/splat_ext/pm_map_data.py +++ b/tools/splat_ext/pm_map_data.py @@ -130,7 +130,12 @@ def split(self, rom_bytes): if name == "end_data": break - assert self.files.get(name) is not None + if self.files.get(name) is None: + # TODO + # https://github.com/pmret/papermario/issues/1170 + self.warn(f"skipping unknown file {name}") + asset_idx += 1 + continue if offset == 0: path = None