Mystery: Config.ini size, how big is too big?
Mystery: Config.ini size, how big is too big?
Is there any size restriction on how large the Config.ini file can be?
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Re: Mystery: Config.ini size, how big is too big?
I have no idea.
Mike will check it once he is back in the office (next week).
Mike will check it once he is back in the office (next week).
Fabrice Debarge
Re: Mystery: Config.ini size, how big is too big?
Fabrice, If Mike is back, has he had a chance to look into the question of Config.ini size limits?
Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Re: Mystery: Config.ini size, how big is too big?
He just told me that there should be no limit.
Btw, why do you need the information ?
Btw, why do you need the information ?
Fabrice Debarge
Re: Mystery: Config.ini size, how big is too big?
I think I've uncovered a side-effect of over-inflating the Config.ini file...
My Symptom: When adding commands to a new button using the "Set KeyStroke" command, I consistently crash if I try to insert any commands past the Timeline group, in other words, all Tools categories, TVPaint Animation, Twain, Undo and Zoom.
Testing: To see if the Config.ini file size was the problem I substituted some old backed-up Config.ini files from earlier this year and late last year. As the size of the earlier Config.ini files diminished, I could select further down the Set KeyStroke list before the crash occurred. I couldn't identify any other conditions beyond that apparent cause and effect.
Over time I've generated LOTS and LOTS of custom Buttons/George Scripts, Tools and AnimBrushes in various Custom Panels, many of them use tv_WriteUserString and tv_ReadUserString to store variable values in the Config.ini file as temporary storage...
By far, the largest block of lines extends from the [ToolBoxList] group (from line 37189 to 78514, which is the last line in the Config.ini file) where all of the entries start with a number followed by assorted information: I can't define the nature of this huge block of data but here are a few lines I grabbed as an example:
in other words the Config.ini file is huge, probably containing lots of extraneous and outdated content.
I also have no idea how to identify "garbage content" from critical content.
My plan is to rebuild the Config.ini file from scratch after consolidating the contents of the Custom Panels (temporarily stored in .tvpx files) to clean house.
FYI, the current Config.ini weighs in at 2,963 kb and TVPaint startup from my C: SSD takes about 5 seconds.
Sven
My Symptom: When adding commands to a new button using the "Set KeyStroke" command, I consistently crash if I try to insert any commands past the Timeline group, in other words, all Tools categories, TVPaint Animation, Twain, Undo and Zoom.
Testing: To see if the Config.ini file size was the problem I substituted some old backed-up Config.ini files from earlier this year and late last year. As the size of the earlier Config.ini files diminished, I could select further down the Set KeyStroke list before the crash occurred. I couldn't identify any other conditions beyond that apparent cause and effect.
Over time I've generated LOTS and LOTS of custom Buttons/George Scripts, Tools and AnimBrushes in various Custom Panels, many of them use tv_WriteUserString and tv_ReadUserString to store variable values in the Config.ini file as temporary storage...
By far, the largest block of lines extends from the [ToolBoxList] group (from line 37189 to 78514, which is the last line in the Config.ini file) where all of the entries start with a number followed by assorted information: I can't define the nature of this huge block of data but here are a few lines I grabbed as an example:
Code: Select all
0913_collapsed=0
0921_text=ToggleBrush
0925_keyboardshortcut=3a12187b-3e72-324a-871f-54db25582d0b
0929_cmd0=CBTool:141eeb66-686b-2045-91b8-a4fc5a67dcc4
0930_keyboardshortcut=af0d5b3c-106e-a84b-9c49-454266c2e2b3
0934_cmd0=Key:ToggleShowCamera
0937_type=1
104_file=_9c726d05-dc3f-9f49-99d0-efdae6a5e6fb.dip
1029_count=1
1030_comment=set cursor to highest desired frame for all layers
1034_count=2
119_keyboardshortcut=5427eff5-a002-e14d-99cf-3f3220a99bed
1113_cmd0=Grab:
1116_type=1
I also have no idea how to identify "garbage content" from critical content.
My plan is to rebuild the Config.ini file from scratch after consolidating the contents of the Custom Panels (temporarily stored in .tvpx files) to clean house.
FYI, the current Config.ini weighs in at 2,963 kb and TVPaint startup from my C: SSD takes about 5 seconds.
Sven
TVP Pro 11.0.10-64bit Win10 - 64GB ram -2TB HHD - 256GB SSD - Wacom Cintiq 16, driver 6.3.41-1
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
Android Tablet: rel. 11, Samsung Galaxy Note10.1 - 32GB with microSD 32GB
Android Tablet: rel. 11.5, Samsung Galaxy Tab S7plus - 128GB with microSD 64GB
- NathanOtano
- Posts: 1209
- Joined: 01 Apr 2014, 07:07
- Location: Biarritz, France
- Contact:
Re: Mystery: Config.ini size, how big is too big?
I wonder if i'd better do the same with my config. My config weights 988 kb and I see it's groing larger and larger because of my config backup files (also it's synced on my Gdrive for all my computers). I have no problems setting shortcuts however, but I experience some random crash since 2 years and I think it's still the same config.
Working on Windows 10
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.
Creator of Disnosc, providing storyboard, animation and design for 2D realistic pictural animation: https://www.disnosc.fr/ - nathanotano@disnosc.fr
Highly interested in animation workflows, I'm open to scripting new TVP functions for individuals and studios.