GAMEMAPS detection when MAPHEAD passed as argument

Issue #242 wontfix
Olga Orlova-Alley created an issue

Currently, if you run ECWolf with a path to a "GAMEMAPS.WL6" (or GAMEMAPS.SOD, etc) file as an argument (that is part of a custom map-pack), it will automatically detect and load the corresponding "MAPHEAD" file in the same directory, and run with the custom maps loaded. The inverse, however, isn't true -- running ECWolf with a path to a "MAPHEAD.WL6" (or MAPHEAD.SOD, etc) file does absolutely nothing and just runs the vanilla game. Considering both of these files are part of any custom (non-WAD-based) map-pack, I don't see any reason that it should function one way but not the other. Therefore, I suggest auto-detecting the corresponding "GAMEMAPS" file when a "MAPHEAD" file is passed an argument -- essentially the inverse of what ECWolf already seems to do.

Comments (1)

  1. Braden Obrzut

    At this time at least my opinion is: there's not really a good, clean way to do this. What I had in mind for the user to be able to do is select all the wl6 files in their mod and drop it onto ecwolf.exe. Adding support for this would cause data to be loaded multiple times (although admittedly would be mostly harmless).

    Now it would potentially be possible to prevent duplicate loading, but it wouldn't be very clean code.

  2. Log in to comment