I noticed this while converting Haloguns2 to be GZDoom exclusive, to take advantage of true color.
The frames I've converted to true-color PNGs don't show up at all. I haven't set any offsets, just used XWE beta to import the raw data over the old indexed BMPs. Is this a bug, or just a mistake on my part?
I can't seem to get it to work either. I created a true-color PNG with transparencies (actually just a black-to-transparent gradient) and imported it as a test, but that didn't work at all, just as you described.
Zeg-Vok wrote:How does one set the image offset in a pk3/zip file?
You don't. You set the offset in the image. On the GZdoom download page, Graf links to a command line tool by Randy that allows you to set offset values that get stored inside a PNG. Then you just put the png into your WAD or ZIP. In fact, I'm pretty sure the Doom graphic format holds its own offset information too. So I'm guessing that if you had a normal Doom graphic in a WAD with offsets you wanted to preserve, you could export the graphic as a raw data lump and stick it into a ZIP and still have the offsets work. (Although just putting the WAD into the ZIP would probably be easier.) I've certainly transferred graphics from one WAD to another using that method and it worked.
Enjay wrote:So I'm guessing that if you had a normal Doom graphic in a WAD with offsets you wanted to preserve, you could export the graphic as a raw data lump and stick it into a ZIP and still have the offsets work.
You can. Some lumps in GZDoom.pk3 are doing just that. And yes, the offsets are stored at the start of the graphics lump.
Okay then. I've set offsets and the weapons still don't appear. I'm getting a little frustrated now.
My graphics are 320x240 full-color PNG. I want them to overlap the screen 100%. Will someone give me a command line to do this? Please? I saved them in the GIMP 2.2 with the default options for PNGs, save resolution and save creation time.
Okay then, that'll work. If each PNG uses it's own palette, will cyan still be the transparent color? I can't use the Doom palette for these graphics (ugly).
No, you set transparency in the PNG. Exactly how you go about this depends on the software you are using to make the PNG. I know how to do it in Paint Shop Pro 7.04
When saving, after selecting PNG as your file type, click the options box
click run optimiser
click the transparency tab
Set up your transparency (I use the "Areas that match this colour" option).
Click OK
Remember, there is no spoon. Umm, there is no transparent colour in the Doom graphics format. Cyan is just a colour commonly used to mark an area that will be converted to transparent when the file is changed to a Doom graphics lump. It doesn't have to be cyan and a few programs use another colour instead.