• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX .X TextureFilename

tylerpilot

Resource contributor
Messages
254
Country
unitedstates
.X TextureFilename *solved*

Hi,
I have made several aircraft using Flight Simulator Design Studio. The aircraft are for being static aircraft. Then I export it as a .X file and open it using Model Converter X. In Model Converter, the aircraft has no textures. In the event log, I get this message:

"Unsupported X command TextureFilename"

At the bottom of the event log, it says "Could not find linked animation for Wing__left_6" even though I do not have any animations on the model.

Does anyone know how to fix this problem? I have SDK on a different hard drive than FSDS. If that matters.

I Have also attached the event log to this thread.
 

Attachments

Last edited:
Have you tried to compile them via Xtomdl, reading x file has been added recently so could have some bugs.

When I try to compile it as a scenery object or aircraft file I get lots of errors and the file comes up empty.
 
Last edited:
The well known Mdl=0 bytes, can be anything, time to check things, try to export a simpler model as x file to see what happen, could be the Sdk.
 
try to export a simpler model as x file to see what happen, could be the Sdk.

I made a box, exported as .x file, and it still had the texture problem.


The well known Mdl=0 bytes, can be anything, time to check things.

What I mean by an empty .mdl file is that I open it in notepad and it is empty, there is no letters or codes in it.
 
Last edited:
Hi,

Are you using the latest version? I made some changes recently that should have fixed this warning.

You can ignore the warnings about the AnimLinkName.
 
Hi,

Are you using the latest version? I made some changes recently that should have fixed this warning.

You can ignore the warnings about the AnimLinkName.

I am using version 1.3. I also tried with the unstable version and some textures came but some of the aircraft had no textures and the rest was checkered.

attachment.php
 
Last edited:
Hi,

I made that bugfix only last week, so for sure you need the development release version for that.

It seems some textures could not be found. But that has not changed from version 1.3. If you look in the event log you will see which files could not be found. Maybe those textures are not at the location where the tool searches?
 
Hi,

I made that bugfix only last week, so for sure you need the development release version for that.

It seems some textures could not be found. But that has not changed from version 1.3. If you look in the event log you will see which files could not be found. Maybe those textures are not at the location where the tool searches?

Hi,

In the event log it does not say which specific textures that can't be found, it just says: Unsupported X command DiffuseTextureFilename

Last time, though, it said ''Unsupported X command TextureFilename", not
DiffuseTextureFilename

When exporting, FSDS does not export any textures at all.
 

Attachments

Last edited:
OK, I'll check. I think it is an issue with case sensitive or not.
 
I tried with all lower case letters. I was able to export one aircraft into flight simulator, but for the rest, only one texture was showing. And in the Mass texture editor,
attachment.php
it would not let me convert some of the textures, and it did not have the correct texture names.

attachment.php
 
Last edited:
Hi,

Those greyed out ones in the mass texture editor are textures that ModelConverterX can not found.

I'll update the X file reader to not be case sensitive anymore, now I check for the case as written in the FSX SDK, but it seems other tools are less strict on the case. So it seems not case sensitive. I hope to have the fix ready somewhere this weekend.
 
Should be fixed in the latest development release.
 
Hi,
I got the development release but now I get this:

attachment.php


It says: Only X files using text encoding are supported
Then:No reader supports reading object: C:\Users\<user>\Desktop\Pilatus PC-12.x
 

Attachments

Last edited:
Hi,

I had a problem with a crash caused by a binary X file, but it seems some of your files are not recgonised anymore. Can you post the first line of your X files, so I can check what is going on?
 
Hi,

I think I fixed the problem. Updated version will be online in about 30 minutes.
 
Hi,

I still get the problem with missing textures. It will not let me convert missing textures and has incorrect filenames. It could be a problem with xtoMDL, because it would not compile the .x file at all when I drag & drop to xtomdl.exe. Does this work for other people?

I have attached the .X file to this post.

EDIT: I also attached the .fsc file
 
Last edited:
I'll check your file tonight.

Send from my phone using Tapatalk, so excuse the short sentences and possible typos
 
Back
Top