Where is the "home" folder for george include function
Posted: 26 Apr 2016, 23:18
Hey!
In this part of the tvpaint george wiki :
I can't find the folder on windows, I tried everywhere (tvpaint george directories in program files, roaming, my cloud config folder...) but nothing works.
I want to put my libraries of functions somewhere to be able to call them with the include function when I set an embedded script or when I reference a script file that is not in the same folder as my library.
In which cases the included scripts exports with the panels?
Nathan
In this part of the tvpaint george wiki :
Is the following line still true? I assume it's for mac users, I tried to find the equivalent for PC.When George command interpreter meets a line containing this command, it replaces it by the contents of the specified file. This allows you to create function libraries and include them in your George script. To access the specified file, George gives priority to tow search directories :
The TVPaint home directory (mentioned in the HomeDir line in the TVPaint.ini file)
The directory containing the George script in which the INCLUDE instruction was given.
From these base directories you can specify an access path for the file to be included (for example, #INCLUDE "library\strfunc\strlib.grg"). If the file to be included contains procedures, you must place the INCLUDE line after the end of the main program. You will find two examples of function libraries for the processing of character strings ("basic.grg" and "Advanced.grg") in the "George\Include" directory of TVPaint.
I think that I someday moved my scripts away from the folder... but maybe it's just that I never used the files I included in my scripts in another location than the one of my scripts.The TVPaint home directory (mentioned in the HomeDir line in the TVPaint.ini file)
I can't find the folder on windows, I tried everywhere (tvpaint george directories in program files, roaming, my cloud config folder...) but nothing works.
I want to put my libraries of functions somewhere to be able to call them with the include function when I set an embedded script or when I reference a script file that is not in the same folder as my library.
In which cases the included scripts exports with the panels?
Nathan