papermario icon indicating copy to clipboard operation
papermario copied to clipboard

Support custom mapfs.yaml in asset stack

Open bates64 opened this issue 1 year ago • 2 comments

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

bates64 avatar Feb 07 '24 11:02 bates64

So we would have an assets/us/mapfs/mapfs.yaml

bates64 avatar Feb 16 '24 20:02 bates64

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!

bates64 avatar Feb 16 '24 20:02 bates64