[HOW TO] Importing BC7 DDS Textures in GIMP - ED Forums
 


Notices

Reply
 
Thread Tools Display Modes
Old 03-24-2019, 01:37 AM   #1
SinusoidDelta
Member
 
SinusoidDelta's Avatar
 
Join Date: Sep 2014
Posts: 832
Default [HOW TO] Importing BC7 DDS Textures in GIMP

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:
Quote:
  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:



Exporting:

Quote:
  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!
SinusoidDelta is offline   Reply With Quote
Old 03-24-2019, 07:35 AM   #2
gabuzomeu
Member
 
gabuzomeu's Avatar
 
Join Date: Mar 2010
Posts: 293
Default

Works great. Many thanks.
Step 3, I forgot first to enter the path including filenale textconv.exe ,
Also note the windows \ need to be replaced by /
__________________
Details:
Asus Z-170E, Intel i5-6600K @ 4.2GHz, 16GB RAM
MSI GTX970 Gaming 4G
Win 10 Home
gabuzomeu is offline   Reply With Quote
Old 03-24-2019, 01:00 PM   #3
BlackLibrary
Member
 
BlackLibrary's Avatar
 
Join Date: May 2017
Location: Nbg, Franken (Ger)
Posts: 456
Default

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?

Last edited by BlackLibrary; 03-24-2019 at 01:50 PM.
BlackLibrary is offline   Reply With Quote
Old 04-09-2019, 11:51 PM   #4
TheGuardian
Member
 
Join Date: Jan 2019
Location: Alabama, USA
Posts: 124
Default

Awesome job man. This works like a charm
TheGuardian is offline   Reply With Quote
Old 09-16-2019, 07:09 AM   #5
Father Cool
Junior Member
 
Father Cool's Avatar
 
Join Date: Sep 2019
Location: UK
Posts: 25
Default

Hi I cant get this to work. There is no texconv.exe file contained in the download. Where do I point the python file to?

Last edited by Father Cool; 09-16-2019 at 11:54 AM.
Father Cool is offline   Reply With Quote
Old 09-16-2019, 11:39 AM   #6
Father Cool
Junior Member
 
Father Cool's Avatar
 
Join Date: Sep 2019
Location: UK
Posts: 25
Default



I'm getting this
Father Cool is offline   Reply With Quote
Old 09-18-2019, 05:41 PM   #7
Father Cool
Junior Member
 
Father Cool's Avatar
 
Join Date: Sep 2019
Location: UK
Posts: 25
Default

Any ideas on this?
Father Cool is offline   Reply With Quote
Old 11-12-2019, 11:36 PM   #8
Mnemonic
Veteran
 
Mnemonic's Avatar
 
Join Date: May 2006
Location: Zurich, Switzerland
Posts: 3,539
Default

Excellent guide, thank you!
I only had a problem on step 2, latest few releases don't include actual compiled exe file, you have to scroll down the page, "February 7, 2019" has texconv.exe that works
Mnemonic is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 03:43 PM. vBulletin Skin by ForumMonkeys. Powered by vBulletin®.
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.