Converting tfd files from Star Conflict.

Get your graphics formats figures out here! Got details for others? Post here!
ThunderFlame
ultra-n00b
Posts: 6
Joined: Mon Jan 08, 2018 9:02 pm

Converting tfd files from Star Conflict.

Post by ThunderFlame » Fri Jan 12, 2018 7:57 pm

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:
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Converting tfd files from Star Conflict.

Post by Acewell » Fri Jan 12, 2018 11:29 pm

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

ThunderFlame
ultra-n00b
Posts: 6
Joined: Mon Jan 08, 2018 9:02 pm

Re: Converting tfd files from Star Conflict.

Post by ThunderFlame » Sat Jan 13, 2018 9:44 am

Ask and you shall receive.
You do not have the required permissions to view the files attached to this post.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Star Conflict (*.tfh\*.tfd)

Post by Acewell » Mon Jan 15, 2018 7:33 am

okay try this Noesis python script :D
tex_StarConflict_tfh_tfd.zip
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. :]
You do not have the required permissions to view the files attached to this post.

ThunderFlame
ultra-n00b
Posts: 6
Joined: Mon Jan 08, 2018 9:02 pm

Re: Converting tfd files from Star Conflict.

Post by ThunderFlame » Tue Jan 16, 2018 3:10 pm

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

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Converting tfd files from Star Conflict.

Post by Acewell » Wed Jan 17, 2018 12:47 am

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.

ThunderFlame
ultra-n00b
Posts: 6
Joined: Mon Jan 08, 2018 9:02 pm

Re: Converting tfd files from Star Conflict.

Post by ThunderFlame » Thu Jan 18, 2018 4:58 pm

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

kodi
ultra-n00b
Posts: 4
Joined: Mon Feb 12, 2018 11:17 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Converting tfd files from Star Conflict.

Post by kodi » Tue Feb 13, 2018 12:19 am

It is very similar to Crossout and plugin from 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.

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Converting tfd files from Star Conflict.

Post by Acewell » Tue Feb 13, 2018 12:38 am

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. :)

kodi
ultra-n00b
Posts: 4
Joined: Mon Feb 12, 2018 11:17 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Converting tfd files from Star Conflict.

Post by kodi » Tue Feb 13, 2018 1:26 am

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 :)

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Star Conflict (*.tfh/*.tfd)

Post by Acewell » Sat Feb 17, 2018 9:16 am

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
tex_StarConflict_tfh_tfd_v2.zip
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. (:
You do not have the required permissions to view the files attached to this post.

kodi
ultra-n00b
Posts: 4
Joined: Mon Feb 12, 2018 11:17 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Converting tfd files from Star Conflict.

Post by kodi » Thu Feb 22, 2018 12:38 pm

Hey it works for most of them, awesome!
Any chance for model reader? The one from crossout works only on some of them unfortunately :/

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Converting tfd files from Star Conflict.

Post by Acewell » Thu Feb 22, 2018 3:44 pm

it works for all the samples you provided, except for the one without a tfd file.
there is 2 scripts in this thread, if one script doesn't work with a texture try the other one. :]
if you have seen more textures of large size not working please upload them so i can improve script.
Crossout is a different game with similarities, never count on a script for different games to work on another.
i have not looked at the model files for this game yet, maybe later i will. :D

kodi
ultra-n00b
Posts: 4
Joined: Mon Feb 12, 2018 11:17 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Converting tfd files from Star Conflict.

Post by kodi » Mon Mar 05, 2018 2:15 am

Please, please do :wink:

User avatar
Acewell
VIP member
VIP member
Posts: 1240
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2387 times
Been thanked: 717 times

Re: Converting tfd files from Star Conflict.

Post by Acewell » Wed Mar 07, 2018 5:54 am

okay here is Noesis python script to open your mdl-msh000 through mdl-msh009 samples :D
*script updated March 11, 2018*
fmt_StarConflict_mdl-msh000.zip
this script will conflict with the Crossout script so you have to move that one out of python folder when using this one. (:
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Sun Mar 11, 2018 6:56 am, edited 3 times in total.

Post Reply