Page 1 of 2

Missing textures that are right there.

Posted: Sun Nov 13, 2022 6:59 pm
by DaggorathMaster
I have one item in my mod that has textures just fine in preview mode, but can't find them in real (exported) mode.

warning: File not found: <path/name where they literally are>
  • I checked the path
    I checked the .dds exporter settings and re-exported
    I have the correct extensions for the files vs. the def
    They're not 1025 pixels
    There are no other differences (that I can tell) from the setup for other textures that work
The full path/name is long (147 characters), but other longer ones work fine, and the relative path is normal (no extra subfolders to get lost in).

It makes my horrifying late-game monsters look silly, swinging untextured flaming weapons!

Re: Missing textures that are right there.

Posted: Sun Nov 13, 2022 7:07 pm
by THOM
Have you named the files .dds in the folder, but .tga in the definition?

Re: Missing textures that are right there.

Posted: Sun Nov 13, 2022 7:09 pm
by DaggorathMaster
Yes. I've quintuple-checked that by now.

Re: Missing textures that are right there.

Posted: Mon Nov 14, 2022 12:27 am
by minmay
Make sure the filenames and directory names are all lowercase.

Re: Missing textures that are right there.

Posted: Mon Nov 14, 2022 4:48 am
by DaggorathMaster
That's fine too. Like I said, it works in preview mode.
Are there any known differences in how textures or files are handled between preview and non-preview mode?

Re: Missing textures that are right there.

Posted: Mon Nov 14, 2022 2:09 pm
by Zo Kath Ra
Create a test dungeon with just this model and texture.
If the test dungeon has the same error, upload the source files and let us have a look at them.

If the test dungeon doesn't have the error, you'll have to upload the source files for your entire dungeon.

Re: Missing textures that are right there.

Posted: Mon Nov 14, 2022 2:54 pm
by DaggorathMaster
OK it happens in the test dungeon.

How do I upload the source?

I did search the forum for "how to upload source".

Re: Missing textures that are right there.

Posted: Mon Nov 14, 2022 4:50 pm
by Zo Kath Ra
DaggorathMaster wrote: Mon Nov 14, 2022 2:54 pm OK it happens in the test dungeon.

How do I upload the source?

I did search the forum for "how to upload source".
You can't upload files on this forum.

I'd use:

Re: Missing textures that are right there.

Posted: Mon Nov 14, 2022 9:06 pm
by DaggorathMaster

Re: Missing textures that are right there.

Posted: Mon Nov 14, 2022 11:43 pm
by Zo Kath Ra
mod_assets/scripts/materials.lua
The first letter of each filename is lower-case.

mod_assets/textures/items/
The first letter of each filename is upper-case.

Tested on Manjaro Linux with Wine 7.20