@zhenia Hi, this was a solution for one possibility of data corruption. As CandyFace suggests in the previous post, please try to use a new version from this link https://drive.google.com/drive/folders/0BxdcdOiOmg-CcWhLazdKR1oydHM and select your friend’s operating system.
It is important that you also tell us which version of Pencil2D your friend was using, as well as the operating system. (example: Pencil2D June 27 2017, Windows 7) To view the Pencil2D version you have to click the HELP > ABOUT menu
The thing is, if your friend was using version 0.5.4 there’s nothing we can do, we have advertised and repeated several times in different places that such version is deprecated, we can’t support it because it’s just too old and it can literally erase all your work.
BUT If your friend created the animation in a newer version of Pencil2D there might still be hope.
This error you describe seems to be similar to one another user had this year and that has been fixed. So let me explain some steps you can try out.
IF your friend imported SOUND inside pencil2D, it’s possible it had characters without proper codification (like japanese, or russian) or even whitespace.
So if you have the PCLX filetype, you can open that with a compression software almost as if it was a ZIP file. Inside there will be a lot of files contained. If there are sound files with long or weird names, you’ll have to do the following:
- Make a copy of PCLX file
- On the copy file, change the extension filetype form PCLX to ZIP
- Use WinZIP, 7-ZIP, IZARC, or PeaZIP to extract the contents to a folder
- browse for the sounds inside the .DATA folder and change their names to numbers like 0001.mp3
- locate the main.XML file outside of the DATA folder (all of this should have been extracted form the original PCLX file) now use your notepad to open the XML file.
- On the XML file you should see the original names of the sounds, so change them according to the numbered name you gave them. IF you don’t see anything then close the file and go to the next step.
- take all the contents and re-pack them into a ZIP new file with the same name as the previous ZIP.
- rename the new ZIP file extension to PCLX.
- try to open it in a NEWER version of Pencil2D
Now, if this doesn’t work, try to upload the while file and send us a link so we can ask for help to the developers if anything can be salvaged.
For now we’ll be pending on your response. Let us know what happens.
Edit: I corrected steps 5 and 6 since there is no longer a file with PCL extension inside the PCLX container, but rather the file main with XML extension which serves the same purpose of being an “address book” for the images, however due to the codification issue, sounds don’t seem to be written in files that have this problem. They are written correctly otherwise.