* add old star rod dirs to gitignore

* remove something from mapfs to introduce bug

* fix build

See https://github.com/pmret/papermario/issues/1170

* Revert "remove something from mapfs to introduce bug"

This reverts commit 4a3927866e.
This commit is contained in:
Alex Bates 2024-02-16 21:38:54 +00:00 committed by GitHub
parent 6a2ad7e1b9
commit e1176acfed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 1 deletions

9
.gitignore vendored
View File

@ -61,6 +61,15 @@ build/
dump dump
*.backup *.backup
crash.xml crash.xml
/audio/*
/sprite/*
/battle/*
/globals/*
/map/*
/world/*
/image/*
/strings/*
/res/*
/tools/Yay0compress /tools/Yay0compress
/tools/n64crc /tools/n64crc

View File

@ -130,7 +130,12 @@ class N64SegPm_map_data(N64Segment):
if name == "end_data": if name == "end_data":
break 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: if offset == 0:
path = None path = None