not found in the assigned shader preset

Post any tutorial and tools you might find it useful for other creators.
User avatar
kartal2339
Posts: 298
Joined: 01 Aug 2018 09:27

not found in the assigned shader preset

#1 Post by kartal2339 » 09 Sep 2019 18:25

how can i fix this error?
Attachments
Desktop Screenshot 2019.09.09 - 20.52.31.44.png

User avatar
50keda
SCS Software
Posts: 2708
Joined: 07 Dec 2012 11:59

Re: not found in the assigned shader preset

#2 Post by 50keda » 09 Sep 2019 21:41

More options:
1. Delete this attributes inside given materials in PIT file
2. Recreate this two materials in blender.

User avatar
kartal2339
Posts: 298
Joined: 01 Aug 2018 09:27

Re: not found in the assigned shader preset

#3 Post by kartal2339 » 09 Sep 2019 21:52

Thanks i solved with your guide... One more problem... When i convert to pmd it gives more nocompress dds error? What can i do for this?
Last edited by Mohegan13 on 10 Sep 2019 09:32, edited 1 time in total.
Reason: Quote removed. Don't quote the post directly above.

User avatar
Chief86
Posts: 431
Joined: 08 Feb 2016 05:09

Re: not found in the assigned shader preset

#4 Post by Chief86 » 10 Sep 2019 05:57

The nocompress error will not stop BT from converting. If they bug you like they for me at times is go through all the tobj files and remove the nocompress line.Pr for a fast way of removing them in all the files at once you can use this program.http://findandreplace.io/. All you need to do is put in the main directory of the mod in the find field type nocompress. In the replace field just leave it empty. Now press replace and when a dialog box pops click ok it will replace all with an empty string and save at the same time
Rule [4.4]

User avatar
kartal2339
Posts: 298
Joined: 01 Aug 2018 09:27

Re: not found in the assigned shader preset

#5 Post by kartal2339 » 10 Sep 2019 09:17

Thanks i will try this night
Last edited by Mohegan13 on 10 Sep 2019 09:32, edited 1 time in total.
Reason: Quote removed. Don't quote the post directly above.

User avatar
room217au
Posts: 2932
Joined: 17 Jul 2015 01:55
Location: 'Straya

Re: not found in the assigned shader preset

#6 Post by room217au » 10 Sep 2019 11:40

These are only warnings. For ages I trudged through .pit files that were 8000+ lines long and removing the aux[x] components.
The only time I see them is when importing ZModeler-created models. I spoke to a developer of ZModeler and he said he's updated his application. He says we shouldn't see these entries anymore, providing modders re-export their ZModeler mods.
That said, I found out that you can actually ignore these aux[] entries and the model will export/convert no problem.
The ones you do need to attend to are the aux[5], aux[6], aux[7], aux[8] entries, if you see them. They are truckpaint entries and can easily be fixed by re-synching them in Blender before export (no conversion at this point).
Once you export the pim file, the pit file will be re-written. Simply re-import the .pim and those aux[5], 6, 7 and 8 will be gone.

For more information on my struggle, see this topic: viewtopic.php?f=159&t=274026
Two wrongs don't make a right, but three lefts.. do.

User avatar
kartal2339
Posts: 298
Joined: 01 Aug 2018 09:27

Re: not found in the assigned shader preset

#7 Post by kartal2339 » 10 Sep 2019 13:23

@50keda

hi... i deleted all "nocompress" fromm tobj file...but it gives same error and copy operation failed for dds

00:00:00.394 : <ERROR> *** ERROR *** : /material/ui/trailer_brand_logo/howard.dds: copy operation failed.
00:00:00.417 : <ERROR> *** ERROR *** : /sidetipper_exp/material/ui/cargo_icons/wshavings.tobj: Referenced texture map with unsupported file extension - must be either .tga, .png, or .dds.
00:00:01.241 : <ERROR> *** WARNING *** : /sidetipper_exp/vehicle/share/models/cables_connectors/connectors.tobj: Do not use 'nocompress' for .dds files - it is ignored.

User avatar
ReddLeggs
Posts: 28
Joined: 08 Mar 2019 02:55

Re: not found in the assigned shader preset

#8 Post by ReddLeggs » 10 Sep 2019 13:45

.
Last edited by ReddLeggs on 23 Feb 2020 01:08, edited 1 time in total.
Intel® Core™i7-6700k Quad Core @ 4.60GHz | ASUS ROG MAXIMUS VIII HERO ALPHA
G.SKILL 32GB TridentZ DDR4 PC4-25600 3200 | EVGA GeForce GTX 1080 Ti SC Black Edition
SAMSUNG 850 Pro 500GB | Samsung 970 EVO 500GB - NVMe PCIe M.2 | Alienware AW3418DW

User avatar
kartal2339
Posts: 298
Joined: 01 Aug 2018 09:27

Re: not found in the assigned shader preset

#9 Post by kartal2339 » 10 Sep 2019 14:55

i solved all material problem but now i got this error

00:00:00.782 : <ERROR> errwarn:
00:00:00.782 : <ERROR> *** ERROR *** : <E:/mods/conversion_tools_2_8/linked_bt_2ee788ebc9400d0068b6a127ec22330ef38f8c25 | >/vehicle/trailer/tri/quad.pit:288: mismatching Attribute and Value format [ token '}' ]

*** ERROR *** : /vehicle/trailer/tri/quad.pit: cannot parse

*** ERROR *** : <E:/mods/conversion_tools_2_8/linked_bt_2ee788ebc9400d0068b6a127ec22330ef38f8c25 | >/vehicle/trailer/lead/tipper_n.pit:63: mismatching Attribute and Value format [ token '}' ]

*** ERROR *** : /vehicle/trailer/lead/tipper_n.pit: cannot parse

*merged*

i fix also this error ...i opened pit file and i deleted all of aux8 entry and ..it was converted correctly
Last edited by Wolfi on 11 Sep 2019 04:38, edited 1 time in total.
Reason: Double post merged

User avatar
room217au
Posts: 2932
Joined: 17 Jul 2015 01:55
Location: 'Straya

Re: not found in the assigned shader preset

#10 Post by room217au » 11 Sep 2019 07:25

@kartal2339 check quad.pit file, line 288
Attribute and Texture values must match the 'contents' of the material.
If you have removed an Attribute (eg. an aux[1]) but have not reduced the Attribute count by 1 (eg. 5 reduced to 4) then you will see Attribute errors in log.
or
If there is no } token at the end of the material contents
or
only one } token (because there should be two at the end. 1 to close the last Attribute or Texture, and a 2nd one to close the Material contents in materials that have more than one attribute or texture.
Two wrongs don't make a right, but three lefts.. do.

Post Reply

Return to “User Tutorials & Tools”

Who is online

Users browsing this forum: No registered users and 1 guest