Game Development Community

DTS Validation

by Carl A Harris · in Torque Game Engine · 10/30/2007 (6:08 am) · 9 replies

I keep getting an error that says :

Validation required for shape: /data/shapes/character/models/wolf/wolf.dts

Can anyone explain how to Validate a DTS?

#1
10/30/2007 (6:52 am)
Look up "Compute CRC".
#2
10/30/2007 (7:17 am)
No to be mean, but that gives an entirely new meaning to the word "Cryptic".

This is what I get:

Forum Thread : PackUpdate not called for client controlled ...
Forum Thread : Turning off the automatic mission relight :. ...
Forum Thread : How to protect your server and client files ...
Forum Thread : Research: (M)MOGs system for Torque... :. ...

However when I let Yahoo do the search. I believe you had intended for me to find your replies in This link
#3
10/30/2007 (7:31 am)
Usually it means that your model is not setup correctly (I believe not having a root node will throw this exception) or your animations are not setup correctly. Have you tried loading it in ShowTool Pro?
#4
10/30/2007 (7:42 am)
First, in case you don't know... CRC stands for "Cyclic Redundancy Check" and it's a type of checksum. A CRC is a code that can be calculated for a file. If two files have matching CRC codes, it's highly likely that the files match.

If computeCRC is true in the datablock for your model, it means that you want the program to compare the CRC for the file on the server with the CRC for the file on the client.

The "Validation required..." message is really just something of a spam message that gets printed when the CRC comparison is done. If the comparison fails, you get an additional message.

This message is normal and there is probably nothing wrong with your file. The message goes away if computeCRC is set to false, but then the check is off to. You probably only need to set the value to true for a shipped product.
#5
10/30/2007 (7:44 am)
Yeap, it loads and animates. I would just like to know how to correct it with out having to hack the datablock. According to Allyn's post just turn off the CRC. Ignoring it is fine, I would just like to know how to make the CRC valid now.
#6
10/30/2007 (7:45 am)
I'm probably thinking of the additional message, which I always got with botched models. Because I'm good at botching models. At least I thought that was the case. Regardless, I'm still good at botching models!
#7
10/30/2007 (7:50 am)
The "Validation required..." message does *not* mean the CRC is wrong. It just means that it's being checked. You get another message and I think an aborted mission load if they don't match. It's a confusing message that should be removed of reworded to make more sense.
#8
10/30/2007 (7:51 am)
Yea, I would have to agree with you on that.
#9
10/30/2007 (9:14 am)
Thats correct, sorry i was late for a meeting, so i posted.

"Validation required..." message does *not* mean the CRC is wrong.

Its not an error. I agree with the rewriting. Yes you can find an explanation in that post you linked =)