Conversion error workarounds?

Grad
Posts: 6
Joined: 01 Dec 2025 07:32

Conversion error workarounds?

#1 Post by Grad » 01 Jun 2026 10:11

Hey,

So I have basically been modelling a couple road assets recently, everything went fine until I wanted to convert my models to a mod. I am using Blender 3.6, SCS Blender Tools latest version (2.4.1), and Conversion Tools 2.21 with the current latest ETS2 version to this date (and I also use directly the main base.scs located in the game directory for imports if that impacts anything at all); whenever I try to convert the project after export I run into some 5-10 line errors showing the same line "unable to convert attribute diffuse_secondary to new input id."

So I pretty much looked further into it by running a clean Blender save with fresh imports to see if a normal export and conversion works, but I ran into the exact same issue; what I managed to catch right after was the name of the material and from there I was able to look into the attributes and such. Manually removed the attributes, also checked the generated .pit file after export and removed all the entries that included "diffuse_secondary". Even after doing so, the problem persists, and even removing the material entirely from the Blender file/project doesn't solve this issue. I'd just like to find a workaround for this even if temporary or if anyone had come across the same issue and managed to fix it, honestly any kind of help is appreciated at this point. You will find the code and other related attachments for a simple imported road without any changes on it, straight up imported to export directly.

Code: Select all

[pim2pmg] <B:/Repertories/App Files/Euro Truck/Conv tools/conversion_tools_2_21/linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212 | >/road_template/fr/fr_hw_3_lanes_one_way.pim: reduced number of vertices by 5 from 72 to 67 in piece 5 using material 'mat_0004_gray_fr' with effect 'eut2.dif.spec.weight.weight.dif.spec.weight'

[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] tobjcopy /material/special/decal_ground_01.tobj
[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] tobjcopy /material/road/road_template/fr/dark_fr.tobj
[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] tobjcopy /material/road/road_template/fr/brown_fr.tobj
[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] tobjcopy /material/special/lines_eu_01.tobj
[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] tobjcopy /material/road/road_template/fr/gray_fr.tobj
[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] tobjcopy /material/road/road_template/fr/grained_fr.tobj
[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] pit2pmd /road_template/fr/fr_hw_3_lanes_one_way.pit
[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] pit2pmd /fr_hw_3_lanes_one_way.pit
*** ERROR *** : [material] unable to convert attribute diffuse_secondary to new input id.
*** ERROR *** : [material] unable to convert attribute diffuse_secondary to new input id.
*** ERROR *** : [material] unable to convert attribute diffuse_secondary to new input id.
*** ERROR *** : [material] unable to convert attribute diffuse_secondary to new input id.
*** ERROR *** : [material] unable to convert attribute diffuse_secondary to new input id.
*** ERROR *** : [material] unable to convert attribute diffuse_secondary to new input id.
*** ERROR *** : <B:/Repertories/App Files/Euro Truck/Conv tools/conversion_tools_2_21/linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212 | >/road_template/fr/fr_hw_3_lanes_one_way.pit: error saving output material file /road_template/fr/fr_hw_3_lanes_one_way_gray_fr4.mat
*** WARNING *** : Expected rcfs_device_t::perform_conversion() to be true, but it is not.

[linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] Conversion finished in 0:00:01
*** ERROR *** : [linked_bt_b443b4fdda4e54dc72c11aaed8e0cc5fd46f8212] The massconversion ended with ERRORs, check the log file.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
The massconversion ended with ERRORs, check the mass convert log file:
"<conversion_tools>\mass_convert.log".
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Press any key to continue . . .
You do not have the required permissions to view the files attached to this post.
User avatar
Digital X
Posts: 2052
Joined: 28 Oct 2013 21:22
Location: Dover, Kent, UK.

Re: Conversion error workarounds?

#2 Post by Digital X » 01 Jun 2026 16:55

By the file name I take it you are reworking an existing france road?

I'm going to load up Blender, import that particular model and try the export myself. What adjusts have you made to which part so I can follow along and try to reproduce the error?

Same Blender and Blender Tools version etc.

Have you tried using another dif.spec.weight combination and putting in the materials then exporting?
Grad
Posts: 6
Joined: 01 Dec 2025 07:32

Re: Conversion error workarounds?

#3 Post by Grad » 02 Jun 2026 05:24

Digital X wrote: 01 Jun 2026 16:55 By the file name I take it you are reworking an existing france road?

I'm going to load up Blender, import that particular model and try the export myself. What adjusts have you made to which part so I can follow along and try to reproduce the error?

Same Blender and Blender Tools version etc.

Have you tried using another dif.spec.weight combination and putting in the materials then exporting?
I'm currently working mostly on french assets given my project is only france related. What I can add is that I can export and convert most of the other model types like signs, props, curve models, lamps, etc. without any problem, it seems that it only happens with roads and prefabs that are with road materials. The thing is that I've also had some older road assets I managed to pack without any issue a while ago, but I'm running the same problem now when I try to convert them again as well. I also tried to give it a shot with an italian road and it had the exact same error(s) when trying to convert, so to me it looks like it's not only french either.

As for reproducing, first with the SCS workspace properties, the project base path is set on a completely empty folder. Then import any road template (or at least a french one, I used the hw 3 lane one way) directly from the game's base.scs, from there SCS Tools should already pop up a warning saying attribute 'diffuse_secondary' not found in shader preset and using an imported shader on the same material with 'eut2.dif.spec.weight.weight.dif.spec.weight'.

Straight up not changing or doing anything other than just selecting the root object, export selection to Game Data Format ver 5 (Apply Modifiers ticked by default) and after it's done running pack mod (only clean and convert).

That said, I did attempt to change the material but it looks like I can't either since it's imported. When I go to the Material properties tab with the object that has the material in question, the SCS material tab is grayed out and not changeable at all to me.
Last edited by Grad on 02 Jun 2026 05:29, edited 1 time in total.
User avatar
Digital X
Posts: 2052
Joined: 28 Oct 2013 21:22
Location: Dover, Kent, UK.

Re: Conversion error workarounds?

#4 Post by Digital X » 02 Jun 2026 08:21

I had the same error, as for not being able to change the material as it's an imported shader you'll have to select another dif.spec.weight flavour (preferably weight as that best handles specular lighting on roads)

Try this shader: dif.spec.weight.mult2.weight2, this will act as a transition between two materials so it blends together almost like a gradient texture would.
Grad
Posts: 6
Joined: 01 Dec 2025 07:32

Re: Conversion error workarounds?

#5 Post by Grad » 04 Jun 2026 07:15

Digital X wrote: 02 Jun 2026 08:21 I had the same error, as for not being able to change the material as it's an imported shader you'll have to select another dif.spec.weight flavour (preferably weight as that best handles specular lighting on roads)

Try this shader: dif.spec.weight.mult2.weight2, this will act as a transition between two materials so it blends together almost like a gradient texture would.
Thanks for your message. I actually didn't find a way to modify the shader at all, however I managed to do something else even if it's temporary and it seems to work fine for now anyway. Just a python script that reads the exported files and removes all the blocks containing the diffuse_secondary attributes within the .pit files. Now everything works properly and I can pack without any issue

Return to “Blender Tools”

Who is online

Users browsing this forum: CCBot [Bot]