Does texture.cfg work?

Version: 1.6.5

Frequency: Consistently

Severity: High/Blocker

Marketplace package name: N/A

Context: When editing

Similar MSFS 2020 issue: N/A

Bug description:

The following is in the texture.cfg of an AirplaneParts object (Seatblets):

[fltsim]
fallback.1=..\..\..\Airplanes\mnd-aircraft-c22j\commmon\texture
fallback.2=..\..\..\Airplanes\mnd-aircraft-c22j\commmon

The console reports this error:

'[LOD0] simobjects\airplaneparts\mnd_c22j_seatbelts\model.copilot_unfastened\C22J_COPILOT_SEATBELT_UNFASTENED.gltf': Could not find texture: 'C22J_VCC.PNG.KTX2'.
Model asking for it is: vfs://mnd-aircraft-c22j/simobjects/airplaneparts/mnd_c22j_seatbelts/model.copilot_unfastened/c22j_copilot_seatbelt_unfastened.gltf
Looking in folders:
   - (shared) simobjects\airplaneparts\mnd_c22j_seatbelts\texture
   - (shared) simobjects\airplanes\mnd-aircraft-c22j\commmon\texture
   - (shared) simobjects\airplanes\mnd-aircraft-c22j\commmon
   - (shared) texture

If I check the VFS, the file is reachable in the path:

Is there an issue with texture.cfg pathfinding?

Repro steps: can texture.cfg access another simobject in the same package?

if im not mistaken the model file needs direct access to the textures, not just thru the games livery system?

for example in an aircraft i can alias the texture folder but that folder would be listed in the aircraft.cfg
just adding that address to the fallbacks wont work, the model wont show at all because it cant find the textures (thats my experience from 2020 stuff, i dont think its diff though)

afaik the textures should go in the attachments parts folder next to the model

Hello @MariopilotPD808

This is pretty much what the Da62 seatbelt SimObject texture.cfg does:

And pointing to common rather than an attachment doesn’t make any difference.

If you provide me with a project that produces this error, I can trace what’s going wrong.

Regards,
Sylvain

I have discontinued efforts on the seatbelt system. Blender skinning does not reflect reliably what the sim will do… this is a 5-point harness so quite involved to skin.

Also I am forced to use Idle1_PosePropeller, as it is the only one that fits in my cockpit without the feet breaching out of the fuselage. This makes positioning the Seatbelts objects a nightmare….

They will not look good either way, so I disabled them.

If I further encounter issues with texture.cfg, I will open another ticket. Ignore this one for now.

1 Like