[1.6 Conversion tools] Material tobj/dds copy fail [SOLVED]

Post Reply
User avatar
galimim
Posts: 3358
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

[1.6 Conversion tools] Material tobj/dds copy fail [SOLVED]

#1 Post by galimim » 06 Jan 2016 14:51

I created some Workshop Icons with ETS2 Studio, put them in my mod folder so they are all in the correct folder that is:

Code: Select all

material\ui\accessory
In said folder I have .dds icon, .mat file and .tobj file for each icon

When running conversion tool that should copy/convert everything into rsrc folder I get errors like:

Code: Select all

*** ERROR *** : [texobj parse] syntax error in (/material/ui/accessory/bs.tobj) at line 2 - token []

*** ERROR *** : Parse error '/material/ui/accessory/bs.tobj'
So the end result it is that the only files from the folder copied are .mat files. The dds/tobj files are not copied.

Is this by design?

Here is the full log (Ignore last errors, they have nothing to do with the problem here, just some images that are not copied): http://pasted.co/c0ee0b87
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor

User avatar
50keda
SCS Software
Posts: 2708
Joined: 07 Dec 2012 11:59

Re: [1.6 Conversion tools] Material tobj/dds copy fail

#2 Post by 50keda » 06 Jan 2016 16:12

There are two types of TOBJ files:
1. Text ones -> the ones that BT produce and are used for conversion
2. Binary ones -> this ones are already in game ready state thus conversion tools can not convert it any more

So yours was binary that's why you got error.
If you need TOBJ for ui icon take this one:
https://github.com/50k-Customs/Wheels-P ... ver_f.tobj

User avatar
galimim
Posts: 3358
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: [1.6 Conversion tools] Material tobj/dds copy fail

#3 Post by galimim » 06 Jan 2016 16:19

Ok now I know something new.

I have tobj files and they work fine in the game. I just wish the converter would copy them with the dds files, so I wouldn't need to manually copy the file later.
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor

User avatar
50keda
SCS Software
Posts: 2708
Joined: 07 Dec 2012 11:59

Re: [1.6 Conversion tools] Material tobj/dds copy fail

#4 Post by 50keda » 06 Jan 2016 18:31

You can as I showed you.

Just create text tobj file with content like I gave you in the link and change image file name from: "50k_alcoa_cover_f.tga" to "WhateveTextureName.dds"
Then TOBJ will be converted and dds file copied ;)

User avatar
galimim
Posts: 3358
Joined: 26 Jan 2013 22:11
Location: Slovenija
Contact:

Re: [1.6 Conversion tools] Material tobj/dds copy fail

#5 Post by galimim » 06 Jan 2016 18:49

Great that got it!
Thanks :)
ETS2:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor
ATS:
Real Tires Mod
Search for Drivetrain Revision mods!
Truck fix doctor

User avatar
stradastatale16
Posts: 51
Joined: 20 May 2019 15:26
Location: Palermo, Sicily, Italy
Contact:

Re: [1.6 Conversion tools] Material tobj/dds copy fail [SOLVED]

#6 Post by stradastatale16 » 26 Dec 2020 15:53

Hello, i have the same problem, i have a problem with my TOBJ that i cannot solve, could you plese help me?

Post Reply

Return to “Bugs”

Who is online

Users browsing this forum: No registered users and 2 guests