Click to Refresh Forum
Click to refresh Forum
Jump to content
Animation:Master

Corrupted Projects and models [fixed with text-editing]


Recommended Posts

Posted

I was working on a Project. It somehow got corrupted with an "Actions" folder with a ba-jillion 'Choreography Action' files and I can't seem to delete them. I tried to delete them, but can't. I had saved the Project and now all the model files in that project are corrupted as well. when I load the models into a new Project the new Project contains the Corrupted Actions folder.  I tried "delete empty folders" but the folder isn't empty and the command doesn't work.

Screenshot  and corrupted file attached.

Actions Folder.jpg

Chest.mdl

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

That plagued my work for years. I tried so many things to get rid of it. Unless something has changed, you have to go into a text editor on Material files, model files, choreography files, action files, etc. and erase the code by hand. Or at least that's what I had to do.

If you save a file(model, chor., action, etc.) containing those, it will place it in every file in the project. Then it replicates over and over as you save your work. I almost stopped using A:M because of it.

Posted

Be careful that you don't infect all your projects/ files with that horrible bug.  When you save a project that includes other files, they may get them. Open each of the files in the project, including all actions, models, textures, choreographies. Scroll or search lines that include things like "<choreography action>"..    Erase them all.  Sometimes it will be a huge number of them. Other times it may be just 1 or 2.  But it's a maddening pain and horrible problem to fix. AND it creeps into everything before you realize it. Like I said, I nearly quit using A:M because it happened to my files.

  • Hash Fellow
Posted

Short version of what we did at Live Answer Time

-We looked at the file in A:M . Although this file is a model, loading it causes a repeating and un wanted "Choreography Action" to appear in the Actions folder.

image.png

 

-We loaded the Chest.mdl file in a text editor. All data in A:M files is enclosed in pairs of XML tags. The Actions folder in A:M will be contained in the file by the <ACTIONS> and </ACTIONS> tags

-We scroll until we find the opening <ACTIONS> tag
 

.
.
.
</FileInfo>
</MODEL>
</OBJECTS>
<ACTIONS>
Name=lightwood
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
  .
  .
  .

 

Indeed, there seems to be repeating <CHORACTION> </CHORACTION> tags in it.  many thousands of them all they way down to the closing </ACTIONS> tag.

 

.
.
.
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
<CHORACTION>
</CHORACTION>
</ACTIONS>
<CHOREOGRAPHIES>
Name=DORF
</CHOREOGRAPHIES>
FileInfoPos=1306115
</MODELFILE>

 

We shift-selected all those  <CHORACTION> </CHORACTION> tags and deleted them.

We resaved the file under a new name, then loaded that into A:M. The Actions folder is empty now.

image.png

 

We resaved the model file again from A:M under a new name.

 

 

  • robcat2075 changed the title to Corrupted Projects and models [fixed with text-editing]

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...