SCS Blender Tools

User avatar
Wolfi
Beta tester
Posts: 9382
Joined: 12 Jul 2013 12:14
Location: United Republic of Huggable Fuzzbutts

Re: SCS Blender Tools

#751 Post by Wolfi » 14 Nov 2016 15:15

Cool, Christmas came early this year! :D
Thanks Simon :3
The smallest details always make the biggest difference.
User avatar
Smarty
Beta tester
Posts: 1983
Joined: 30 Jun 2015 01:56
Location: Ontario, Canada
Contact:

Re: SCS Blender Tools

#752 Post by Smarty » 14 Nov 2016 15:22

Flawless victory. You da man!
User avatar
CrazyGijs
Posts: 2084
Joined: 24 May 2014 18:24
Location: The Netherlands
Contact:

Re: SCS Blender Tools

#753 Post by CrazyGijs » 14 Nov 2016 16:04

Thanks :3
[ external image ]

Intel Core i5 9600k, Asus ROG STRIX Z390-F, 16GB 3000 Mhz Corsair RAM, ASUS ROG STRIX RTX 2070 Super OC 8GB, Logitech G502, Fanatec CSL Elite wheel base & pedals LC + P1 rim, Driving Force Shifter + DIY Scania SKRS.
User avatar
SimulatorSam
Posts: 4902
Joined: 05 Mar 2014 17:52
Location: United Kingdom
Contact:

Re: SCS Blender Tools

#754 Post by SimulatorSam » 15 Nov 2016 07:35

Thanks 50k, I think the new sibling base will be extremely handy :P
User avatar
SiSL
SCS Software
Posts: 8665
Joined: 27 Oct 2013 06:23
Contact:

Re: SCS Blender Tools

#755 Post by SiSL » 16 Nov 2016 00:02

Shader_presets does not appear at clean install of Blender for some reason...

Edit: Saving the txt file with UTF8-NO BOM fixed the problem...
User avatar
50keda
SCS Software
Posts: 1699
Joined: 07 Dec 2012 11:59

Re: SCS Blender Tools

#756 Post by 50keda » 16 Nov 2016 07:47

@SiSL: if you feel it's a bug and you have steps to reproduce it. Then report it! But the thing is that parsing/loading of that txt file did not change, nor has it's name or encoding.
User avatar
SiSL
SCS Software
Posts: 8665
Joined: 27 Oct 2013 06:23
Contact:

Re: SCS Blender Tools

#757 Post by SiSL » 16 Nov 2016 09:33

50keda, I'm not even sure if it is my fault...

I usually make a startup file, ready for everything for a new accessory, so my paths etc. everything comes from my startup blend.

However, without re-saving this file shader_presets.txt, even the path is exactly the same, it does not load shaders on startup.
User avatar
50keda
SCS Software
Posts: 1699
Joined: 07 Dec 2012 11:59

Re: SCS Blender Tools

#758 Post by 50keda » 16 Nov 2016 12:20

As said, if it happens everytime, go to bugs section and write steps to reproduce this issue. I will investigate ;)

EDIT: I think I found a desync problem between new caching system and presets list items. However to go around this problem, when you are preparing your startup file, make sure you have properly initialized shader presets (valid shader presets path) and then create startup file ;)

EDIT2: And if you are really hard-core you can navigate to: "io_scs_tools_/internals/containes/config.py:90" and apply workaround by changing:

Code: Select all

if _shader_presets_cache.is_initilized(shader_presets_abs_path):
to:

Code: Select all

if _shader_presets_cache.is_initilized(shader_presets_abs_path) and len(scs_shader_presets_inventory) > 1:
User avatar
MDModder
Posts: 350
Joined: 06 Nov 2015 07:00

Re: SCS Blender Tools

#759 Post by MDModder » 19 Nov 2016 22:35

@SISL
You use blender via Steam?
Use blender via steam and the same problem as you.
I have download blender on the official website and I install them and more problem.
User avatar
BlackBloodRum
Posts: 608
Joined: 16 Dec 2015 19:03
Location: Libertalia
Contact:

Re: SCS Blender Tools

#760 Post by BlackBloodRum » 19 Nov 2016 23:24

Linux users can just run two commands and it is done:

Code: Select all

cd ~/.config/blender/2.78/scripts/addons/io_scs_tools/internals/containers/
(May need to change to your version of blender..)

Then:

Code: Select all

sed -i -e "s/if _shader_presets_cache.is_initilized(shader_presets_abs_path):/if _shader_presets_cache.is_initilized(shader_presets_abs_path) and len(scs_shader_presets_inventory) > 1:/g" config.py
And you're done. Blender Tools is patched, and now you do not need to be "hard-core" to have a patched Blender Tools ;-).

(You can also use diff to make a patch if you want.. but this is quicker :-P)
Open Modder - Making mods for the fun of modding, without locking them or trying to make a profit. The way modding should be.

World of Trucks | Screenshots | ATS Mods | ETS2 Mods | Gitlab Repositories
Post Reply

Return to “General discussion”

Who is online

Users browsing this forum: No registered users and 3 guests