• 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.

"Failed to load texture configuration file"

Messages
93
Country
canada
Hey everyone,

It's been a few years since I used sceneproc, but I am trying to make a small project. I see there have been some minor changes over the last few years, but overall, it's very similar. I am trying to make some polyveg autogen and have used the Texture editor filter to detect trees,veg over a bmp. I have saved the output as a tfc. So far no probs. I have written the following code:

IMPORTINF|D:\SBX\SBX315\Tools\Work\scenproc\CYMM\inf\L16X25007X25073Y40375Y40399.INF

SPLITGRID|AGN|-113;-109;55;57

DETECTFEATURES|FTYPE="RASTER"|D:\SBX\SBX315\Tools\Work\scenproc\CYMM\tfc\trees_all.tfc|String;veg|tree|NONE
CREATEAGNPOLYVEG|veg="tree"|{43c5b4ac-0366-430c-b303-dc7c61c711a5}


EXPORTAGN|FSX|D:\P3DV4\photoscenery\CYMM\texture

--


Where the L16X25007X25073Y40375Y40399.INF contains:

[Source]
Type = MultiSource
NumberOfSources = 1

[Source1]
Type = BMP
Layer = Imagery
SourceDir = "D:\SBX\SBX315\Tools\Work\"
SourceFile = "L16X25007X25073Y40375Y40399.BMP"
Variation = All
Channel_BlendMask = 2.0
Channel_LandWaterMask = 3.0
NullValue = 0,0,0
SamplingMethod = Gaussian
ulyMap = 56.6698112515327
ulxMap = -111.316223144531
xDim = 1.07288360595703E-05
yDim = 5.89805171685498E-06

[Destination]
DestDir = "D:\P3DV4\photoscenery\CYMM\scenery\"
DestBaseFileName = "Photo1"
DestFileType = BGL
LOD = Auto
UseSourceDimensions = 1
CompressionQuality = 100

However, one running the code, I get the following output shown in the attached image. I have added the tfc file as well bit it has a txt extension so it can be added here. You'll need to change it back to tfc to view it.

This is a P3dV4 project so all my sdk is targeted there, although at this stage where the code breaks, I don't see how that would come into it yet.

Any help would be appreciated

Thanks
 

Attachments

  • output.png
    output.png
    69.6 KB · Views: 395
  • trees_all.tfc.txt
    trees_all.tfc.txt
    7.7 KB · Views: 320
Last edited:
Hi,

Did you recently make the tfc file or is it an old one? The latest version might not read an old file due to code changes.
 
Hi,

Did you recently make the tfc file or is it an old one? The latest version might not read an old file due to code changes.

Hey Arno,

Yes that have been the problem. I have rerun it using the latest release and it works fine now. Thanks :)


Sent from my iPhone using Tapatalk
 
Back
Top