FreeDoom IWAD DEH overrides PWAD LANGUAGE

These bugs do plan to be resolved, when they can be.

Moderator: GZDoom Developers

User avatar
AFADoomer
Posts: 1321
Joined: Tue Jul 15, 2003 4:18 pm

FreeDoom IWAD DEH overrides PWAD LANGUAGE

Post by AFADoomer »

When running the FreeDoom 2 IWAD with Blade of Agony, strings that are defined in the FreeDoom2 DEH file take precedence over the strings defined in the BoA .pk3's LANGUAGE lump.

Per report here.

Quickie example here. Load with FreeDoom2 IWAD, summon a chaingun, and you get the FreeDoom chaingun pickup message. Load with Doom2.wad, and you get the LANGUAGE lump-defined message.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US

Re: FreeDoom IWAD DEH overrides PWAD LANGUAGE

Post by Ed the Bat »

My understanding is that DeHackEd always overrides LANGUAGE. Is there something about this that defies the known convention?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49053
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: FreeDoom IWAD DEH overrides PWAD LANGUAGE

Post by Graf Zahl »

Dehacked is not just strings and needs to be loaded after everything else has been set up.

This is comparable to loading all DECORATE after all ZSCRIPT. The way these lumps depend on each other makes it very problematic to mix them. The best option I can give is to add an option to the GAMEINFO lump that skips loading DEHACKED from the IWAD.

I'll put this on hold for the time being, this needs some discussion - especially analyzing if other ports have the same problem.

Return to “On Hold Bugs”