Blowing up Barney

Mark Guzdial guzdial at cc.gatech.edu
Tue Jul 13 15:24:46 UTC 1999


For fellow Mac Squeakers who also haven't been able to load in the other
Alice objects:

The Objects.zip file contains filenames that go beyond the Mac filename
limits.  So, for example, PurpleDinosaur.rightleg.foot.vfb becomes
PurpleDinosaur.rightleg.foot.vf which doesn't match what the model file
lists.

To fix it:
- Shrink the filename.  If the original filename can't be determined, look
back at the original zip file.  I found that ZipIt will display the whole
long filename.
- Edit the corresponding model file (.mdl) to reference the new filename.

I was finally able to load in Barney (er, "generic Purple Dinosaur") by
doing a global replace of "PurpleDinosaur" to "PD" in the "PD.mdl" (was
"PurpleDinosaur.mdl") file.  Then I changed all the filenames to
PD.leftleg.vfb, etc. -- filling in the filename components where missing.

Works great!
  Mark

--------------------------
Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280
(404) 894-5618 : Fax (404) 894-0673 : guzdial at cc.gatech.edu
http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html





More information about the Squeak-dev mailing list