The Forum is up for sale: XeNTaX Forum looking for new owner

.

Get your graphics formats figures out here! Got details for others? Post here!
Post Reply
dainazinas
advanced
Posts: 40
Joined: Tue Jan 31, 2012 8:32 pm
Has thanked: 18 times
Been thanked: 12 times

.

Post by dainazinas »

.
Last edited by dainazinas on Mon Jul 27, 2015 12:12 am, edited 3 times in total.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4231
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1139 times
Been thanked: 2222 times

Re: Star Wars Battlefront dds format

Post by shakotay2 »

t_a280_c-dds.jpg
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
dainazinas
advanced
Posts: 40
Joined: Tue Jan 31, 2012 8:32 pm
Has thanked: 18 times
Been thanked: 12 times

Re: Star Wars Battlefront dds format

Post by dainazinas »

N1 shakotay.

Can you share the header?
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4231
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1139 times
Been thanked: 2222 times

Re: Star Wars Battlefront dds format

Post by shakotay2 »

the tool doesn't use a header, just the format.
Creating headers will be the next feature.
If you have any BC7 UN dds you could try copy and paste its header
and adjust width and height values.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
dainazinas
advanced
Posts: 40
Joined: Tue Jan 31, 2012 8:32 pm
Has thanked: 18 times
Been thanked: 12 times

Re: Star Wars Battlefront dds format

Post by dainazinas »

thanks shakotay.
I don`t have a working dds file in BC7 UN format. And I can`t really find anything on the net that would generate one either. :(
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4231
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1139 times
Been thanked: 2222 times

Re: Star Wars Battlefront dds format

Post by shakotay2 »

I'm too busy with other coding atm than to solve this but I guess it should use a DX11 dds header.

Maybe search for "BC7" in this forum, too.

gregkwaste's dds in his post as of Sat Sep 13, 2014 is BC5 compressed:
viewtopic.php?f=18&t=10973

Code: Select all

Offset 0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

0000  44 44 53 20 7C 00 00 00  07 10 0A 00 00 04 00 00   DDS |...........
0010  00 04 00 00 00 00 10 00  00 00 00 00 0B 00 00 00   ................
0020  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0030  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0040  00 00 00 00 4E 56 54 54  08 00 02 00 20 00 00 00   ....NVTT.... ...
0050  04 00 00 00 41 54 49 32  41 32 58 59 00 00 00 00   ....ATI2A2XY....
0060  00 00 00 00 00 00 00 00  00 00 00 00 08 10 40 00   ..............@.
0070  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
width, height to be adjusted!

From what I know it uses a DX10 header: https://msdn.microsoft.com/en-us/librar ... 85%29.aspx

(Maybe this leads you to your final solution?)
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 883 times

Re: Star Wars Battlefront dds format

Post by Acewell »

You might be able to use one of these to convert a texture to bc7 dds and copy the header.
https://github.com/Microsoft/DirectXTex/releases
http://sourceforge.net/projects/texgenpack/
https://github.com/castano/nvidia-texture-tools
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4231
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1139 times
Been thanked: 2222 times

Re: Star Wars Battlefront dds format

Post by shakotay2 »

thx. Seems to work - I used texconv, forcing a dx10 header:
(texconv -w 1760 -h 972 -f BC7_UNORM -dx10 textmaker_Noe.png)
BC7_UN-test.jpg

Code: Select all

Offset  0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

0000   44 44 53 20 7C 00 00 00  07 10 0A 00 CC 03 00 00   DDS |.......Ì...
0010   E0 06 00 00 80 1A 1A 00  01 00 00 00 0B 00 00 00   à...€...........
0020   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0030   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0040   00 00 00 00 00 00 00 00  00 00 00 00 20 00 00 00   ............ ...
0050   04 00 00 00 44 58 31 30  00 00 00 00 00 00 00 00   ....DX10........
0060   00 00 00 00 00 00 00 00  00 00 00 00 08 10 40 00   ..............@.
0070   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
w,h is a little bit odd: 1760x972 (better use power of 2 sizes)
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
dainazinas
advanced
Posts: 40
Joined: Tue Jan 31, 2012 8:32 pm
Has thanked: 18 times
Been thanked: 12 times

Re: Star Wars Battlefront dds format

Post by dainazinas »

While texconv seems work ok. I can not get the dds files display correctly...
JakeGreen
mega-veteran
mega-veteran
Posts: 164
Joined: Sun Aug 22, 2010 10:14 pm
Has thanked: 40 times
Been thanked: 11 times

Re: Star Wars Battlefront dds format

Post by JakeGreen »

Um from what i've been told the Diffuse textures are BC7_SRGB and the normal maps are BC5 hope that helps anyone out.
michalss
Moderator
Posts: 954
Joined: Sun Mar 27, 2011 8:42 pm
Has thanked: 10 times
Been thanked: 161 times

Re: .

Post by michalss »

can anyone post correct DXT10 header please ??
Quick BMS Editor GUI - simple easy to use
Goto : viewtopic.php?uid=34229&f=29&t=6797&start=0

Downloads from DropBox : https://dl.dropboxusercontent.com/u/
luxox18
mega-veteran
mega-veteran
Posts: 176
Joined: Fri Jul 29, 2011 9:18 pm
Has thanked: 54 times
Been thanked: 46 times

Re: .

Post by luxox18 »

michalss wrote:can anyone post correct DXT10 header please ??
From Call of Duty Black Ops 3 original textures

BC4_UN DX10

Code: Select all

Offset  0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

0000   44 44 53 20 7C 00 00 00  06 00 00 00 00 08 00 00   DDS |...........
0010   00 08 00 00 00 10 00 00  00 00 00 00 01 00 00 00   ................
0020   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0030   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0040   00 00 00 00 00 00 00 00  00 00 00 00 20 00 00 00   ............ ...
0050   04 00 00 00 44 58 31 30  00 00 00 00 00 00 00 00   ....DX10........
0060   00 00 00 00 00 00 00 00  00 00 00 00 00 10 00 00   ................
0070   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0080   4F 00 00 00 03 00 00 00  00 00 00 00 01 00 00 00   O...............
0090   00 00 00 00                                        ....
BC7_UN DX10

Code: Select all

Offset  0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F

0000   44 44 53 20 7C 00 00 00  06 00 00 00 00 08 00 00   DDS |...........
0010   00 08 00 00 00 20 00 00  00 00 00 00 01 00 00 00   ................
0020   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0030   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0040   00 00 00 00 00 00 00 00  00 00 00 00 20 00 00 00   ............ ...
0050   04 00 00 00 44 58 31 30  00 00 00 00 00 00 00 00   ....DX10........
0060   00 00 00 00 00 00 00 00  00 00 00 00 00 10 00 00   ................
0070   00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00   ................
0080   61 00 00 00 03 00 00 00  00 00 00 00 01 00 00 00   a...............
0090   00 00 00 00                                        ....

here the examples: http://download1496.mediafire.com/g59f4 ... xtures.rar
Post Reply