Error parsing or opening the main XML file

@Judge Hi. We got the file. I’ve asked for the developers help since the file seems to have been heavily damaged.

However this also helped us to remember that there is a fail safe option in Pencil2D when the program is not closed correctly.

If you are under Windows OS you can look in the temporary files folder, while this procedure is explained in the first guide I linked before, to avoid confusion i’ll paste the steps here:

WINDOWS STEPS :
a) In the Start Menu > go to System, or open the folder explorer
b) In the folder address bar at the top of the window, click over the current folder address (e.g if you’re on C:\User\ click on that), erase the current address text and type the symbol-phrase %temp% This will take you to the “temporary files” folder.
c) Search for a “Pencil2D” folder. Enter the Folder. Organize the files by “last modified”
d) Look for a folder with the name of your saved file (Animals) + the Y2XD extension and a random alphanumeric string. e.g MyFileName_Y2xD_5yz4hsui
e) Inside the Y2xD folder, verify if there’s a “ main.xml ” file. If there is, there’s a good chance your file is still healthy.
f) After checking the main.xml file, browse to the data folder and verify if there is any file inside.

Drawings are saved as numbered images. The name correspond to the naming convention layer.frame.png e.g 003.001.png would be Layer No.3 and Frame No. 1.

Layers are counted bottom to top and the camera layer is always the first layer. If you used the bitmap layer to draw you’ll find PNG images, if you used the vector layer you’ll find .VEC files, which are read by Pencil2D only.

If you indeed found a main.xml and a data folder with the “lost” drawings, then you can take both elements and “zip” them together, then rename the .ZIP filetype part, as .PCLX and try to open it inside Pencil2D.