Hi! I want to make a mod that adds a new type of steering wheel for Volvo FH5. It works fine, doesn't break anything, but when i try to upload it to Steam Workshop using SCS Workshop Uploader, it says "ERROR [00004] (/universal/automat/e8/e85bd9493dc609cd.mat): Material is not located in correct path. Please reconvert mod resources.
ERROR [00004] (/universal/automat/49/49bd33979cdb6966.mat): Material is not located in correct path. Please reconvert mod resources." The .mat files that are mentioned in these errors are modified by me, i just replaced two lines that tell the game what texture use on the parts of the wheel. The rest of the files are good and aren't causing problems. Like i said before, the mod works perfectly. I checked the logs and no errors with my mod. What do I do?
Materials problem.
-
Dotec
- Posts: 1576
- Joined: 20 Dec 2012 15:52
- Location: Stuttgart, Germany
Re: Materials problem.
You can't edit automat files with an editor.
You have to set the correct paths and shader attributes in blender and export+convert it new
You have to set the correct paths and shader attributes in blender and export+convert it new
-
Monek12
- Posts: 10
- Joined: 04 Dec 2024 16:57
- Location: Poland
Re: Materials problem.
Oh, okay
I also forgot that I'm a rookie modder, so please excuse my faults.
What I did was simply duplicate the DDS/TOBJ files (for example from plastic_c.dds/tobj to plastic_c2.dds/tobj) and change two texture paths inside the generated .mat files so the steering wheel uses my edited textures. Now I’m trying to do this like you said, but when I assign the duplicated TOBJ in Blender, I get this warning: "Texture can't be displayed as TOBJ file: referencing non existing texture file." Even though the DDS exists in the same folder as DDS.
I don't want to waste your time, but could you explain what i'm doing wrong or send a link for a tutorial that explains my problem?
I also forgot that I'm a rookie modder, so please excuse my faults.
What I did was simply duplicate the DDS/TOBJ files (for example from plastic_c.dds/tobj to plastic_c2.dds/tobj) and change two texture paths inside the generated .mat files so the steering wheel uses my edited textures. Now I’m trying to do this like you said, but when I assign the duplicated TOBJ in Blender, I get this warning: "Texture can't be displayed as TOBJ file: referencing non existing texture file." Even though the DDS exists in the same folder as DDS.
I don't want to waste your time, but could you explain what i'm doing wrong or send a link for a tutorial that explains my problem?
-
KrysEmlyn
- Posts: 690
- Joined: 17 Mar 2017 12:32
Re: Materials problem.
The game uses a binary format for the TOBJ files, which Blender cannot read.
When working in Blender via Blender Tools, the TOBJ files have to be in a text only middle format for Blender to use them.
If you've already have imported textures in the folder where your new textures are for your project in Blender, open up the TOBJ files for them in Notepad++ to see how they are written and then configure the TOBJs for your new textures to have the same format.
You will need to refresh or reapply the textures after doing this so Blender can see them properly for export.
I specify using Notepad++ for this because there are special characters that appear when editing a TOBJ file in this manner which Windows Notepad will not show.
When working in Blender via Blender Tools, the TOBJ files have to be in a text only middle format for Blender to use them.
If you've already have imported textures in the folder where your new textures are for your project in Blender, open up the TOBJ files for them in Notepad++ to see how they are written and then configure the TOBJs for your new textures to have the same format.
You will need to refresh or reapply the textures after doing this so Blender can see them properly for export.
I specify using Notepad++ for this because there are special characters that appear when editing a TOBJ file in this manner which Windows Notepad will not show.
-
Monek12
- Posts: 10
- Joined: 04 Dec 2024 16:57
- Location: Poland
Re: Materials problem.
So that's the problem. Now, I edited the text TOBJ files and I don't have any warnings when applying my texture, thank you very much for help. I will test if it actually works in the game.
-
Monek12
- Posts: 10
- Joined: 04 Dec 2024 16:57
- Location: Poland
Re: Materials problem.
The mod works perfectly and Workshop Uploader is now letting me to upload it.
Thank you again for your help, I really appreciate it!
Thank you again for your help, I really appreciate it!
Who is online
Users browsing this forum: CCBot [Bot]