Just wrapping up a couple scripts so I'm wondering if external scripts that's in a button action via "set script" are grabbed into the TVPX file?
What about #includes in my scripts, does TVPX format take care of all that for me and wrap them into the TVPX file?
Is external george scripts compiled into a TVPX?
Is external george scripts compiled into a TVPX?
There's no place like ~/
Re: Is external george scripts compiled into a TVPX?
grg includes are saved in the .tvpxKenC wrote:Just wrapping up a couple scripts so I'm wondering if external scripts that's in a button action via "set script" are grabbed into the TVPX file?
What about #includes in my scripts, does TVPX format take care of all that for me and wrap them into the TVPX file?
Hervé ADAM, TVPaint Team
Re: Is external george scripts compiled into a TVPX?
The 'modern' way is to use 'embed script' instead of 'set script'.KenC wrote:Just wrapping up a couple scripts so I'm wondering if external scripts that's in a button action via "set script" are grabbed into the TVPX file?
This will reduce the number of files lying around...
Quicktime is DEAD. Get over it and move on !
Re: Is external george scripts compiled into a TVPX?
Except when tvpaint crashes when I do something stupid and I lose all my work It only happened once but oh man did I fly into a rage hehe.
It's neat for small scripts, but when i'm debugging and testing it's much better for me at least to edit in my external editor, that way I can make changes, save and tab back to tvpaint to test.
I guess I could just embed them at the end but having them external also makes it easier for other people to have a look and maybe get thier own ideas based of them.
It's neat for small scripts, but when i'm debugging and testing it's much better for me at least to edit in my external editor, that way I can make changes, save and tab back to tvpaint to test.
I guess I could just embed them at the end but having them external also makes it easier for other people to have a look and maybe get thier own ideas based of them.
There's no place like ~/
Another TVPX question?
On a related note, what is the best way to handle a specially named subfolder which is used by the scripts being included in the TVPX? I am using a unique folder inside the George folder to save and load from, but I'm not sure how to guarantee that it gets created via a TVPX file.
OR does the person who installs the TVPX have to create the unique folder by hand?
Sven
OR does the person who installs the TVPX have to create the unique folder by hand?
Sven
Re: Another TVPX question?
Yes, if the include files aren't in the same folder as the script itself, the .tvpx handler doesn't really know what to do.Svengali wrote:On a related note, what is the best way to handle a specially named subfolder which is used by the scripts being included in the TVPX? I am using a unique folder inside the George folder to save and load from, but I'm not sure how to guarantee that it gets created via a TVPX file.
OR does the person who installs the TVPX have to create the unique folder by hand?
Sven
Maybe the user installed another tvpx beforehand with older versions of the includes, or, or, or....
The best way is to have the includes in the same folder as the script if you intend to distribute them as .tvpx.
Even if this means duplicating them...
Quicktime is DEAD. Get over it and move on !