Is it possible to change location of config folder?

Please use this part to report bugs & errors, ask questions & "How to..."
Post Reply
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Is it possible to change location of config folder?

Post by spyderheart »

Hi all,
For reasons I won't go into - I need to store my config folder somewhere outside the usual location.

When TVPaint starts up it seems to look inside the following folder:

"C:\Users\David\AppData\Roaming\tvp animation 11"

There is a file there called "settings.ini" which points to the desired subfolder that contains all my brushes, scripts, etc.... Usually it looks like this:

Code: Select all

[system]
config=default
I know that I can change "default" to something like "my_config" and TVPaint it will look for or create a "my_config" folder to use as the config.

However, when I try changing the value "default" to a folder path elsewhere on my system, TVPaint won't start up.

Does the config folder need to always be in"C:\Users\David\AppData\Roaming\tvp animation 11" next to "settings.ini" or should I be able to change the location to anywhere on my machine by editing the settings.ini file?

If not, this is a feature request for custom config location :)

Thanks,
David
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
Xavier
Posts: 1852
Joined: 01 Oct 2019, 11:08

Re: Is it possible to change location of config folder?

Post by Xavier »

Open TVPaint preferences, then go to the Startup tab. Change the "startup configuration" to "open startup panel", then restart TVPaint.
Capture d’écran_2021-06-01_10-31-17.png
Capture d’écran_2021-06-01_10-31-17.png (20.18 KiB) Viewed 11843 times

At startup you should have this tiny panel that lets you choose your config location :
Capture d’écran_2021-06-01_10-34-27.png
Capture d’écran_2021-06-01_10-34-27.png (51.57 KiB) Viewed 11843 times
Xavier
Posts: 1852
Joined: 01 Oct 2019, 11:08

Re: Is it possible to change location of config folder?

Post by Xavier »

Well that's how I assumed it should work ... but this panel doesn't seem very accurate.
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Re: Is it possible to change location of config folder?

Post by spyderheart »

Xavier wrote: 01 Jun 2021, 10:40 Well that's how I assumed it should work ... but this panel doesn't seem very accurate.
What's not accurate about it?

In any case, this is what I see:
Screenshot 2021-06-01 092248.png
Screenshot 2021-06-01 092248.png (31.58 KiB) Viewed 11816 times
Is it a pro only feature?
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
Xavier
Posts: 1852
Joined: 01 Oct 2019, 11:08

Re: Is it possible to change location of config folder?

Post by Xavier »

spyderheart wrote: 01 Jun 2021, 15:28 Is it a pro only feature?
Yes you're right, sorry: I checked the code and it's available on pro versions only.
spyderheart wrote: 01 Jun 2021, 15:28 What's not accurate about it?
I mean that it doesn't seem to relocate your config folder anyway.
spyderheart
Posts: 124
Joined: 22 Jan 2013, 03:11

Re: Is it possible to change location of config folder?

Post by spyderheart »

Oh well...
Thank you for looking into it.
David
--------------------------------------------------------
TVPaint 11.7 Standard
System: 64GB RAM // 3 TB SSD // Core i7 8700K // NVIDIA GTX 1080// Windows 10 Home
Post Reply