Texture assets: DDS format

Game mods created and shared by the community

Posts: 11
Joined: 05 Dec 2016, 07:55

Texture assets: DDS format

Post by Pbox » 05 Dec 2016, 18:34

Just a heads-up, for anyone interested in editing the texture files: they are DX10 which won't open in the image editors I use (Gimp, paint.net) -- see here (second post, by Harag) for more info + advice:

Another new thing in DirectX 10 is that the format of the file-header changed from using Four-Character-Codes (FourCC) to something Microsoft calls DXGI header which has extended information on the pixel format of the file. This is what trips up 3DSMax and Photoshop (and Gimp). (..)

If you just want to view those textures I recommend PicoPixel which can view any .dds subformat there currently is.

If you want to edit the textures you can use Microsoft's texconvcommand-line tool to convert them from .dds back to another format like .png. Just keep in mind that .dds compression is lossy, so round-trip conversions (dds → png → dds) loose some image quality even if you don't edit the .png. Keep the .png (or whatever) if you plan to make further changes in the future and only convert to .dds as a final step to get the textures into the game.

I've opened some files in Visual Studio which also worked fine, but that would of course be overkill just to view/edit a few textures.

Posts: 7
Joined: 11 Jun 2017, 08:53

Re: Texture assets: DDS format

Post by Hannesreindl83 » 18 Jun 2017, 12:23

maybe i didn't quite understand but with what specs do i need to save the dds files so the game understands it?
I tested all the options in photoshop and the only one that worked for me was: ABGR 128bpp | floating point

which of course is crazy because it makes the file size huge and that quality is not necessary.

So i guess photoshop is not able at all to save dds files for that game but what specs do i need to use then with which command line tool ?

Return to Game mods