bradharding / doomretro

The classic, refined DOOM source port. For Windows PC.
https://www.doomretro.com
GNU General Public License v3.0
698 stars 88 forks source link

Exclusive DR graphics can't be replaced by PWAD. #804

Closed Midway64 closed 1 year ago

Midway64 commented 1 year ago

Well, this is a really specific problem of some sorts, but the title explains it basically.

You see, I have this one personal PWAD, and aside from replacing sounds and changing weapon offsets with a rough copy-and-paste hack, I have graphic lumps extracted from the Doom I GBA port to replace red blood with green blood, however, Doom Retro contains exclusive graphic lumps for the blood left behind by the demons.

I did the logical thing and tried to replace these in my PWAD, but it appears DR may have higher priority, so it ends up replacing my custom ones.

I told you it was that specific, but it's been bugging me out.

PD: And yes, I did put the lumps in S_START to S_END.

bradharding commented 1 year ago

This is done deliberately. The thought was in case a wad happens to have one or more sprites with the same name, which I can't control. (The same is true for all other lumps in doomretro.wad.) I may consider changing this (for the blood splat sprites at least), but to address your specific case: is it just the color of the sprites you want to change? If that's the case, you could use "Blood color" for each thing in a DEHACKED lump. Set it to 2 for green.