That's because it's not a dxt file, but a dxg file!Kamshaft wrote:I found a bug with the DDS2DXT program.
It's crashes when it tries to conver this file.
MX vs ATV Unleashed Textures
- Mr.Mouse
- Site Admin
- Posts: 4051
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 421 times
- Been thanked: 575 times
- Contact:
Re: DDS2DXT Bug
-
dictator-duck
- ultra-n00b
- Posts: 2
- Joined: Tue Apr 11, 2006 8:54 pm
Re: DDS2DXT Bug
Seriously? It had the DXT file extention, strange....Mr.Mouse wrote:That's because it's not a dxt file, but a dxg file!Kamshaft wrote:I found a bug with the DDS2DXT program.
It's crashes when it tries to conver this file.
Thanks for making it command line capable.
Of course there is always "one more thing". It has one problem running it from the command line. It displays a message box before it finishes. I ran it on 1200 files. On around 150 or so it started getting errors, because I had 150 instances running with 150 message boxes.
How about a /s switch (silent) ? Does it return a return code if it fails?
Thanks,
Bruce
Of course there is always "one more thing". It has one problem running it from the command line. It displays a message box before it finishes. I ran it on 1200 files. On around 150 or so it started getting errors, because I had 150 instances running with 150 message boxes.
How about a /s switch (silent) ? Does it return a return code if it fails?
Thanks,
Bruce
- Mr.Mouse
- Site Admin
- Posts: 4051
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 421 times
- Been thanked: 575 times
- Contact:
Oh god, I had forgotten to remove that message box (it was only for debugging purposes)!!!
I have removed it now. The program will return an errorcode if there are any.
Get the attached new version!
Get the attached new version!
You do not have the required permissions to view the files attached to this post.
Last edited by Mr.Mouse on Tue Apr 03, 2007 8:06 am, edited 1 time in total.
- Mr.Mouse
- Site Admin
- Posts: 4051
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 421 times
- Been thanked: 575 times
- Contact:
Well, making the program idiot-proof has not been my priority. That's a chore. And chores are done following the rule:Kamshaft wrote:If I try to convert a non DXT file the program tells me that it's converted, there's no error message.
Might want to look into that.
Code: Select all
If TotalTime>TimeNeededForImportantStuff & Satisfied(Relaxation)=True Then PerformChore(NextChore)
- Mr.Mouse
- Site Admin
- Posts: 4051
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 421 times
- Been thanked: 575 times
- Contact:
That's interesting. Can you attach a few examples of those that were not converted?bruceatk wrote:Kam, How many non-dxt files to you have lying around with a dxt extension?
Mr. Mouse, I ran it on a directory of 601 DXT files and it successfully converted 552 of them. 49 files it did not create a DDS file for.
Bruce
After playing with it some more about 40 of the files that it wasn't converting were random. I slowed down the process and it would then consistently convert the same files and not convert 10 of them. I guess you must be using a temp file that's the same name or something like that, so depending on how fast you run it it might be stepping on itself.
I slowed it down by moving the conversion into a seperate batch file and adding a check for errorlevel.
I've attached the 10 files that it doesn't convert. The files that I was converting are all from the vehicle texture part of MVA.
Bruce
I slowed it down by moving the conversion into a seperate batch file and adding a check for errorlevel.
I've attached the 10 files that it doesn't convert. The files that I was converting are all from the vehicle texture part of MVA.
Bruce
You do not have the required permissions to view the files attached to this post.


