Page 1 of 1

recovering Grasshopper binary (.gh) files

Posted: 10 Jan 2019, 13:12
by winterskies
Dear Mr Grenier,

thank you for this wonderful utility, that has been recovering memories of my life since the time when my old Olympus camera xD cards would get corrupted from time to time. I am extremely grateful for your work.

Recently a FAT32-formatted USB key – where I had saved all my work for a project (several GB of data)– got corrupted (unknown reasons). I tried recovering files with PhotoRec. It worked wonderfully, but I have noticed that I am still missing a specific kind of files. I care about them because it took me some effort to develop them.

They were generated with Grasshopper (the Rhinoceros extension) and are called Grasshopper binary definition files, with .gh extension. I haven't been able to find them as supported files with the search function on the site.

From this page [ ] I see that Grasshopper uses different formats.
Probably because of my ignorance, I believe my files were all saved as Grasshopper binaries (.gh).
I don't know how hard it would be to add the code, but I think being able to recover .gh and .ghx files would be great.

(As a side note, I see that .ghx files are just XML files: do they already get recovered as .xml?)

I can provide examples of both formats. :) If possible, I am going to attach a zip containing a random sample .gh file (I can't attach it directly).

Thank you for everything.

Re: recovering Grasshopper binary (.gh) files

Posted: 11 Jan 2019, 06:56
by cgrenier
I need at least 3 file samples of each format. Can you provide them for both gh and ghx ?
Have you tried TestDisk, Advanced, Boot, RebuildBS, List to access your lost files ?