Basic DDS File Editing with GIMP

Patchmaking tutorials for NBA 2K13.

Basic DDS File Editing with GIMP

Postby JaoSming on Tue Apr 23, 2013 6:06 am

GIMP is the free alternative to Photoshop. I don't know anything about Photoshop so I will be unable to answer questions about it.

Download GIMP from here
http://www.gimp.org/

You will need a DDS Plug-in as well
http://code.google.com/p/gimp-dds/

Google will help you figure out how to install the plug-in. Essentially you just need to put a file into the right folder and start the program.


So after you load up GIMP and choose to open a DDS file I get this dialog box.

Image

I uncheck the mip maps box to make things simpler and I don't care if that dialog ever comes back.

This is how your texture should look

Image

For the sake of changing something, I selected the green of the jersey and terribly recolored it black. For tips on the tools available in GIMP, you should check out Google and YouTube, there are tons of tools and techniques that I am too bad at to teach others...thankfully, this being an open-source program, there are tons of resources.

Image

That image was taken with the Layer Mask both disabled and with the [Edit Layer Mask] unchecked.

Now it's time to save it, but it's not as easy as it sounds. You need to be sure to match the exact compression and dimensions of the original file. All the dds files also have mip maps, so you need to be sure to save with those generated as well. This information can be found in the bottom left corner of the Mod Tool.

Image

Knowing that this texture is a DXT5 compression and 1024, 512 and has mip maps will help with the next step.

Now if you just hit save in GIMP it will not allow you to edit any of the compression information, so we need to hit SAVE AS

Image

Once this dialog pops up you need to be sure that you have the .dds extension in the save box. Instead of having a drop down box that lets you choose what file type you want to save as, you need to manually type in the 3 letter extension like dds, png, bmp, jpg.

Image

Finally this last DDS dialog box will pop up asking you for compression and other parameters.

Image

We need to hit the drop down box to change the compression to DXT5 and check the Generate MipMaps box.

If no errors pop up, you should be all set to import this texture back into the iff file with the Mod Tool or the Cyberface Importer/Exporter. For help with that, check out the tutorials above.
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: Basic DDS File Editing with GIMP

Postby TJMcGOAT on Mon Feb 03, 2014 5:01 am

JaoSming wrote:GIMP is the free alternative to Photoshop. I don't know anything about Photoshop so I will be unable to answer questions about it.

Download GIMP from here
http://www.gimp.org/

You will need a DDS Plug-in as well
http://code.google.com/p/gimp-dds/

Google will help you figure out how to install the plug-in. Essentially you just need to put a file into the right folder and start the program.


So after you load up GIMP and choose to open a DDS file I get this dialog box.

Image

I uncheck the mip maps box to make things simpler and I don't care if that dialog ever comes back.

This is how your texture should look

Image

For the sake of changing something, I selected the green of the jersey and terribly recolored it black. For tips on the tools available in GIMP, you should check out Google and YouTube, there are tons of tools and techniques that I am too bad at to teach others...thankfully, this being an open-source program, there are tons of resources.

Image

That image was taken with the Layer Mask both disabled and with the [Edit Layer Mask] unchecked.

Now it's time to save it, but it's not as easy as it sounds. You need to be sure to match the exact compression and dimensions of the original file. All the dds files also have mip maps, so you need to be sure to save with those generated as well. This information can be found in the bottom left corner of the Mod Tool.

Image

Knowing that this texture is a DXT5 compression and 1024, 512 and has mip maps will help with the next step.

Now if you just hit save in GIMP it will not allow you to edit any of the compression information, so we need to hit SAVE AS

Image

Once this dialog pops up you need to be sure that you have the .dds extension in the save box. Instead of having a drop down box that lets you choose what file type you want to save as, you need to manually type in the 3 letter extension like dds, png, bmp, jpg.

Image

Finally this last DDS dialog box will pop up asking you for compression and other parameters.

Image

We need to hit the drop down box to change the compression to DXT5 and check the Generate MipMaps box.

If no errors pop up, you should be all set to import this texture back into the iff file with the Mod Tool or the Cyberface Importer/Exporter. For help with that, check out the tutorials above.


I have a question and I really hope somebody can help me.
I'm just getting into court editing and I absolutely have no clue how to correctly export, edit and import those BMP RGBA reflection maps.
My problem is manly the GIMP export settings of this texture...
You do not have the required permissions to view the files attached to this post.
User avatar
TJMcGOAT
 
Posts: 28
Joined: Sat Oct 26, 2013 8:46 pm

Re: Basic DDS File Editing with GIMP

