Add support for Affinity Designer file format

Using PhotoRec to recover lost data
Post Reply
Message
Author
softcake
Posts: 2
Joined: 17 May 2017, 23:16

Add support for Affinity Designer file format

#1 Post by softcake » 17 May 2017, 23:20

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

Sponsored links

User avatar
cgrenier
Site Admin
Posts: 3619
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 » 20 May 2017, 13:54

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 » 24 Jul 2017, 12:37

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 7 times
testFiles_oldVersion.zip
(13.65 KiB) Downloaded 5 times

User avatar
cgrenier
Site Admin
Posts: 3619
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 » 08 Aug 2017, 10:11

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

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests