Correct way to specify new file types

A forum on data recovery using the professional data recovery software R-STUDIO.
Matteo
Posts: 3
Joined: Sun Aug 19, 2018 12:36 pm

Correct way to specify new file types

Post by Matteo » Sun Aug 19, 2018 12:59 pm

Thank you for your attention. The other day I was stupid enough to delete by mistake the partition of a disk member of a RAID0 configuration created under MacOs. The deletion happened under Windows 10 though.
R-Studio is able to recognize that two disks were formerly part of a RAID0, but a lot of files are missing. I have performed a scan, which helped only a little.
The file types that were stored are of a kind not been looking for by default by the software, so I find myself in the need of specifying them.
In details, I need to recover files made with 3d Software like Maya, ZBrush, Substance Painter and so on.
I have files on other disks that I have used to extrapolate the headers and the footers, then under R-Studio I created a new category called "3d Data" in which I have specified all the file types I need. For each of them, I added a signature "Begin" and signature "End", typing in the format \xNN the hex code I got from my files.
After performing the scan, however, in "Extra Found Files" the category I created is not present, and only the default ones are. Before starting the scansion, I did specify to look for my category as well.
Where is the mistake in my procedure?

Thank you for your help!

Matteo
Posts: 3
Joined: Sun Aug 19, 2018 12:36 pm

Re: Correct way to specify new file types

Post by Matteo » Sun Aug 19, 2018 1:19 pm

Sorry everybody, after the scansion, sorting the results by Extension, I was able to find my category and also the file types I specified.
So my question is solved, nevertheless if anybody feels to be able to contribute with some inputs concerning my situation, it would be very welcome!

Alt
Site Moderator
Posts: 3129
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Correct way to specify new file types

Post by Alt » Mon Aug 20, 2018 10:37 am

I need to look through the code you created.

Matteo
Posts: 3
Joined: Sun Aug 19, 2018 12:36 pm

Re: Correct way to specify new file types

Post by Matteo » Fri Aug 24, 2018 10:03 am

Alt wrote:
Mon Aug 20, 2018 10:37 am
I need to look through the code you created.

Here it is:

<?xml version="1.0" encoding="UTF-8"?>
<FileTypeList version="2.0">
<FileType id="50001" group="3d Data" description="Maya Binary" features="" extension="mb">
<Begin combine="AND">
<Signature>\x46\x4F\x52\x38\x00\x00\x00\x00</Signature>
</Begin>
<End combine="AND">
<Signature>\x7F\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x44\x00\x00\x00\x00</Signature>
</End>
</FileType>

</FileTypeList>

Alt
Site Moderator
Posts: 3129
Joined: Tue Nov 11, 2008 2:13 pm
Contact:

Re: Correct way to specify new file types

Post by Alt » Fri Aug 24, 2018 2:18 pm

A small but important bug. The "offset" attribute is missing:

Code: Select all

<Signature offset="19">\x7F\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x44\x00\x00\x00\x00</Signature>

Post Reply