Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem finding template directory and parsing labels.txt #18

Open
barabajagal65 opened this issue Aug 28, 2018 · 1 comment
Open

problem finding template directory and parsing labels.txt #18

barabajagal65 opened this issue Aug 28, 2018 · 1 comment

Comments

@barabajagal65
Copy link

https://forums.synfig.org/t/synfig-import-labels-template-problem/8785?u=mzempel

@berteh
Copy link
Owner

berteh commented Aug 30, 2018

Yes I do !
The generation of keyframes and objects seems to work just fine from the command line, but the generated Synfig file does not load in my Synfig 1.3.10... so I'll need to dig bit more deep.

what version of synfig do you use?

fyi attached is your corrected labels file (replace a few spaces with tabs to get the alignement right, but I supose they simply got lost in your copy paste).

To generate the file I simply create an empty project (saved as issue18/issue18.sifz in the commands below) save the labels file as issue18/labels.txt and run:

cd c/Program Files/Synfig/share/synfig/plugins/synfig-import-labels-master
python  sifzynfig-import-labels.py issue18/issue18.sifz issue18/labels.txt issue18/out.sifz

that outputs something like:

 reading labels from C:\Program Files\Synfig\share\synfig\plugins\synfig-import-labels-master\issue18/labels.txt
generating objects
added object 'NO'
added object 'Turning'
added object 'on'
added object 'RED'
added object 'NO FLIES APON FRED!!!'
added object 'Take'
...

and creates issue18/out.sifz ...which I cannot load so far but looks not so wrong after a quick look.

Reference files:
labels.txt
out.sif.zip (rename into sifz, or uncompress info .sif)

@berteh berteh changed the title You still advize on this? problem finding template directory and parsing labels.txt Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants