I see the following note:
Code: Select all
// Doom 2 must be last to be checked becaude MAP01 is its only requirementCode: Select all
MustContain = "E1M1"Moderator: GZDoom Developers
Code: Select all
// Doom 2 must be last to be checked becaude MAP01 is its only requirementCode: Select all
MustContain = "E1M1"It's more the nature of what said mods do with the filter folders, honestly; Kinsie has offered me some code that is friendlier to WadSmoosh to use in place of lump filtering. The specific case I cited in the WadSmoosh thread is that Mixed Tape Vol.3's super shotgun replacement, the M1 Garand, has ammo spawns that randomly replace shotgun shells in Doom 2, but since the weapon does not appear in Doom 1, I'd used lump filtering so that the ammo for it does not spawn in Doom 1 maps. WadSmoosh gets detected as Doom 1, though, meaning that playing Doom 2 or Final Doom maps via WadSmoosh with Mixed3 loaded means you will never find ammo for the Garand.Eruanna wrote:I am not understanding really exactly what breaks. Would you care to elaborate a little bit on what the problems are with detecting it as Doom 1? What mods are breaking?

In other words: Instead of fixing the detection code, let's muck up the engine. No, thank you!wildweasel wrote:It's more the nature of what said mods do with the filter folders, honestly; Kinsie has offered me some code that is friendlier to WadSmoosh to use in place of lump filtering. The specific case I cited in the WadSmoosh thread is that Mixed Tape Vol.3's super shotgun replacement, the M1 Garand, has ammo spawns that randomly replace shotgun shells in Doom 2, but since the weapon does not appear in Doom 1, I'd used lump filtering so that the ammo for it does not spawn in Doom 1 maps. WadSmoosh gets detected as Doom 1, though, meaning that playing Doom 2 or Final Doom maps via WadSmoosh with Mixed3 loaded means you will never find ammo for the Garand.Eruanna wrote:I am not understanding really exactly what breaks. Would you care to elaborate a little bit on what the problems are with detecting it as Doom 1? What mods are breaking?
Granted, Kinsie's code (an ACS script that detects the first character of the lumpname of the map being played) or perhaps another approach entirely (having the ammo spawners detect if there is a Garand either in the player's inventory, or in the map, before choosing whether to spawn shells or .30-06) would probably be a better solution for this...but I can't be certain what other things might break in regards to the lump filtering. Considering the only mods I know that used such a system are Mixed3 and MetaDoom (MetaDoom now uses the aforementioned ACS script instead)...


The problem here is - that both MAP01 and E1M1 are optional, which itself will break detection if those are added. I suppose there's no real point to run WadSmoosh without Doom1/2, but yet it can still be done. Assuming those do get tossed into the resulting pk3, how far down the list should it go? Also - how many IWADs (not PWADs) do you know of that really use the smooshed lump?Graf Zahl wrote:Sorry, but that's not good enough. Add a few more lumps to check, preferably some that never occur at the same time in the same IWAD like MAP01 and E1M1 and move it down the list. A single texture named SMOOSHED would break this.
That is conceptually possible but in practice will require a bit of effort, adding in the hash check to the IWAD detection code, itself, plus updating the definition parser to handle it.wildweasel wrote:Would checking for the hash of the lump work? The Smooshed lump does have text content containing a short description and URL to the WadSmoosh page.

As far as possible. But I guess when both E1M1 and MAP01 are optional there is no truly reliable detection if someone makes a custom Doom IWAD with a SMOOSHED texture.Eruanna wrote:The problem here is - that both MAP01 and E1M1 are optional, which itself will break detection if those are added. I suppose there's no real point to run WadSmoosh without Doom1/2, but yet it can still be done. Assuming those do get tossed into the resulting pk3, how far down the list should it go?