Unable to load .sifz

General questions and answers about using Synfig. We encourage you to document your findings in the FAQ and Tips pages on the website.
Uskazd
Posts: 2
Joined: Sun Sep 13, 2015 7:26 pm

Unable to load .sifz

Postby Uskazd » Sun Sep 13, 2015 7:47 pm

Hello, I'm having a problem when loading some of my works.
This mostly happens after synfig crashes, but it doesn't seem to matter if the .sifz file was being used at that moment.

I did look around the forum,and the closest I come to an awnser is to open it with a HTML editor and change the line where Synfig says the error is located. But if it is that I have absolutly no idea what I'm supposed to write in it's place.

Here is the error message I get when loading 1 of my works:


And here is the .sifz file in notepad++:


Thanks in advance.

User avatar
Genete
Site Admin
Posts: 5155
Joined: Sat Dec 01, 2007 6:26 am
Location: Spain

Re: Unable to load .sifz

Postby Genete » Mon Sep 14, 2015 5:33 am

Your file is difficult to fix.
You have 8 skeleton layers with a total of 21 bones. Those bones affects to 208 elements...

To fix the file you should:
1) Create a simple file with a skeleton. Save it as sif and open it in Notepad++. Set its language as XML. Then notice that there is a section at start called <bones> where bones are defined. That section is missing in your file. You have to copy/paste that section <bones> ... </bones> in your file in the same place (before layers)
2) Then you have to identify how many bones are used in your file and where are they located. You can search for layer type="skeleton" to find the skeleton layers. Then you'll see something like the bone identification inside: <bone type="bone_object" guid="1D9089C51FBEFCC4B4329490EBA9A1C9"/> that GUID string is one unique identification number for the bone. You should create new bones entries at the top of the file in the <bones> section you pasted. Notice that the bone definition (i.e. hierarchy, geometry, position, etc.) is fully missing and you have to create it manually. Follow the structure of the bone you pasted on step 1)

Once you have completely recreated the <bones> section you'll be able to open the file normally.

I'm sorry but it looks that it is better to start over or rescue a previous backup of the file.
-G
needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D

Uskazd
Posts: 2
Joined: Sun Sep 13, 2015 7:26 pm

Re: Unable to load .sifz

Postby Uskazd » Mon Sep 21, 2015 5:45 pm

Thank you for the fast reply.

I restarted the project trying to limit the amount of bones by using a very simple graphics style.
And that worked fine.

I will however try out the solution you gave if I find the time.

User avatar
lobozamora
Posts: 107
Joined: Wed Feb 01, 2012 12:59 am
Location: Costa Rica
Contact:

Re: Unable to load .sifz

Postby lobozamora » Tue Jul 18, 2017 11:51 am

Attachments
XML.png
screen shot of notepad

User avatar
BobSynfig
Posts: 322
Joined: Sat Aug 15, 2015 6:08 am

Re: Unable to load .sifz

Postby BobSynfig » Tue Jul 18, 2017 8:04 pm

Hi,

your .sifz file is gzipped.
Rename it as .zip and extract it.
It contains another .sifz file that you will be able to rename as .xml
Do the modifications with Notepad++
When your modification will be done, rename it as .sif
Open it under Synfig
Save it as .sifz

;)
Always check first! - Use last builds only: Stable 1.2.1 /
- - - Google Translate may help


Return to “Synfig related help”

Who is online

Users browsing this forum: No registered users and 4 guests