All extensions not enabled ?

Using PhotoRec to recover lost data
Post Reply
Message
Author
ktheking
Posts: 2
Joined: 19 Sep 2014, 17:16

All extensions not enabled ?

#1 Post by ktheking » 21 Sep 2014, 16:58

Hi all,

I'm trying to recover 3ds max files from an image of a reconstructed raid.
But in the options of photorec ,this extension is not listed.
Do I need to do something extra to enable some of the filesystem types list on on the wiki ?

Thanks for your suggestions.

Kind regards,

Koen

Sponsored links

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

Re: All extensions not enabled ?

#2 Post by cgrenier » 22 Sep 2014, 18:26

3ds uses the doc/xls/ppt OLE based file format.

ktheking
Posts: 2
Joined: 19 Sep 2014, 17:16

Re: All extensions not enabled ?

#3 Post by ktheking » 23 Sep 2014, 13:35

Thanks Grenier for the reply.

That's what I figured out reading the code from the wiki meanwhile :oops: .

http://www.cgsecurity.org/wiki/File_For ... y_PhotoRec

Code: Select all

const file_hint_t file_hint_doc= {
  .extension="doc",
  .description="Microsoft Office Document (doc/xls/ppt/vsd/...), 3ds Max, MetaStock, Wilcom ES",
  .min_header_distance=0,
  .max_filesize=PHOTOREC_MAX_FILE_SIZE,
  .recover=1,
  .enable_by_default=1,
  .register_header_check=&register_header_check_doc
};
source : http://git.cgsecurity.org/cgit/testdisk ... file_doc.c

Question is , will it recover the file as .3ds file ,or as .doc file ?

My guess it'll return it with the extension .max instead of .3ds , correct ?

Code: Select all

	  case 12:
	    /* 3ds max */
	    if(memcmp(dir_entry->name, "S\0c\0e\0n\0e\0\0\0",12)==0)
	      return "max";
	    /* Licom AlphaCAM */
	    else if(memcmp(dir_entry->name,"L\0i\0c\0o\0m\0\0\0",12)==0)
	      return "amb";
	    break;

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

Re: All extensions not enabled ?

#4 Post by cgrenier » 04 Oct 2014, 18:01

Correct. If you get your files as .doc, please send me one of your .3ds files.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests