Sign in to follow this  
neumanix

DxtFixerX

Recommended Posts

I've made this little tool that searches for dxt3 and dxt5 textures that have bad alpha channel data, and fixes them.

It was originally made for FS9 and only searched for dxt3, but it was very simple to also do dxt5 files, so here is the newest version.

It can be used for both FSX and FS9.

 

How it works:

 

You select a root folder from where the search should begin. This can be your FSX/FS9 root folder, but doesn't have to be.

It then goes through the folder structure (all subdirectories) from there on and searches for faulty files.

 

If you check the box that says "Just report bad files", it will only report which files are bad and need fixing, but doesn't actually do any fixing yet.

The list of faulty files is generated in a text file called "log.txt", in the same folder where DxtFixerX.exe is.

 

The program automatically exits after the search is done. Read the log.txt file and run the program again to fix any problems (leave the checkbox UNCHECKED this time).

 

Run the program yet again to verify that all files were fixed. The log.txt should now report that everything is OK, no files were altered.

 

This new version isn't available from the filelibrary yet, but for now you can get it from here: http://www.2shared.c.../DxtFixerX.html

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hi

Just a quick note for those who might get the following error as I did:

 

0172ea66506f.png

 

DxtFixerX does not support Unicode (UTF) path names, therefore if you get the error make sure all folders within FSX have English name.In my case this was specifically related to Project Tupolev's documents which had the name like "ÐËÝ ÈÍÑ21".

 

Thanks

Share this post


Link to post
Share on other sites

Peter, nice work on the tool. Used it to fix a bunch of AI and scenery .bmp's that were missing alpha's.

 

Is there a way to make the tool scan .dds files for missing alphas or would it even matter if files packed in .dds format are missing alphas?

Share this post


Link to post
Share on other sites

I ran the Unicode version and my results where,

 

--------------------------------------------

DxtFixerX for FS9 and FSX - by neumanix 2012

--------------------------------------------

 

THE FOLLOWING FILES ARE BAD:

 

No files were altered. Everything seems to be OK!

Share this post


Link to post
Share on other sites

I'll pin this temporarily, see how things go. You say one can't mess up this sim - I hope it is like that. Let's see what it brings.

Share this post


Link to post
Share on other sites

I ran the Unicode version and my results where,

 

--------------------------------------------

DxtFixerX for FS9 and FSX - by neumanix 2012

--------------------------------------------

 

THE FOLLOWING FILES ARE BAD:

 

No files were altered. Everything seems to be OK!

 

I got the same message.

I assume the tool is working fine??

 

(PS. Thanx for making it available!)

Share this post


Link to post
Share on other sites

Er... very nice and all but I am missing some basic information: WHY I should use this tool? What if a file does have bad alpha channel data...? Why do those files need to be fixed? I must have missed something somewhere but I never heard about this 'problem' (?). :wink: So before I use it, could someone tell me what's the use of this tool?

Share this post


Link to post
Share on other sites

J van E, It can cause huge pauses(stutters) when loading such textures. This was especially noticeable for me with the maddog 2010, everytime it took 4-5 seconds to load the VC and I thought it was the devs fault. After fixing such files with this tool now the load times are nonexistent. Aerosoft sceneries and some really old payware stuff is full of these textures. It helped with Amsterdam too for me.

Share this post


Link to post
Share on other sites

Thanks for the clarification, Kaan! Maybe it could be added to the OP? :wink:

 

EDIT

Used the tool (the new unicode one) and all was fine. So I can't tell you if this tool actually works... :wink:

Share this post


Link to post
Share on other sites

Something doesn't seem to work correct in the unicode version. It doesn't find anything in my FSX folder, while with the normal version finds a bunch of corrupt files

Share this post


Link to post
Share on other sites

Thanks for the clarification, Kaan! Maybe it could be added to the OP? :wink:

 

EDIT

Used the tool (the new unicode one) and all was fine. So I can't tell you if this tool actually works... :wink:

 

Same here, no corrupt textures found while I have never altered any dxt files.. I do own a lot of Aerosoft scenery so I guess that there should be some, but these aren't picked up by the tool.

Share this post


Link to post
Share on other sites

Same here....the Unicode finds nothing but the original (non-unicode) does find a bunch of bad files

Share this post


Link to post
Share on other sites

Same here....the Unicode finds nothing but the original (non-unicode) does find a bunch of bad files

 

Yes, I can confirm this. I've removed the file for now.

 

The tool is still very much in an experimental stage, and I'm no guru when it comes to programming, but I'll try to sort out the problems.

Share this post


Link to post
Share on other sites

I tested the tool on some sceneries, including Amsterdam, I saw FPS increase of about 10% in the same view, 31fps vs 33fps. But I didn't test anything else yet.

 

Neumanix, see if you can solve the problem. In the meantime, I'll unpin it. When you are done and tested, we'll see further.

Share this post


Link to post
Share on other sites

I finally finished up fixing all my missing alpha textures last night using a combo of AlphaSearcher2 and DxFixerX that was the prior version from the AVSIM library. I was amazed when I ran AlphaSearcher2 and saw how many alpha-less textures I had in scenery but mostly in the AI department. For some reason DxFixerX wouldn't fix all the AI and scenery textures, so after rechecking the work with AlphaSearcher2 I did the remaining few files manually with DXTBmp.

 

So far after testing I have not really seen that much of an improvement over what I already had, but maybe a touch smoother with a lot of AI around. Personally I think the biggest gain I got was from when I originally mipped all my AI a few years ago. Even though the batch tool I used stripped some of the alpha textures, the smoothness and FPS increase was way more noticeable than when I went back in a added the missing alphas back. All in all though its probably better having the missing alphas added back in that not.

 

Still wondering about checking all the .dds files that I have since the 2 tools dont check those.

Share this post


Link to post
Share on other sites

I don't know how but this made my simulator unstable for some reason . First when i click fly now in FSX it loads but half of the screen is more black than the other. This never happen before my FPS at KATL is very low the lowest i have ever seen it to 3 an 4 . So before i did this fix i created a system restore point, but it looks like it didn't save anything . So now am stuck with fsx running unstable i would say because before this fix FSX was stable even dow i would receive those 2 second pause flying over different scenery for example GTX areas in North America which includes KATL ATLANTA . When i ran DXtFixerX i selected the root fsx folder an it even found error on aircraft scenery from all kind of payware such as GTX, TropicalSIm, LatinVFR etc.... It fix it but ever since that happen now my fsx is running unstable an i don't know what to do . I can't understand how FPS got to 3 an 4 when i use to have FPS to 60 to 30 . An its not because of the aircraft i know am using QualityWings 757 but no matter what aircraft i try it runs very low FPS.

Share this post


Link to post
Share on other sites

Mr340, I had some random white spider web looking things appearing on my screen after running the tool to fix some scenery and AI alpha issues. I shut FSX down and rebooted my rig and tested FSX again at the same sceneries, day/time and using the same ac where I was getting the white spider webs and all is good again.

 

Maybe a fresh reboot of your rig will take care of it for you as well.

Share this post


Link to post
Share on other sites

Mr340, I had some random white spider web looking things appearing on my screen after running the tool to fix some scenery and AI alpha issues. I shut FSX down and rebooted my rig and tested FSX again at the same sceneries, day/time and using the same ac where I was getting the white spider webs and all is good again.

 

Maybe a fresh reboot of your rig will take care of it for you as well.

 

I have try that JImburke no luck for me. Something is eating my FPS i don't know what .

Share this post


Link to post
Share on other sites

Am trying to remember the log file from DXtFixerX all the error where it coming from. So base from the log file what i am really doing right now is reinstalling all the scenery that DXtFixerX said it had errors on. I think is working because after reinstalling GEX FPS went back up in KATL. Am trying to remember what other scenery it give me those same error . As far as the DXtFixerX the program is not bad it just needs a little more work on . I think it even help me to determine which scenery i have these errors , so i can reinstall it again an maybe get a little more FPS . But i will advice fellow Simmers who might had this similar issues that before running DXtFixerX make sure to select to post log file that will only tell you the errors in your sim NOT FIX!. Don't have the program correct the error try reinstalling every scenery that DXtFixerX found errors on. It may take sometimes but at lease you know it won't affect your fsx like it did mines,by having DXtFixerX fix your errors. Hope this help anyone who may have similar issues.

Share this post


Link to post
Share on other sites

A log of what was fixed would be nice.

 

Am sorry what happen was when i ran the program again it overwrite the current log file. So right now it only shows no files were altered. Everything seems to be OK! That is why i didn't post the log file .

Share this post


Link to post
Share on other sites

Just tried it.

 

Thought I was getting a few white flashing areas afterwards.

On reboot everything seems ok.

 

 

--------------------------------------------

DxtFixerX for FS9 and FSX - by neumanix 2012

--------------------------------------------

 

THE FOLLOWING FILES WERE FIXED:

 

D:\FSX\Effects\texture\fx_shtstar.bmp

D:\FSX\OZx\OZx_LIB\Texture\Ercoupe_001a.bmp

D:\FSX\OZx\OZx_LIB\Texture\Ercoupe_001a_LM.bmp

D:\FSX\OZx\OZx_LIB\Texture\Ercoupe_001b.bmp

