Page 1 of 1

All extensions not enabled ?

Posted: 21 Sep 2014, 16:58
by ktheking
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

Re: All extensions not enabled ?

Posted: 22 Sep 2014, 18:26
by cgrenier
3ds uses the doc/xls/ppt OLE based file format.

Re: All extensions not enabled ?

Posted: 23 Sep 2014, 13:35
by ktheking
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;

Re: All extensions not enabled ?

Posted: 04 Oct 2014, 18:01
by cgrenier
Correct. If you get your files as .doc, please send me one of your .3ds files.