Jump to content

[HOW TO] Importing BC7 DDS Textures in GIMP


SinusoidDelta
 Share

Recommended Posts

I posted this in another thread but wanted to share it here for visibility. The guide below will allow you to import and export BC7 DDS textures in GIMP (I’m using build 2.10.8 )

 

Importing:

  1. Install the GIMP dds plugin from here
     
  2. Download the Microsoft DirectXTex utility called texconv.exe from here. Extract it to a folder and make note of the directory.
     
  3. Download this python script here. Open file-dds-texconv.py in Notepad++. Now enter the full directory for your texconv.exe binary from the previous step. Save file-dds-texconv.py
     
  4. Paste file-dds-texconv.py in your gimp plug-in folder (eg, Program Files\GIMP 2\lib\gimp\2.0\plug-ins
     
  5. Now open GIMP and select a BC7 .dds file. A script will run briefly and the texture will import.

 

You should now see the pretty tomcat texture you chose in GIMP:

unknown.png

 

 

Exporting:

 

  1. Select export from the file menu.
     
  2. Clicking + to view the different file types, you will see that “direct draw surface —-> .dds” is listed twice.
     
  3. Choosing one of the two file types (can’t remember which at the moment) will bring up the original DDS export options e.g
     
  4. Selecting the other will immediately export as BC7.

 

Let me know if you have any issues, cheers!

Link to comment
Share on other sites

you are the best!!! thank you!!!!

Now my kitten is getting pretty

 

 

one problem i got: when i open HB_F14_CPT_FRONT_01.dds i dont see all of the texture. normal i will load it with DXTBMP to splitt the alpha.

anyone has a solution?


Edited by BlackLibrary
Link to comment
Share on other sites

  • 3 weeks later...
  • 5 months later...
  • 1 month later...
  • 1 year later...
15 hours ago, Megalax said:

What do you mean by run the application? texconv.exe is not an application you run, you just save to dds with Gimp and it runs the script. 

I mean run Gimp.

 

Is the texconv.exe the only file required from the first link? Maybe it has dependencies on other files to run correctly? MS Visual C++ or DX9 (d/l and install DX)

 

FYI, I am trying to open a BC7 DDS. Got the same error as Father Cool


Edited by whisky.actual
Link to comment
Share on other sites

3 files from the first post. 1) dds plugin 2) texconv.exe 3) python script 

 

However, I see something else that "might" be your problem. In the python script I have forward slashes / where you have back slashes \ (may or may not be your problem - I always have issues with syntax) - gabuzomeu mentioned this in post #2

 

example,  my python code has:

BINARY="""C:/Program Files/GIMP 2/texconv.exe"""

 


Edited by prccowboy
Link to comment
Share on other sites

21 hours ago, prccowboy said:

3 files from the first post. 1) dds plugin 2) texconv.exe 3) python script 

 

However, I see something else that "might" be your problem. In the python script I have forward slashes / where you have back slashes \ (may or may not be your problem - I always have issues with syntax) - gabuzomeu mentioned this in post #2

 

example,  my python code has:


BINARY="""C:/Program Files/GIMP 2/texconv.exe"""

 

 

 

Thanks! that did it... guess the python did not like the \ from the windows path and requires the / as per unix, weird :S 

Link to comment
Share on other sites

Yes the slashes were the issue for me as well.

 

I have now however started exporting my textures as png's from GIMP and converting to DDS via paint.net as the GIMP plugin is nowhere near as simple and fast at doing the job.


Edited by Father Cool
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...

Yes ditto. Many thanks for this stripped countless hours out of my effort, almost seamless 

SYSTEM SPECS: Hardware Intel Corei7-9700K @ 5.1 GHz, 32Gb RAM, EVGA 3090 XC3, Dell S2716DG, Virpil T50CM3 Throttle, T-50CM2 Base & Constellation Alpha + MFG Crosswinds V2, HP Reverb G2 @ 2836 x 2768
SOFTWARE: Microsoft Windows 10 Pro x64, VoiceAttack & VIACOM PRO, TacView

VR Stuff:   My Settings for 3090 and G2  My Settings for 1080ti  Shaders MOD for VR  My variant of Kegetys mod with clear water and also IC PASS for current beta & stable, Patch Status

1569924735_WildcardsBadgerFAASig.jpg.dbb8c2a337e37c2bfb12855f86d70fd5.jpg

Link to comment
Share on other sites

  • 2 months later...

The first step is actually not needed. That old plugin will not work for BC7 I think, well, I'm not sure if I opened a BC7 texture, but the ones I tried didn't work. Texconv and the python script plugin does it all.


Edited by Worrazen

Getting back in action!

1st.: PC Specs WIP: Win10P 2004 (20H1), 1440p@75"32 - MB: Asus ROG Strix X-570E - CPU: AMD Ryzen ... - GPU: AMD Radeon ... - RAM: 64 GB - SSD: Samsung 970 EVO Plus 1TB NVMe

2nd.: PC Specs: Win10P 2004 (20H1), 1440p@75"32 - MB: Asus P9X79 - CPU: Intel i7 3820 - RAM: 32GB - GPU: AMD Radeon RX480 8GB - SSD Samsung 870 EVO 250GB (DCS), Input: Saitek Cyborg X/FLY5

Modules: A-10C I/II, F/A-18C, Mig-21Bis, M-2000C, AJS-37, Spitfire LF Mk. IX, P-47, FC3, SC, CA, WW2AP.

Terrains: NTTR, Normandy, Persian Gulf, Syria.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...