I tried the steps but i could not really resolve it on my own. I tried editing the file on a file editor up to this point, i also tried changing it to characters.sif in the file editor but it came up with a different error.
So you have the uncompressed project file? Awesome, we’ll go from there.
First, create a simple new Synfig project. Just draw a circle in there and save it in the same folder where your main project is (the file that doesn’t load) as ‘1.sif’. Now open the problem file in your text editor, perform a search for “characters.sif” and replace all occurrences with “1.sif”. Save the file and try to open it in Synfig.
If everything’s fine, your work will have circles instead of characters and from there you just delete them and re-import you characters back.
Pay attention to this line <param name="canvas" use="D:\Animations\hundredyearwar\characters\characters.sif#"/>.
You must replace it to <param name="canvas" use="1.sif#"/>. Don’t omit any “</>” characters! In a text editor it should look like so:
For editing, I recommend Notepad++, it’s free. Other editors may or may not end up messing up the file’s structure.
Now, if file does open after this, to re-import characters hit Menu->File->Import.
If still no luck, send me the problematic file in a private message, I’ll fix it for you.
It occurs when your imported characters were located on a different drive that’s now gone. Maybe your project in C:\Animation\hundredyearwar but you characters were imported from a flash drive or a network resource that’s now resides on a different letter. It’s just a guess though.
I am wondering about this way Synfig works with linked files.
In AutoCAD, there’s a dialog box that offers manual fixing of lost files that the XREF objects look for. I am not asking for that, but has anyone figured out a way to make this possible?
For example if I want to change the file name of some Synfig arms, legs, heads, to keep it organized. I would like to fix the Synfig project where I imported everything. Maybe there’s a GUI XML editor, with find/replace function?
I am wondering about this way Synfig works with linked files.
In AutoCAD, there’s a dialog box that offers manual fixing of lost files that the XREF objects look for. I am not asking for that, but has anyone figured out a way to make this possible?
The main issue is tu use fully qualified path instead of relative ones (especially in the same directory, sub-directory (or even a parent).
The missing file here is D:\Animations\hundredyearwar\characters\characters.sif
The most simple is to place another sif file at this place, then the main sif will open, and then you will be able to modify it in the GUI.
Maybe there’s a GUI XML editor, with find/replace function?
You don’t need an XML editor, as mentionned before by @Svarov, Notepad++ is perfect for this.
Note: place your assets in a sub-directory and when you will import them, if you see the fully qualified filename, replace it by a relative one like ./characters/characters.sif