Page 1 of 1

Problem with .tobj file

Posted: 07 Jun 2020 08:38
by michael1302
I tried to load my own .dds file in blender, it keeps saying
"Texture can't be displayed as TOBJ file: '//material/some/thing.tobj' is referencing non existing texture file."

My own texture file DOES exist, so I checked my tobj file, was perfect.

But maybe I made mistake, so I made tobj path simple "/material/something.tobj
Still error.

I can't find any problem with my process.


Default scs texture files, tobj works perfectly.
But not mine.

Re: Problem with .tobj file

Posted: 07 Jun 2020 13:26
by SeZu
Blender requires image files with the extension .tga. Blender does not understand .dds files.

Re: Problem with .tobj file

Posted: 07 Jun 2020 15:38
by michael1302
But default scs textures use .dds file. and also many mod does.
How should I understand

Re: Problem with .tobj file

Posted: 07 Jun 2020 20:39
by Vøytek
But in Blender you have to use .tga, .png and so on. So convert .dds to a format which works in Blender.

Re: Problem with .tobj file

Posted: 08 Jun 2020 05:46
by michael1302
Using tga file, still SCS Blender Tools saying same error.
I don't think my tobj file is wrong

path wrote on tobj file:
/material/something.tga

something.tga path:
D:/testmod/material/something.tga

tobj path:
D:/testmod/material/something.tobj

Anything wrong?

Re: Problem with .tobj file

Posted: 08 Jun 2020 07:12
by flintstone73
How did you generated those .tobj file ?

In my case (workflow) i first generate the .tga file with Graphic Program of my choice (mostly Photoshop). Then load this .tga as a texture for SCS-Material (first installed SCS-Blender Tools for that).
After work in Blender is done i'll export the stuff as SCS-Middleware-Format..... Those middleware stuff will be further converted into binary format the game itself can use. For that i use "Conversion Helper" Tool also provided by SCS. https://modding.scssoft.com/wiki/Docume ... ion_Helper

Also have a look here: https://forum.scssoft.com/viewtopic.php?t=222425

Re: Problem with .tobj file

Posted: 08 Jun 2020 07:22
by michael1302
I generate tobj file with program called tobjEdit.
I just have a problem with importing texture files.

Added in 9 hours 14 minutes 44 seconds:
Finally, I solved the problem.
My mistake was, I learned SCS Blender Tools without tutorial, just importing default scs files and do the same which it was displayed.

I had to import .tga file directly, not importing .tobj file.