deh / bex override
Moderator: Graf Zahl
-
- Posts: 22
- Joined: Fri Oct 05, 2007 22:10
deh / bex override
I have been playing the pwad invasion.wad with freedoom pahse one via GZDoom (latest version) and have noticed (by checking the console output) that the FreeDoom iwad's deh / bex lump loads last, overriding the pwad's accompanying deh file, which loads before the iwad's lump. There is nothing wrong with the invasion.deh file, and it is last in the load order, so why is it loading after the iwad's deh/bex lump?
- Graf Zahl
- GZDoom Developer
- Posts: 7148
- Joined: Wed Jul 20, 2005 9:48
- Location: Germany
- Contact:
Re: deh / bex override
Do you have a link to the mod?
-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: deh / bex override
I guess it's about this one.
However the problem seems to be unrelated to particular PWAD. It's caused by presence of DEHACKED lump in IWAD.
The latter is processed twice and the second one overwrites entries patched by standalone .deh file.
However the problem seems to be unrelated to particular PWAD. It's caused by presence of DEHACKED lump in IWAD.
The latter is processed twice and the second one overwrites entries patched by standalone .deh file.
-
- Posts: 22
- Joined: Fri Oct 05, 2007 22:10
Re: deh / bex override
Yeah, I think that's it, _merntal_.
And the problem is unrelated to that pwad or its deh file. When I play them with Ultimate Doom, the pwad's deh file is not overwritten; that only happens with FreeDoom.
And the problem is unrelated to that pwad or its deh file. When I play them with Ultimate Doom, the pwad's deh file is not overwritten; that only happens with FreeDoom.
-
- Posts: 22
- Joined: Fri Oct 05, 2007 22:10
Re: deh / bex override
One additional note: I have discovered that the bex patch in Freedoom.wad / Freedoom2.wad is only installed last if a standalone bex/deh patch with altered strings is loaded.
-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: deh / bex override
I changed DEHACKED loading a bit. Lumps from IWAD now have precedence over separate files and lumps from PWADs.
-
- Posts: 22
- Joined: Fri Oct 05, 2007 22:10
Re: deh / bex override
Shouldn't the standalone deh/bex file or PWAD lump be loaded have precedence over and therefore overwrite the IWAD's lump?
-
- Developer
- Posts: 259
- Joined: Sun Aug 07, 2011 13:36
Re: deh / bex override
By precedence I mean that one lump is loaded before another. IWAD's lump is loaded first, then separate file(s), and then lump(s) from PWAD. Each next lump may override changes done by previous one.
-
- Posts: 22
- Joined: Fri Oct 05, 2007 22:10
Re: deh / bex override
Oh, OK. That should be fine.