Skip to content

Add a base class to external for "Multi-File Objects" #210

@snake-biscuits

Description

@snake-biscuits

Plan

  • come up with a name
  • create base class
    • initialisers
      • .from_archive
      • .from_file
    • methods
      • .mount_file
      • .unmount_file
    • everything else I forgot to list here

Initial Idea

Comment in #209:

for importing, all SceneDescriptions will need to be multi file objects
basically every format will have attached files:

  • .mtl
  • .usd[acz]
  • .bin
  • textures

we already have a system for mounting and unmounting files for:

  • BspClasses
  • ExternalLumpManager
  • ArchiveClasses
  • DiscClasses

might as well move that into a base class to reduce duplicate code.

Metadata

Metadata

Labels

refactorrequires restructuring some backend stuff

Projects

Status

Todo: Research

Relationships

None yet

Development

No branches or pull requests

Issue actions