XWA Dat Editor

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

XWA Dat Editor

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

Post by JeremyaFr » Tue Jul 16, 2019 7:42 pm

Hello,

Here is Xwa Dat Editor, an editor for the DAT files. These files contain images used by the game.

Download link:
https://github.com/JeremyAnsel/XwaDatEd ... ses/latest

Or use XwaToolsDownloader to download all the tools, including XwaDatEditor.

DAT image formats are:

- 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.

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

Post by Darksaber » Tue Jul 16, 2019 7:53 pm

Looking forward to seeing this in its full glory
“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 » Wed Jul 17, 2019 12:48 am

Thank you very much! :-)
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 7829
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Thu May 14, 2020 1:58 pm

Sorry I know it's old but just want to say a quick THANK YOU!
This program has been brilliant for me to use.
Appreciate the effort to make it :)
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

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

Post by JeremyaFr » Thu Jul 09, 2020 12:00 pm

UPDATE

Hello,
I've updated XwaDatEditor.

I've added a feature to save images and groups to dat file:
  • add multiselect in the lists.
  • add "save DAT" buttons
  • add image index

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

Post by ual002 » Thu Jul 09, 2020 1:07 pm

JeremyaFr wrote:
Thu Jul 09, 2020 12:00 pm
UPDATE
  • add image index
How does this feature work?
Image Image Image Image Image

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

Post by JeremyaFr » Thu Jul 09, 2020 2:02 pm

The image index feature is the index shown next to the images list, starting from 1.

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

Post by ual002 » Thu Jul 09, 2020 2:08 pm

God I'm blind.
Image Image Image Image Image

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

Post by JeremyaFr » Sat Oct 31, 2020 3:20 pm

UPDATE

Hello,
I've updated XwaDatEditor.

I've added buttons to move up, move down, and sort groups and images.

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

Post by JeremyaFr » Thu Feb 11, 2021 7:19 pm

UPDATE

Hello,
XwaDatEditor has been updated.

The changes are:
- Allow multiple images to be added at once. (contribution from @blue_max )

You can get the latest version with XwaToolsDownloader.

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

Post by JeremyaFr » Fri Feb 26, 2021 2:53 pm

UPDATE

Hello,
XwaDatEditor has been updated.

The changes are:
- Allow multiple images to be exported at the same time.

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

Post by JeremyaFr » Fri Dec 24, 2021 12:26 pm

UPDATE

Hello,
I've updated XwaDatEditor.

I've added support for a new DAT image format: Format25C. The format 25C is like the format 25 but the images are compressed with the LZMA algorithm. To use the format 25C, you need an updated 32bpp hook.
I've added new buttons to convert the format of all the images of a dat file.

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

Post by JeremyaFr » Sat Sep 03, 2022 8:53 pm

UPDATE

Hello,
I've updated XwaDatEditor.

I've improved the performance of images importing.

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

Post by JeremyaFr » Sun Feb 26, 2023 12:37 pm

UPDATE

Hello,
I've updated XwaDatEditor.

Now the ImageId, OffsetX, OffsetY changes are applied to all selected images.

User avatar
Forceflow
Fleet Admiral (Administrator)
Posts: 7203
Joined: Wed Oct 20, 1999 11:01 pm
Contact:

Post by Forceflow » Sun Feb 26, 2023 2:37 pm

JeremyaFr wrote:
Sun Feb 26, 2023 12:37 pm
UPDATE

Hello,
I've updated XwaDatEditor.

Now the ImageId, OffsetX, OffsetY changes are applied to all selected images.
Works like a charm, many thanks!
Murphy was an optimist! I am a pessimist!
And always remember that a smile is cheaper than a bullet! (District 9)
Webmaster of the X-Wing Alliance Upgrade Project

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

Post by JeremyaFr » Sun Apr 16, 2023 12:49 pm

UPDATE

Hello,
I've updated XwaDatEditor.

I've added an edit button to the explorer to open the selected file with the editor.

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

Post by JeremyaFr » Sat Jul 15, 2023 3:20 pm

UPDATE

Hello,
I've updated XwaDatEditor.

Changes are:
- add support for the BC7 compressed texture format

Post Reply