DAT File/Backdrop Transparency (SOLVED!!!)

Want to edit the game, build your own craft and missions? Here you'll find help, tools, guides and people to discuss with.

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

User avatar
Darksaber
Vice Admiral
Posts: 10931
Joined: Mon Jan 10, 2000 12:01 am
Contact:

Post by Darksaber » Sun Jul 14, 2019 6:06 pm

Looking forward to this :)
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”.”
- John Lydgate

Good Things Come To Those Who Wait....
Darksaber's X-Wing Station

Bman
Lieutenant Commander
Posts: 1167
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Sun Jul 14, 2019 8:45 pm

Excellent!
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.

User avatar
ual002
XWAU Member
Posts: 983
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Sun Jul 14, 2019 9:42 pm

So you're still trying to unlock 8888 format yes?
Image Image Image Image Image

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Mon Jul 15, 2019 4:29 pm

Yes, I am working on it. I've found how to unlock the 8888 format.

User avatar
JaggedFel
Galactic Empire
Posts: 434
Joined: Wed Sep 06, 2006 11:01 pm
Contact:

Post by JaggedFel » Sun Jul 21, 2019 6:51 pm

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.
Ye Olde Galactic Empire Mission Editor v1.15.6
Current software WIPs: TIE Layout and Cutscene Editor, TIE/XvT Cockpit Editor
Libraries / Format specs: *.tie, *.plt, *.tfr, *.lfd , *.act, *.dat image files, *.fnt

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sun Jul 21, 2019 7:09 pm

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.

User avatar
JaggedFel
Galactic Empire
Posts: 434
Joined: Wed Sep 06, 2006 11:01 pm
Contact:

Post by JaggedFel » Sun Jul 21, 2019 11:40 pm

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...
Ye Olde Galactic Empire Mission Editor v1.15.6
Current software WIPs: TIE Layout and Cutscene Editor, TIE/XvT Cockpit Editor
Libraries / Format specs: *.tie, *.plt, *.tfr, *.lfd , *.act, *.dat image files, *.fnt

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Mon Jul 22, 2019 5:14 am

True

User avatar
DarHan
Rebel Alliance
Posts: 325
Joined: Mon Dec 05, 2005 12:01 am
Contact:

Post by DarHan » Sun Apr 05, 2020 4:13 pm

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?
“Red Four, nothing’s gone wrong yet.”
— Hobbie Klivian

User avatar
ual002
XWAU Member
Posts: 983
Joined: Wed Sep 24, 2008 2:23 am

Post by ual002 » Sat Apr 11, 2020 2:40 am

Image Image Image Image Image

Post Reply