D:\FSX\OZx\OZx_LIB\Texture\Ercoupe_001b_LM.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed1_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed2_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed2_01.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed2_02.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed3extension_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed3extension_01.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed3extension_02.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed3extension_03.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed3_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\kh_shed3_01.bmp

D:\FSX\OZx\OZx_LIB\Texture\PA28_001.bmp

D:\FSX\OZx\OZx_LIB\Texture\PA28_001_LM.bmp

D:\FSX\OZx\OZx_LIB\Texture\PA28_002.bmp

D:\FSX\OZx\OZx_LIB\Texture\PA28_002_LM.bmp

D:\FSX\OZx\OZx_LIB\Texture\PA28_003.bmp

D:\FSX\OZx\OZx_LIB\Texture\PA28_003_LM.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-30km-1sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-30km-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-30KPH-Pole_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-BarePole-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-disabled-1sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-disabled-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-HiVolt-Triangle-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-HiVolt-Triangle_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-Kangaroo-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-Kangaroo-Pole_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-NoEnter-1sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-NoEnter-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-NoEnterPole-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-NoFlame-1sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-NoFlame-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-NoParkBeyond-Pole_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-NoParkNoStop-Pole_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-OneWay-Pole-R_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-OneWay-Pole_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-PickUp-NoPark-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-RestrictArea-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-RestrictArea-sgn_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-SafetyGear-1sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-SafetyGear-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-Stop-1sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-Stop-2sd_00.bmp

D:\FSX\OZx\OZx_LIB\Texture\tony-Stop-Pole_00.bmp

D:\FSX\Scenery\Global\Texture\Area1Specular.bmp

D:\FSX\Scenery\Global\Texture\Area3Specular.bmp

D:\FSX\Scenery\Global\Texture\Area5Specular.bmp

D:\FSX\Scenery\props\texture\prop_turbine1.bmp

D:\FSX\Scenery\props\texture\prop_turbine2.bmp

D:\FSX\Scenery\World\Texture\123b2su1.bmp

D:\FSX\Scenery\World\Texture\124b2fa1.bmp

D:\FSX\Scenery\World\Texture\124b2hw1.bmp

D:\FSX\Scenery\World\Texture\124b2sp1.bmp

D:\FSX\Scenery\World\Texture\124b2su1.bmp

D:\FSX\Scenery\World\Texture\124b2wi1.bmp

D:\FSX\Scenery\World\Texture\Road2LandAsphaltSU-256.bmp

D:\FSX\Scenery\World\Texture\roadslm.bmp

D:\FSX\Scenery\World\Texture\roadssu.bmp

D:\FSX\SimObjects\GroundVehicles\FuelTruck\texture\fueltruck.bmp

D:\FSX\Texture\VCRainMoving0000.bmp

D:\FSX\Texture\VCRainMoving0001.bmp

D:\FSX\Texture\VCRainMoving0002.bmp

D:\FSX\Texture\VCRainMoving0003.bmp

D:\FSX\Texture\VCRainMoving0004.bmp

D:\FSX\Texture\VCRainMoving0005.bmp

D:\FSX\Texture\VCRainMoving0006.bmp

D:\FSX\Texture\VCRainMoving0007.bmp

D:\FSX\Texture\VCRainMoving0008.bmp

D:\FSX\Texture\VCRainMoving0009.bmp

D:\FSX\Texture\VCRainMoving0010.bmp

D:\FSX\Texture\VCRainMoving0011.bmp

D:\FSX\Texture\VCRainMoving0012.bmp

D:\FSX\Texture\VCRainMoving0013.bmp

D:\FSX\Texture\VCRainMoving0014.bmp

D:\FSX\Texture\VCRainMoving0015.bmp

D:\FSX\Texture\VCRainStopped0000.bmp

D:\FSX\Texture\VCRainStopped0001.bmp

D:\FSX\Texture\VCRainStopped0002.bmp

D:\FSX\Texture\VCRainStopped0003.bmp

D:\FSX\Texture\VCRainStopped0004.bmp

D:\FSX\Texture\VCRainStopped0005.bmp

D:\FSX\Texture\VCRainStopped0006.bmp

D:\FSX\Texture\VCRainStopped0007.bmp

D:\FSX\Texture\VCRainStopped0008.bmp

D:\FSX\Texture\VCRainStopped0009.bmp

D:\FSX\Texture\VCRainStopped0010.bmp

D:\FSX\Texture\VCRainStopped0011.bmp

D:\FSX\Texture\VCRainStopped0012.bmp

D:\FSX\Texture\VCRainStopped0013.bmp

D:\FSX\Texture\VCRainStopped0014.bmp

D:\FSX\Texture\VCRainStopped0015.bmp

 

 

gb.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this