XeNTaX
http://forum.xentax.com/

Converting tfd files from Star Conflict.
http://forum.xentax.com/viewtopic.php?f=18&t=17549
Page 1 of 1

Author:  ThunderFlame [ Fri Jan 12, 2018 7:57 pm ]
Post subject:  Converting tfd files from Star Conflict.

I can't get to wrap my head around how to convert or even open the tfd files, I know that they are supposed to be the headerless bodies, but how do I open them along with the headers? I tried Texture Finder and no matter the combinations I couldn't get anything legible enough, maybe some of the more experienced folks can help me out of this predicament.
Here is an example folder, it might not be much, I managed to decompile every model folder so we have a wide variety to try from:

Author:  AceWell [ Fri Jan 12, 2018 11:29 pm ]
Post subject:  Re: Converting tfd files from Star Conflict.

your sample looks similar to Crossout tfh/tfd but there may be slight difference.
the sample was too tiny (60x36 dxt5) to be certain my analysis is close to correct,
need more samples to examine and expand support. :D

Author:  ThunderFlame [ Sat Jan 13, 2018 9:44 am ]
Post subject:  Re: Converting tfd files from Star Conflict.

Ask and you shall receive.

Author:  AceWell [ Mon Jan 15, 2018 7:33 am ]
Post subject:  Star Conflict (*.tfh\*.tfd)

okay try this Noesis python script :D

supports dxt1 and dxt5
the script will open all your samples but i still don't know how accurate it is
because your samples never exceeded 64x64 and i just can't tell if they are correct. :]

Author:  ThunderFlame [ Tue Jan 16, 2018 3:10 pm ]
Post subject:  Re: Converting tfd files from Star Conflict.

It seems to be able to open tfh files for the most part, but not tfds.

Author:  AceWell [ Wed Jan 17, 2018 12:47 am ]
Post subject:  Re: Converting tfd files from Star Conflict.

then it works as designed, this format works in tfh/tfd pairs or header/data pairs :D
you aren't supposed to open the tfd files, the script will do that automatically.

Author:  ThunderFlame [ Thu Jan 18, 2018 4:58 pm ]
Post subject:  Re: Converting tfd files from Star Conflict.

Nice, now to find a way to convert the meshes to obj, and wrap the textures around them, any good tips?

Author:  kodi [ Tue Feb 13, 2018 12:19 am ]
Post subject:  Re: Converting tfd files from Star Conflict.

It is very similar to Crossout and plugin from http://forum.xentax.com/viewtopic.php?p=134377#p134377 seems to somewhat work.
It can open the Mesh files in Noesis. I had some success with it, however it looks like it's a little different approach to the one in Crossout and each ship is made from multiple objects attached to a skeleton. And unfortunately it doesn't work with all models from SC.
If you are just after meshes 3D Object converter can open most of them (but not object trees), but tbh I would love the Noesis solution working :D
Image
Image

If more samples are needed, just let me know - I can upload the whole unpacked game somewhere.

Author:  AceWell [ Tue Feb 13, 2018 12:38 am ]
Post subject:  Re: Converting tfd files from Star Conflict.

kodi wrote:
It is very similar to Crossout ..
If more samples are needed, just let me know - I can upload the whole unpacked game somewhere.

never count on a script for one game to work for another. :D
i have made a texture script for this game in this thread already, but the previous samples i looked at were tiny,
so a better group of larger samples would be better so i can confirm the file structure and extend functionality,
i don't need the whole game for that though. :)

Author:  kodi [ Tue Feb 13, 2018 1:26 am ]
Post subject:  Re: Converting tfd files from Star Conflict.

I have to thank you for your willingness to help :D
More samples here and here.
please let me know if you need anything else :)

Author:  AceWell [ Sat Feb 17, 2018 9:16 am ]
Post subject:  Star Conflict (*.tfh/*.tfd)

kodi wrote:
More samples here and here.


this second version of the Noesis python "Star Conflict" tfh/tfd script will open your texture samples :D

supports dxt1, dxt3, dxt5 main mip only
maybe later i will combine the 2 script versions so only one is needed,
but the other is a mess and i don't want to bother with it right now. :]
this script will conflict with other tfh/tfd scripts in your python folder,
so you will have to move them out temporarily while you use this one,
there was no way to give it a proper type check. (:

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/