Add support for Affinity Designer file format

Using PhotoRec to recover lost data
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
softcake
Posts: 2
Joined: 17 May 2017, 23:16

Add support for Affinity Designer file format

#1 Post by softcake »

The most popular vector graphic software next to Adobe Illustrator is Affinity Designer.
It would be great if you could add support for their ".afdesign" file format.

https://www.cgsecurity.org/photorec/sca ... 896d67533e

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Add support for Affinity Designer file format

#2 Post by cgrenier »

I have uploaded a new 7.1-WIP version. Can you try it ?
BTW more file samples are welcome.

softcake
Posts: 2
Joined: 17 May 2017, 23:16

Re: Add support for Affinity Designer file format

#3 Post by softcake »

Hey Christophe, sorry for the late reply!

Before your answered I tried to create a signature myself.

On the machine, which contains the files I want to recover I have an older version of Affinity Designer.
Here are two files created with this version:
"testFiles_oldVersion.zip"

Looking at a couple of files I thought the signature would be:
afdesign 0 0x00ff4b41090000006e73725023496e66

For the new version of Affinity Designer I have these files:
"testFiles_newVersion.zip"

And found this signature:
afdesign 0 0x00ff4b410a0000006e73725023496e66

So the difference is 0a -> 09.

Now I tried your new 7.1 version and the "old" signature. Both can find 2 files, but then files are found which increase and increase in size.
One was 24GB big and the other 12GB, so I had to stop it, because I ran out of space. (at a later try one file got even to 70GB :o )
I could open all the 4 files, but all 4 were way to big (normally 40KB big). The first two were also a couple of hundred MB.

So could we define an end for the files? I looked at all the files and all seem to end at:
00 00 00 00 49 45 4e 44 ae 42 60 82 |Yv......IEND.B`.|

Or could we define a max file size?

Thank you Christophe! :)
Attachments
testFiles_newVersion.zip
(20.76 KiB) Downloaded 305 times
testFiles_oldVersion.zip
(13.65 KiB) Downloaded 260 times

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Add support for Affinity Designer file format

#4 Post by cgrenier »

To avoid very large recovered afdesign files, do not disable the other file formats when recovering them.

Locked