Skip to content

Open .bsps inside archives with a single path, using load_bsp #190

@snake-biscuits

Description

@snake-biscuits

Building on #21, I want free up my harddrives by only extracting maps when I load them
Rather than add even more complex infrastructure to tests/megatest.py, I'd rather just use paths into archives

e.g. D:/SteamLibrary/steamapps/common/Quake/Id1/PAK0.PAK/maps/e1m1.bsp

Challenges

  • identifying which part of the filepath string is the archive
  • identifying if the archive contains another archive
    • D:/Emulators/Sega/Dreamcast/quakeiii.cdi/quake.16.iso/QUAKE3/BASEQ3/MAPS/DC_MAP01/BSP.ZIP/maps/dc_map01.bsp
      .cdi -> .iso -> .zip -> .bsp
  • getting associated files inside an archive (os.listdir will be useless)
  • opening associated files (RespawnBsp .ent & .bsp_lump)
    • some maps are split across multiple .rpak, extra complexity yay

Related

Metadata

Metadata

Labels

archivesrelated to archives moduleenhancementNew feature or requestrefactorrequires restructuring some backend stuff

Projects

Status

Todo: Research

Relationships

None yet

Development

No branches or pull requests

Issue actions