TGA`s and TOBJ`s

Post Reply
User avatar
Icyn
Posts: 6
Joined: 27 Jan 2020 13:20

TGA`s and TOBJ`s

#1 Post by Icyn » 14 Jan 2022 04:36

So i got the authorization from a modder to edit his old mod, i already imported it, made some changes on the cab and stuff and wanted to export the entire truck but when i tried to export it i realized that all the textures in the mod in TOBJ format, is there a faster way to convert all the mod textures to TGA other than doing it one by one?

Code: Select all

00:00:11.024 : [linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc] tobjcopy /material/environment/glass.tobj 
00:00:11.024 : <ERROR> errwarn:
00:00:11.025 : <ERROR> *** ERROR *** : [texobj parse] syntax error in (<C:/Mods/Tools/Conversion Tools 2.12/linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc | >/material/environment/glass.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/Mods/Tools/Conversion Tools 2.12/linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc | >/material/environment/glass.tobj'


00:00:11.037 : [linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc] tobjcopy /material/ui/accessory/volvfh13_bw.tobj 
00:00:11.040 : <ERROR> errwarn:
00:00:11.042 : <ERROR> *** ERROR *** : [texobj parse] syntax error in (<C:/Mods/Tools/Conversion Tools 2.12/linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc | >/material/ui/accessory/volvfh13_bw.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/Mods/Tools/Conversion Tools 2.12/linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc | >/material/ui/accessory/volvfh13_bw.tobj'


00:00:11.067 : [linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc] tobjcopy /material/ui/accessory/interior_volvo_fh16_cstm.tobj 
00:00:11.071 : <ERROR> errwarn:
00:00:11.074 : <ERROR> *** ERROR *** : [texobj parse] syntax error in (<C:/Mods/Tools/Conversion Tools 2.12/linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc | >/material/ui/accessory/interior_volvo_fh16_cstm.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/Mods/Tools/Conversion Tools 2.12/linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc | >/material/ui/accessory/interior_volvo_fh16_cstm.tobj'


00:00:11.075 : [linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc] tobjcopy /material/ui/accessory/r_hatch.tobj 
00:00:11.076 : <ERROR> errwarn:
00:00:11.078 : <ERROR> *** ERROR *** : [texobj parse] syntax error in (<C:/Mods/Tools/Conversion Tools 2.12/linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc | >/material/ui/accessory/r_hatch.tobj) at line 2 - token []

*** ERROR *** : Parse error '<C:/Mods/Tools/Conversion Tools 2.12/linked_bt_66b1bcf5fa4198e4a1dcb584e01f6572efe215bc | >/material/ui/accessory/r_hatch.tobj'
Thanks in advance
User avatar
Madkine
Global moderator
Posts: 7105
Joined: 08 Oct 2018 16:35
Location: Australia
Contact:

Re: TGA`s and TOBJ`s

#2 Post by Madkine » 14 Jan 2022 06:07

A tobj isn't a texture file, it's a textlike file that points to the texture file.
If the tobj isn't in the right format, then blender will error when reading it.

The tobj files need to be run through a converter before being used in blender.
WoT Profile
ATS Workshop

"never attribute to malice that which is adequately explained by stupidity"
User avatar
Icyn
Posts: 6
Joined: 27 Jan 2020 13:20

Re: TGA`s and TOBJ`s

#3 Post by Icyn » 14 Jan 2022 23:40

@Madkine Do i need to convert all the textures inside the mod? and if so to which format?

Is there a way to convert them all at once?
Thanks in advance.
User avatar
Madkine
Global moderator
Posts: 7105
Joined: 08 Oct 2018 16:35
Location: Australia
Contact:

Re: TGA`s and TOBJ`s

#4 Post by Madkine » 15 Jan 2022 00:05

I'm not sure. Converting the tobj files may fix the issues you are seeing without needing to touch the textures.
WoT Profile
ATS Workshop

"never attribute to malice that which is adequately explained by stupidity"
Alarthon
Posts: 215
Joined: 08 Nov 2018 00:11

Re: TGA`s and TOBJ`s

#5 Post by Alarthon » 15 Jan 2022 01:45

Like Madkine said, have the tobj files in text format not binary. I keep all my textures in .dds and haven't had a problem yet.
Post Reply

Return to “Blender Tools”

Who is online

Users browsing this forum: Digital X and 1 guest