Page 1 of 1

FreeDoom IWAD DEH overrides PWAD LANGUAGE

PostPosted: Fri Jun 09, 2017 6:51 pm
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.

Re: FreeDoom IWAD DEH overrides PWAD LANGUAGE

PostPosted: Sat Jun 10, 2017 12:31 am
by Ed the Bat
My understanding is that DeHackEd always overrides LANGUAGE. Is there something about this that defies the known convention?

Re: FreeDoom IWAD DEH overrides PWAD LANGUAGE

PostPosted: Sat Jun 10, 2017 1:59 am
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.