Important information: this site is currently scheduled to go offline indefinitely by end of the year.

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 »

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.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Converting tfd files from Star Conflict.

Post by Acewell »

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 »

Ask and you shall receive.
You do not have the required permissions to view the files attached to this post.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Star Conflict (*.tfh\*.tfd)

Post by Acewell »

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 »

It seems to be able to open tfh files for the most part, but not tfds.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Converting tfd files from Star Conflict.

Post by Acewell »

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 »

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 »

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.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Converting tfd files from Star Conflict.

Post by Acewell »

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 »

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 :)
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Star Conflict (*.tfh/*.tfd)

Post by Acewell »

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 »

Hey it works for most of them, awesome!
Any chance for model reader? The one from crossout works only on some of them unfortunately :/
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Converting tfd files from Star Conflict.

Post by Acewell »

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 »

Please, please do :wink:
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Converting tfd files from Star Conflict.

Post by Acewell »

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