Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: File recovery  (Read 5916 times)

MeepII

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
File recovery
« on: June 02, 2010, 10:22:36 am »

Errr...

When I try to open a certain document using either v0.95 or the new version preview, it crashes. There are no error messages, other than the one saying "Anim8or has stopped working", which isn't much help.
Logged

MeepII

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
Re: File recovery
« Reply #1 on: June 03, 2010, 01:12:24 pm »

Further experimentation reveals that the particular files opened on that day and no other ones have been corrupted in some way. The file contained a high polygon model, a scene with some lighting and an image, and neither version will open them. However, if I create a document and save it in either version, both will open it, even if it contains a lot of polygons. Has anyone found anything like this before? If so, is there a way to recover these files?
Logged

BOB_I_Ts

  • Full Member
  • ***
  • Posts: 157
    • View Profile
    • Anim8rOrg
Re: File recovery
« Reply #2 on: June 03, 2010, 04:38:53 pm »

impossible to know unless you attache file
you could try saving a blank an8 file then copy paste chunks of the bad file file
open an8 with notepad main chunks data are
mesh {
    name { "name" }
    material { " -- default --" }
    smoothangle { 45 }
    materiallist {
      materialname { " -- default --" }
    }
points { data } = points
texcoords {data } = uv coordinates
faces {data} = edge polygons
}
note  mesh {model date} any data between belongs to the  name { "name" } model you want to recover
use " -- default --" to use no material
« Last Edit: June 03, 2010, 04:44:06 pm by BOB_I_Ts »
Logged

MeepII

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
Re: File recovery
« Reply #3 on: June 04, 2010, 05:55:45 am »

I'll attach it if that doesn't work. Also, it seems that it was just files I opened on that day, not necessarily files that I saved on that day, which is strange.

[edit]

I've compared it to another file, and here are the places where it differs from the uncuorrupted file:

}
texture { "[texture]"
  file { "C:\\Program Files\\anim8or\\[texture].jpg" }
}
object { "object01"
  material { "material01"
    surface {
      /* RGB chunk no longer used */
      rgb { 224 224 224 }
      lockambiantdiffuse { }
      ambiant {
        rgb { 224 224 224 }
        factor { 0.30000 }
      }
      diffuse {
        rgb { 224 224 224 }
        factor { 0.70000 }
      }
      specular {
        rgb { 255 255 255 }
        factor { 0.20000 }
      }
      phongsize { 0 }
    }
  }

The other file didn't have a tecture, so I couldn't really compare.

Also, the data here seemed to be in a different format on the corrupted file:
}
    faces {
      4 5 0 -1 ( (0 0) (1 1) (9 2) (8 3) )
      4 5 0 -1 ( (1 1) (2 4) (10 5) (9 2) )
      4 5 0 -1 ( (2 4) (3 6) (11 7) (10 5) )
      4 5 0 -1 ( (3 6) (4 8) (12 9) (11 7) )
[and so on]

is there anything odd about this?
« Last Edit: June 04, 2010, 06:34:40 am by MeepII »
Logged

BOB_I_Ts

  • Full Member
  • ***
  • Posts: 157
    • View Profile
    • Anim8rOrg
Re: File recovery
« Reply #4 on: June 05, 2010, 04:53:35 am »

only way for you to find that bad data alone is to copy paste  small chunks section by section then test load in anim8or untill crash begin
im unsure what first 3 numbers are for but in most an8s i have looked in side  they have either (3 4 0) or (4 4 0)  !  4 5 0
4 5 0 -1 ( (0 0) (1 1) (9 2) (8 3) )
Logged

MeepII

  • Jr. Member
  • **
  • Posts: 78
    • View Profile
Re: File recovery
« Reply #5 on: June 06, 2010, 09:26:59 am »

Yeah... The file I compared it tohad 3 digit numbers in place of (X X)
Logged