Page 2 of 2

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Sun Jul 14, 2019 6:06 pm
by Darksaber
Looking forward to this :)

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Sun Jul 14, 2019 8:45 pm
by Bman
Excellent!

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Sun Jul 14, 2019 9:42 pm
by ual002
So you're still trying to unlock 8888 format yes?

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Mon Jul 15, 2019 4:29 pm
by JeremyaFr
Yes, I am working on it. I've found how to unlock the 8888 format.

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Sun Jul 21, 2019 6:51 pm
by JaggedFel
Bman wrote:
Mon Jul 01, 2019 12:56 am
type 7: 8-bit indexed colors and 1-bit alpha, rle compressed
type 23: 8-bit indexed colors and 8-bit alpha, rle compressed
type 24: 8-bit indexed colors and 8-bit alpha
type 25: similar to type 24 (currently isn't functional within the game engine) ????
So I take it this means type 24 and type 25 are stored in the DAT the same way (indexed color pallete, 8-bit alpha), it's just how they're treated in-game, right?

Is there a hard limit as to the image size? Vanilla was 256px, but SuperBackdrops went up to 512. When I originally wrote my DAT dll I used 640x480, but don't remember if I had anything to back that up.

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Sun Jul 21, 2019 7:09 pm
by JeremyaFr
Without the 32-bit mode hook, the game treats type 24 and 25 the same way.
With the 32-bit model hook and with XwaDatEditor, the type 25 is 32-bit.
- Format 7:
Format: 8-bit indexed colors and 1-bit alpha, rle compressed.
Use: concourse or in-flight.

- Format 23:
Format: 8-bit indexed colors and 8-bit alpha, rle compressed.
Use: concourse.

- Format 24:
Format: 8-bit indexed colors and 8-bit alpha.
Use: in-flight.

- Format 25:
Format: 32-bit ARGB.
Use: in-flight.
There is no limit for DAT images.

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Sun Jul 21, 2019 11:40 pm
by JaggedFel
I was referring to how they're encoded in the DAT file itself, so each row/scan line for format 24 (and 25?) is ColorIndex1,Alpha1,ColorIndex2,Alpha2...

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Mon Jul 22, 2019 5:14 am
by JeremyaFr
True

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Sun Apr 05, 2020 4:13 pm
by DarHan
Sorry if I missed it, but with regards to this, was there a re-issue of the XWAUP backdrops? And if not, is there a way I can convert the existing ones for personal use while waiting for the official re-issue?

Re: DAT File/Backdrop Transparency (SOLVED!!!)

Posted: Sat Apr 11, 2020 2:40 am
by ual002