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:
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
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