I think it’s safe to say that the DTS Exporter Joseph Greenawalt made years ago (Latest release is from 2009) is officially dead. The author’s site recently went down and any official sources and documentation are now lost.
There are still games out there (Blockland is where I hail from) that use .DTS models and I am sure that the communities of these games would be more than overjoyed to get a new version of a Blender to Torque exporter.
The exporter still works with Blender 2.49b but can be somewhat unstable at times not to mention the outdated tech. (My exporter just randomly stopped working and is giving errors.) Are there any news at all regarding any DTS exporters? I remember there being some talk about a DTS exporter for Blender 2.5 a year ago or so, but I no longer can find anything about it.
Please don’t let us down. DTS models are still used.
No news of a new exporter then. Anyway here is an error I get in the console. The exporter works though.
P:\Blender 2.49b\.blender\scripts\DTSPython\Dts_Stream.py:246: DeprecationWarning: struct integer overflow masking is depcrecated
self.write32(ival)
P:\Blender 2.49b\.blender\scripts\DTSPython\Dts_Stream.py:234: DeprecationWarning: struct integer overflow masking is depcrecated
self.write32(value)
And here are those lines from the file.
241 def writef32(self, value):
242 # bit of a hack, but should work
243 fval = value
244 pfval = struct.pack('f', fval)
245 ival = struct.unpack('i', pfval)[0]
246 self.write32(ival)
233 def writes32(self, value):
234 self.write32(value)
I am actively updating and using this module, but independent of the blender code, see my webpage and you may get what you are looking for, FYI i am running python3.2.2m , blender2.59. <a href=“http://sites.google.com/site/abstractind”>Abstractind@sites.google.com</a>
It’s nice to know someone is working with the exporter. I tried it out but couldn’t get it to work with Blender 2.59 or Blender 2.49b. A quick glance inside the scripts and my uneducated guess is that some of the files (DtsPrefs.py for one) are already compiled. I downloaded the “BlenderDTSExporter_097_pre.tar.bz2” file. I might be understanding something wrong too, I’m not good with scripts.
I have as of yet not tried exporting anything, so sorry, but I will keep you appraised of my status on this api, you by any chance wouldn’t like the torque source code would you? I have a copy. and would love to see what someone can do with it, it’s compiled on my windows live skydrive and available but I could email you the source.
I am sorry I got off track there, my emphaces whas to be on the Dts sdk thats bundled with it. written in cplusplus it is surely a good example and of use to you, It’s also compiled on my skydrive, and is much mature than the script copying it. if you need to export dts files from blender I am sure an aliaswavefront(obj) parser found somewhere could be piped to this sdk with a small obj importer written on the front of it, worth a try.