Postby JaoSming on Mon Feb 03, 2014 6:27 am

Image
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: Basic DDS File Editing with GIMP

Postby TJMcGOAT on Tue Feb 04, 2014 2:20 am

JaoSming wrote:Image

Thank you very much!
User avatar
TJMcGOAT
 
Posts: 28
Joined: Sat Oct 26, 2013 8:46 pm

Re: Basic DDS File Editing with GIMP

Postby JaoSming on Sun Feb 23, 2014 12:58 am

very welcome, I hope it works for you
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: Basic DDS File Editing with GIMP

Postby Smoove784439 on Tue Jun 17, 2014 6:30 am

JaoSming wrote:GIMP is the free alternative to Photoshop. I don't know anything about Photoshop so I will be unable to answer questions about it.

Download GIMP from here
http://www.gimp.org/

You will need a DDS Plug-in as well
http://code.google.com/p/gimp-dds/

Google will help you figure out how to install the plug-in. Essentially you just need to put a file into the right folder and start the program.


So after you load up GIMP and choose to open a DDS file I get this dialog box.

[ Image ]

I uncheck the mip maps box to make things simpler and I don't care if that dialog ever comes back.

This is how your texture should look

[ Image ]

For the sake of changing something, I selected the green of the jersey and terribly recolored it black. For tips on the tools available in GIMP, you should check out Google and YouTube, there are tons of tools and techniques that I am too bad at to teach others...thankfully, this being an open-source program, there are tons of resources.

[ Image ]

That image was taken with the Layer Mask both disabled and with the [Edit Layer Mask] unchecked.

Now it's time to save it, but it's not as easy as it sounds. You need to be sure to match the exact compression and dimensions of the original file. All the dds files also have mip maps, so you need to be sure to save with those generated as well. This information can be found in the bottom left corner of the Mod Tool.

[ Image ]

Knowing that this texture is a DXT5 compression and 1024, 512 and has mip maps will help with the next step.

Now if you just hit save in GIMP it will not allow you to edit any of the compression information, so we need to hit SAVE AS

[ Image ]

Once this dialog pops up you need to be sure that you have the .dds extension in the save box. Instead of having a drop down box that lets you choose what file type you want to save as, you need to manually type in the 3 letter extension like dds, png, bmp, jpg.

[ Image ]

Finally this last DDS dialog box will pop up asking you for compression and other parameters.

[ Image ]

We need to hit the drop down box to change the compression to DXT5 and check the Generate MipMaps box.

If no errors pop up, you should be all set to import this texture back into the iff file with the Mod Tool or the Cyberface Importer/Exporter. For help with that, check out the tutorials above.

My DDS is a BMP, 1024x1024. I cannot find a BMP compression on the DDS menu in GIMP. How do I get the BMP thing?
Smoove784439
 
Posts: 274
Joined: Sat Aug 24, 2013 8:16 am

Re: Basic DDS File Editing with GIMP

Postby JaoSming on Tue Jun 17, 2014 6:56 am

its not BMP, it is an error in the 2kx tool. It is actually an RGBA8 format, no compression. 3DM tool supports this format but not stadium files. 2k10 jersey editor can import/export it, but not always. Try to manually import it with 2kx but it might not work.


BTW, I do check these topics for new replies, you didn't need to PM me.
Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: Basic DDS File Editing with GIMP

Postby Smoove784439 on Tue Jun 17, 2014 6:59 am

JaoSming wrote:its not BMP, it is an error in the 2kx tool. It is actually an RGBA8 format, no compression. 3DM tool supports this format but not stadium files. 2k10 jersey editor can import/export it, but not always. Try to manually import it with 2kx but it might not work.


BTW, I do check these topics for new replies, you didn't need to PM me.

Thanks. Didn't know you still check NBA 2K13 topics.
Smoove784439
 
Posts: 274
Joined: Sat Aug 24, 2013 8:16 am

Re: Basic DDS File Editing with GIMP

Postby JaoSming on Tue Jun 17, 2014 7:05 am

Opinions are my own.

JaoSming
2KTV Producer
NBA 2K Developer
 
Posts: 29904
Joined: Tue Sep 13, 2005 12:45 am
Location: 2K

Re: Basic DDS File Editing with GIMP

Postby Smoove784439 on Tue Jun 17, 2014 7:17 am

JaoSming wrote:I SEE EVERYTHING
search.php?search_id=newposts
heh

Ok. Lol.
Smoove784439
 
Posts: 274
Joined: Sat Aug 24, 2013 8:16 am


Return to NBA 2K13 Tutorials & FAQs

Who is online

Users browsing this forum: No registered users and 2 guests