MX vs ATV Unleashed Textures

Get your graphics formats figures out here! Got details for others? Post here!
User avatar
Mr.Mouse
Site Admin
Posts: 4032
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 413 times
Been thanked: 547 times
Contact:

Re: DDS2DXT Bug

Post by Mr.Mouse » Thu Apr 13, 2006 5:57 pm

Kamshaft wrote:I found a bug with the DDS2DXT program.
It's crashes when it tries to conver this file.


That's because it's not a dxt file, but a dxg file!

User avatar
Mr.Mouse
Site Admin
Posts: 4032
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 413 times
Been thanked: 547 times
Contact:

Post by Mr.Mouse » Thu Apr 13, 2006 6:46 pm

Here's a new version with command line support.

Still win32 environment though, it's not a real command line program, but it'll work.

Read the readme.txt for details.
You do not have the required permissions to view the files attached to this post.

dictator-duck
ultra-n00b
Posts: 2
Joined: Tue Apr 11, 2006 8:54 pm

Post by dictator-duck » Thu Apr 13, 2006 8:55 pm

can someone tell me how to import the file into game. i cant seem to get it to work.

Kamshaft
VIP member
VIP member
Posts: 43
Joined: Wed Mar 29, 2006 6:18 pm

Re: DDS2DXT Bug

Post by Kamshaft » Thu Apr 13, 2006 8:58 pm

Mr.Mouse wrote:
Kamshaft wrote:I found a bug with the DDS2DXT program.
It's crashes when it tries to conver this file.


That's because it's not a dxt file, but a dxg file!


Seriously? It had the DXT file extention, strange....

markthompson
ultra-n00b
Posts: 2
Joined: Tue Apr 11, 2006 9:44 pm

Post by markthompson » Thu Apr 13, 2006 11:46 pm

I only sharpened the last pic

bruceatk
n00b
Posts: 11
Joined: Sun Apr 02, 2006 6:50 pm

Post by bruceatk » Fri Apr 14, 2006 2:04 am

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

User avatar
Mr.Mouse
Site Admin
Posts: 4032
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 413 times
Been thanked: 547 times
Contact:

Post by Mr.Mouse » Fri Apr 14, 2006 7:10 am

Oh god, I had forgotten to remove that message box (it was only for debugging purposes)!!! :buck: I have removed it now. The program will return an errorcode if there are any.

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.

Kamshaft
VIP member
VIP member
Posts: 43
Joined: Wed Mar 29, 2006 6:18 pm

Post by Kamshaft » Fri Apr 14, 2006 1:02 pm

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.

bruceatk
n00b
Posts: 11
Joined: Sun Apr 02, 2006 6:50 pm

Post by bruceatk » Fri Apr 14, 2006 2:02 pm

Thanks, I'll check it out tonight.

Bruce

User avatar
Mr.Mouse
Site Admin
Posts: 4032
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 413 times
Been thanked: 547 times
Contact:

Post by Mr.Mouse » Fri Apr 14, 2006 3:58 pm

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.


Well, making the program idiot-proof has not been my priority. That's a chore. And chores are done following the rule:

Code: Select all

If TotalTime>TimeNeededForImportantStuff & Satisfied(Relaxation)=True Then PerformChore(NextChore)


The readme states one can convert DXT2DDS and vice versa. It doesn't mention other files. ;)

bruceatk
n00b
Posts: 11
Joined: Sun Apr 02, 2006 6:50 pm

Post by bruceatk » Sat Apr 15, 2006 1:23 am

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

User avatar
Mr.Mouse
Site Admin
Posts: 4032
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 413 times
Been thanked: 547 times
Contact:

Post by Mr.Mouse » Sat Apr 15, 2006 6:48 am

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


That's interesting. Can you attach a few examples of those that were not converted?

bruceatk
n00b
Posts: 11
Joined: Sun Apr 02, 2006 6:50 pm

Post by bruceatk » Sat Apr 15, 2006 3:56 pm

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
You do not have the required permissions to view the files attached to this post.

Silver
veteran
Posts: 80
Joined: Sat Apr 30, 2005 1:25 pm

Post by Silver » Sun Apr 16, 2006 3:35 am

Those are an Uknown type so it does not know what to do with it. 55

Data inside files looks pretty worthless to me :oops: (Images are no data)

Kamshaft
VIP member
VIP member
Posts: 43
Joined: Wed Mar 29, 2006 6:18 pm

Post by Kamshaft » Sat Apr 22, 2006 11:24 am

Seems like the dxt2dss converter has a bug, it seems to currupt the alpha channel, everything else is fine. Any ideas?

Post Reply