View Full Version : Fixing blurry buttons without Photoshop easy
Arian Jun 11, 2008, 11:16 AM When playing on low quality graphics setting (for big MODS) some buttons appear small and blurry. It just doesn't look good. Because I don't have Photoshop I had to find another solution. I did find info on the forum but fixing the buttons required Photoshop :(
But I found a simple (and free) solution:
1. Download and install NVIDIA Texture Tools and select DDS Utilities:
Here: http://developer.nvidia.com/object/nv_texture_tools.html
2. Run nvDXT
3. Use these commandline parameters:
nvDXT -file my_blurry_button.dds -nomipmap -dxt3 -fadeamount 0
The fixed buttons can then be found in the DDS Utilities map (they have an underscore attached). Wildcards are allowed so you can fix a whole bunch at once.
Maybe someone has figured this out before but I couldn't find it on the forum so I decided post it. :)
EmperorFool Jun 30, 2008, 03:56 AM Thank you very much for this information. It came at the perfect time and worked like a charm. :)
You don't happen to know of a handy utility that will strip the trailing underscore from the filenames after processing, do you?
Arian Jul 01, 2008, 04:20 PM Thank you very much for this information. It came at the perfect time and worked like a charm. :)
You don't happen to know of a handy utility that will strip the trailing underscore from the filenames after processing, do you?
Nope, didn't figure that out but when I convert png to dds there are no trailing underscores. Probably an extension issue.
BTW I use these batch file for rapid conversion:
makebutton.bat
nvdxt -file d:\games\*.png -nomipmap -dxt3 -fadeamount 0
nvdxt -file d:\games\*.dds -nomipmap -dxt3 -fadeamount 0
del d:\games\*.png
del d:\games\*.dds
Place this batch file in the "DDS Utilities"-folder and your png/dds buttons/atlas files in d:\games (or whatever directory you choose, just change the path)
It eats your blurry buttons and spits out nice sharp non-blurry buttons :lol:
EmperorFool Jul 01, 2008, 08:29 PM Nope, didn't figure that out but when I convert png to dds there are no trailing underscores.
It's possible that I only get the trailing underscore because I'm processing the DDS files in-place. It cannot use the same name, so it adds the underscore. I'll try pulling them from a different directory. And it's nice to see that it will convert the PNGs as well.
Arian Jul 01, 2008, 11:16 PM It's possible that I only get the trailing underscore because I'm processing the DDS files in-place. It cannot use the same name, so it adds the underscore. I'll try pulling them from a different directory. And it's nice to see that it will convert the PNGs as well.
Actually it reads also tga, gif, bmp, jpg, ppm, tif, cel, psd, rgb, bw and rgba!
To convert them too, add them in the batch-file.
Xenomorph Jul 05, 2008, 06:08 AM I still get the trailing underscores, even when I have everything converted in two different directories.
Arian Jul 05, 2008, 06:35 AM Me too. You have to remove them manually (for dds-files). I can't help you with that ;)
Xenomorph Jul 05, 2008, 06:54 AM Well, is there a batch file command to remove a trailing underscore that could be used?
Arian Jul 05, 2008, 06:58 AM Well, is there a batch file command to remove a trailing underscore that could be used?
Man, you're talking DOS from 15 years ago :old:
Try this IIRC:
ren *_.dds *.dds
or more general:
ren *_.* *.*
Be sure to backup first!
Xenomorph Jul 05, 2008, 10:12 PM Muchas grācias.
Arian Jul 10, 2008, 05:45 PM Muchas grācias.
Graag gedaan. Geen dank. ;)
OzzyKP Aug 27, 2008, 06:46 AM And for those of you who do have photoshop:
http://forums.civfanatics.com/showthread.php?t=268684
ZeroOne Oct 19, 2008, 04:15 AM You don't happen to know of a handy utility that will strip the trailing underscore from the filenames after processing, do you?
Try Rename Master (http://www.joejoesoft.com/cms/showpage.php?cid=108)! It does simple things like that with just a couple of clicks, but it also does some more advanced stuff if you need to rename .jpg or .mp3 files according to their meta data.
yamunatri Nov 29, 2008, 02:51 AM Hi all, I have an Inkjet printer Canon MP500 which paper gets stuck. The paper is getting stuck in my printer, whether it comes from the tray or the top-feeder. Nothing seems to be broken or jammed, and it was working fine up until now. I've tried a few different types of paper. Should I take it apart and put it back together? I wouldn't buy this printer again; it uses a lot of ink. Any suggestions will be appreciated.
Arian Nov 29, 2008, 10:44 AM Hi all, I have an Inkjet printer Canon MP500 which paper gets stuck. The paper is getting stuck in my printer, whether it comes from the tray or the top-feeder. Nothing seems to be broken or jammed, and it was working fine up until now. I've tried a few different types of paper. Should I take it apart and put it back together? I wouldn't buy this printer again; it uses a lot of ink. Any suggestions will be appreciated.
You should post this on the Canon site, not here!
Daryl95 Jul 27, 2009, 10:33 AM Thanks. I've been having trouble with this and I've never had trouble before. Did someone say something about graphics settings causing this?
Arian Jul 27, 2009, 01:20 PM If you play Civ4 in low graphics, you might get blurry, small buttons, if they are not in the correct format :)
Daryl95 Jul 29, 2009, 10:25 AM If you play Civ4 in low graphics, you might get blurry, small buttons, if they are not in the correct format :)
What's the correct format? I use dds dxt3.
Arian Jul 30, 2009, 03:51 AM What's the correct format? I use dds dxt3.
That's the correct format.
Daryl95 Aug 01, 2009, 08:06 AM That's the correct format.
I still have trouble though. They all come out 32x32.
Arian Aug 01, 2009, 10:34 AM I still have trouble though. They all come out 32x32.
:confused:
Make sure your input is 64x64 or multiples of 2 (2,4,8,16,32,64...etc.)
Daryl95 Aug 01, 2009, 02:25 PM :confused:
Make sure your input is 64x64 or multiples of 2 (2,4,8,16,32,64...etc.)
That's not the problem. My input was 64x64 but in the game it kept coming out 32x32. I increased my graphics settings but I'm making my mod for the community and I don't want it to do that to people because their graphics cards are low. I'd rather not go through extra processes to get the button to come out right. I put enough work into getting the border right so the corner isn't ugly. I still haven't got it right.
Arian Aug 01, 2009, 04:24 PM That's not the problem. My input was 64x64 but in the game it kept coming out 32x32. I increased my graphics settings but I'm making my mod for the community and I don't want it to do that to people because their graphics cards are low. I'd rather not go through extra processes to get the button to come out right. I put enough work into getting the border right so the corner isn't ugly. I still haven't got it right.
Could you send me some buttons so I can check it out.
Daryl95 Aug 01, 2009, 06:01 PM Could you send me some buttons so I can check it out.
Yes. Here they are.
Daryl95 Aug 01, 2009, 06:20 PM Hi all, I have an Inkjet printer Canon MP500 which paper gets stuck. The paper is getting stuck in my printer, whether it comes from the tray or the top-feeder. Nothing seems to be broken or jammed, and it was working fine up until now. I've tried a few different types of paper. Should I take it apart and put it back together? I wouldn't buy this printer again; it uses a lot of ink. Any suggestions will be appreciated.
Step 1: Hit it with a hammer.:hammer:
Step 2: Try Again.:bump:
Step 3: If it didn't work get a new printer.:crazyeye:
:stupid:
:agree:
Lol!:lol:
achilleszero Aug 01, 2009, 06:49 PM Daryl: The problem is that all your buttons have mipmaps, they are a no-no when dealing with buttons. Save it without mip maps and can almost gaurantee that they will nolonger be blurry. For some reason mipmaps give the game problems when resizing it, hence the blurry and small buttons.
And on a sidenote: Even though just about everyone will tell you to compress buttons at DXT3, I would suggest to not compress them at all. Reason being is that it does make the image look slightly grainier. Its almost imperceptable at large textures, but when you get down to 64x64, it does make a difference. Also when compressing your only saving 10KB, so its not like your saving a lot.
Daryl95 Aug 01, 2009, 07:14 PM Daryl: The problem is that all your buttons have mipmaps, they are a no-no when dealing with buttons. Save it without mip maps and can almost gaurantee that they will nolonger be blurry. For some reason mipmaps give the game problems when resizing it, hence the blurry and small buttons.
And on a sidenote: Even though just about everyone will tell you to compress buttons at DXT3, I would suggest to not compress them at all. Reason being is that it does make the image look slightly grainier. Its almost imperceptable at large textures, but when you get down to 64x64, it does make a difference. Also when compressing your only saving 10KB, so its not like your saving a lot.
Thanks.:goodjob:
Arian Aug 02, 2009, 01:47 AM Here are your fixed buttons. I think you did something wrong...
The_J Aug 02, 2009, 06:41 AM Daryl, would it be a problem, if i use one or two of the buttons for my mod :)?
Daryl95 Aug 02, 2009, 10:40 AM Daryl, would it be a problem, if i use one or two of the buttons for my mod :)?That would be just fine.
Manifold Oct 02, 2009, 07:05 AM disable mipmaps with DDS Converter 2
i put this in here so i cant forget in a half year
strategyonly Oct 12, 2009, 11:58 PM Do you have a copy that you have already made?
Daryl95 Oct 31, 2009, 03:01 PM Do you have a copy that you have already made?
Do you mean my post or someone else? That problem was resolved. The guy who said to disable mipmaps is who to thank. I did however post the buttons I was having a problem with.
WilliamOfOrange Feb 05, 2010, 12:21 PM And on a sidenote: Even though just about everyone will tell you to compress buttons at DXT3, I would suggest to not compress them at all. Reason being is that it does make the image look slightly grainier. Its almost imperceptable at large textures, but when you get down to 64x64, it does make a difference. Also when compressing your only saving 10KB, so its not like your saving a lot.
Sweet! I just asked about this on another thread, but are you suggesting to try the 1.5.5.5. setting than? We want to save the Alpha, but not compress. That will be better, right? Which setting is the best for that? Thanks a lot!
|
|