Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
poisonhead

XWE has 2 transparent colors???

Question

I've gotten used to using palette index 247 (the cyan color, #00FFFF in HTML terms) as transparent color and guess for the first time I imported an image that has color 251 (#FF00FF) and was surprised that it turned into transparent as well! Please don't tell me to use Slade as I haven't gotten it to run on my ancient computer and I'm (hopefully) nearing the end of building my resource wad and would just like to import a few images with color 251. Can this be done/fixed in XWE or some other program besides Slade? And I'd like to know WHY two transparent colors? Couldn't find anything in quick googling. I attached an image of the colors.

 

Hopefully I haven't got holes in my other images. Got over 30MB of vanilla compatible textures in my wad and only now noticed this.

 

edit: Also noticed that the color in question is missing in XWE's palette remap feature. Is this just XWE stupidity or is there something about the color? (I mean, would the color work in other softs and in vanilla Doom?)

qtest1.png

Edited by poisonhead

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 2
15 hours ago, poisonhead said:

Please don't tell me to use Slade as I haven't gotten it to run on my ancient computer

It still needs to be said for others stumbling on this thread - please for the love of God do not use XWE in the year of our Lord 2022. It is very old, very unstable, and has a lot of problems like mentioned here.

 

15 hours ago, poisonhead said:

I've gotten used to using palette index 247 (the cyan color, #00FFFF in HTML terms) as transparent color

One of many ways in which XWE is just flat out wrong and will fuck things up for you on the conceptual level later on down the line, the doom palette does not contain cyan at all: https://zdoom.org/wiki/Palette

 

15 hours ago, poisonhead said:

And I'd like to know WHY two transparent colors? Couldn't find anything in quick googling.

Unfortunately I can't answer this, but it was something I noticed when I used XWE myself many years ago. The only way around it that I can think of is to open another WAD which already has the graphic(s) properly formatted as-is and copy the lumps/merge it into your main WAD. In other words, you'd probably have to get someone to do it for you with SLADE. Fun!

Share this post


Link to post
  • 1

If anything is a transparent color in Doom, it's palette index 255. It's not technically a transparent color (Doom uses a graphic format that simply skips over transparent pixels, so it can use all 256 colors in the palette) but it was used as a transparent color in the utilities they used to convert their graphics into Doom's format.

 

That's why there are some accidental holes in a few sprites and textures where this color was used. The burning city sky in Doom II is a victim of that.

27FNX.gif

 

But there are also several sprites that are affected, especially the arachnotron and sometimes other flesh tones:

vgfC5Je.png

(Image taken from the Sprite Fix Project thread, though it seems @Revenant100 didn't settle on refilling it with color #255.)

Share this post


Link to post
  • 0

It's just xwe stupidity. Doom doesn't even have a transparent colour, cyan is just something XWE made up because it didn't support converting images with an actual alpha map, so it used a random colour seemingly not represented in the colour palette which kinda made sense until you change the colour palette.

Using pink I believe comes from Build/duke3d, which is another thing XWE supports and thus how that colour snuck in. The fact that it affects Doom graphics is extra erroneous.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×