papermario
papermario copied to clipboard
Support custom mapfs.yaml in asset stack
Removing an asset from mapfs.yaml breaks splitting due to the self.files.get(name) is not None assertion. Ideally asset stacks should declare mapfs.yaml that overrides this one, and the one in splat_ext is used only for splitting. It should probably be in ver, too
So we would have an assets/us/mapfs/mapfs.yaml
OK, implementing the above comment introduces the problem of not being able to remove things from the mapfs. But I think that's okay, if we later do more modular asset directories e.g.
assets/
core
us
jp
pal
ique
prologue
chapter1
chapter2
This is valuable for romhacks. However it will need its own separate issue because we will need some way for splat to split to multiple directories!