Skip to content

Cross support for "Chocolate Doom"-style autoload directory #12

@elf-alchemist

Description

@elf-alchemist

When loading a PWAD, the source port must load the contents of a subdirectory under the autoload/ whose name matches the full name of the PWAD in question, loading files as lumps and WADs as PWADs, after the aforementioned PWAD. Specific IWAD names are also expected to trigger their own autoload, and as such are reserved names.

That is, when loading PWAD, such as the following doom -iwad doomu.wad -file example.wad (treating doomu.wad as a built-in supported alias to the "Ultimate Doom" version of doom.wad), the following order is expected:

  1. doomu.wad
  2. Contents of autoload/all-all/
  3. Contents of autoload/doom-all/
  4. Contents of autoload/doom1-all/
  5. Contents of autoload/doomu.wad/
  6. examples.wad
  7. Contents of autoload/example.wad/

The autoload/ is expected to be stored in the port's data directory, such as $XDG_DATA_DIR/<port name>/autoload/ in linux systems.

Any PWAD Name Choco Crispy Woof DSDA Eternity Odamex Retro GZDoom Helion EDGE-Classic
Auto-generate ✔️ ✔️ ✔️ ✔️
IWAD Type Choco Crispy Woof DSDA Eternity Odamex Retro GZDoom Helion EDGE-Classic
all-all ❌️ ❌️ ✔️ ✔️
doom-all ✔️ ✔️ ✔️ ✔️
doom1-all ❌️ ❌️ ✔️ ❌️
doom2-all ❌️ ❌️ ✔️ ❌️
freedoom-all ❌️ ❌️ ✔️ ❌️
freedoom1-all ❌️ ❌️ ✔️ ❌️
freedoom2-all ❌️ ❌️ ✔️ ❌️
chex-all ❌️ ❌️ ✔️ ✔️
rekkr-all ❌️ ❌️ ✔️ ❌️
heretic-all ❌️ - ✔️ - - - -
hexen-all - ✔️ - - - - -
strife-all - - - - - - -
IWAD Name Choco Crispy Woof DSDA Eternity Odamex Retro GZDoom Helion EDGE-Classic
doom1.wad ✔️ ✔️ ✔️ ✔️
doom.wad ✔️ ✔️ ✔️ ✔️
doomu.wad ✔️ ✔️ ✔️ ✔️
doom2.wad ✔️ ✔️ ✔️ ✔️
doom2f.wad ✔️ ✔️ ✔️ ✔️
tnt.wad ✔️ ✔️ ✔️ ✔️
plutonia.wad ✔️ ✔️ ✔️ ✔️
freedoom1.wad ✔️ ✔️ ✔️ ✔️
freedoom2.wad ✔️ ✔️ ✔️ ✔️
freedm.wad ✔️ ✔️ ✔️ ✔️
chex.wad ✔️ ✔️ ✔️ ✔️
chex3v.wad ✔️ ✔️
chex3d2.wad ✔️ ✔️
rekkrsa.wad ✔️ ✔️ ✔️ ✔️
rekkrsl.wad ✔️ ✔️ ✔️
hacx.wad ✔️ ✔️ ✔️ ✔️
heretic.wad ✔️ ✔️ - ✔️
heretic1.wad ✔️ ✔️ - ✔️
hexen.wad ✔️ ✔️ - ✔️ - - - - -
strife0.wad - - - - - - - - - -
strife1.wad ✔️ ✔️ - - - - - - -

⚠️: Should either chocolate or Crispy even have more *-all? Further investigation needed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions