[3D Art] How to Fix Sanity Issues

ILH

ILH

Model Reviewer
Level 33
Joined
May 8, 2012
Messages
1,526
So, you wanna know how to get rid of those pesky Sanity Issues? Well now, with some time and patience, you can finally squash them by yourself!

Here's some tips.

I. Sanity Issues and Where to Find Them

There are two ways to access Sanity Checker.
Click on Utility.
st1-png.476117

Launch it.
st2-png.476118
Find a model in a resource section, or head to yours if you've already uploaded.
1718547692828-png.476121

Drag and drop your model into the page, and then your Sanity Checker should load your model file and look like this. During the optimization process of your model, you can always leave the Sanity Checker page open for you to later drag and drop the model again to the page for another test.
1718547766110-png.476122
Now, there are a lot of kinds of warnings and issues. Here are one of the frequent ones and how to fix them:

Issue
Solution
Texture - Not usedDelete the texture.
Material - Not usedDelete the material.
Track " " at frame " " has exactly the same value as tracks " " and " "Step by step instructions below.
(Usually taken care by MDLX Optimizer)
Track " " at frame " " has roughly exactly the same value as tracks " " and " "Step by step instructions below.
(Usually taken care by MDLX Optimizer)
"sequence" is not a standard nameRename the sequence into an in-game one, such as "Stand", "Walk". Otherwise, you may delete the sequence if unwanted, as it is bloating the model.
Number of sequence extents does not match the number of sequencesRecalculate the extents (Use Retera's Model Studio or Magos Model Editor)
There are no vertices attached to this boneDelete the bone.
Missing opening track for sequence " " at frame " " where it is neededAdd a keyframe at the mentioned frame.

II. Using an Automatic Model Optimizer


Usually, putting your model file straight into a model optimizer fixes most of the job for you. I'd recommend you send them into the optimizer before tweaking the rest of the issues yourself. The one I'd recommend and pick for this tutorial is the MDLX Optimizer: MDLX Optimizer
1718548913362-png.476126
To use it, simply Drag and Drop your model file straight into the blank white page. You will automatically download the optimized version.

There are also other optimizers worth mentioning, such as Retera's Model Studio, loktar's MOP

III. Fixing Same Value Tracks (Manual Optimizing)


This is a special step-by-step instruction on how to fix roughly and exactly same value tracks. There are two ways to get this done, either by using a model editor like Retera's Model Studio or Magos Model Editor, or edit it in .MDL format using a text editor like Notepad++.
Here's an example issue.
1718549268107-png.476128

To fix this, go to your model, and find the Helper node named "Bone_Arm1_R", and edit the node.
1718549346061-png.476129

Then, a dialog will open containing the node's properties. Click on "Rotation" since the issue is on the Rotation segment.
1718549419876-png.476130

A sequence editor will open. Find frame 12832 in the editor.
1718549464673-png.476131

You can see that it has the same value with above and below. Delete it and save the model.
1718549504949-png.476132
Here's an example issue.
1718549268107-png.476128

First, you should convert your model from .MDX format to -> .MDL if you haven't. You may use this tool.
1718549709517-png.476133

Right click the .MDL file, click Open With..., and find your text editor. I'd use Notepad++
1718549770545-png.476134

It should look like this.
1718549844139-png.476135

Now, click Ctrl + F to find the helper node name "Bone_Arm1_R".
1718550134653-png.476138

In the "Rotation" section, find frame 12832.
1718550229278-png.476139

And delete it.
1718550293960-png.476141

Scroll up, change the number of rotation sequences. Reduce it by 1. In this case, from 101-
1718550330421-png.476142

-to 100.
1718550353218-png.476143

Save the .MDL file. And then drag and drop it (the .MDL file, not .MDX) to Sanity Tester page as it can read .MDL format too.
If the result is ok, you can convert it back to .MDX for compression.
1718550491789-png.476144

I guess that's all. If your model has passed the Sanity Checker it will read as "Passed".

Feel free to ask questions, add more tips, or correct me if I'm wrong.
 
Top