note, I'm a newby in Blender
note, I'm still on Blender version 2.81, not the new 2.90
note, this is a mod that was made in zmodeler
I'm currently trying to update a very old trailer from version 1.17 and make it up to date with current game versions, as well as making it ownable.
So far def editing is 90% done, so I turned to the model itself, first the chassis.
After importing into blender, I started deleting the old materials from the meshes, and made new ones, using the right shader presets.
I have all the original .dds and .tobj files in the base folder for Blender and re-applyed them to the right meshes.
trailer itself looks good in material preview mode and all textures are showing as they should.
But the export is where I'm stuck.. Blender can't finish the export and I get an error: "can't read TOBJ, most probably it's in binary version"
Pastebin to the error log
https://pastebin.com/cfUsvFLT
re-applying shader, texture, material
- DubbelDraaiDeur
- Posts: 340
- Joined: 11 Jan 2018 12:27
- Location: Ghent - Belgium
- Contact:
re-applying shader, texture, material
Drives anything with wheels, and you know... some things without wheels
- xXCARL1992Xx
- Posts: 12629
- Joined: 17 Aug 2016 12:18
- Contact:
Re: re-applying shader, texture, material
your .tobj are all in the wrong format, yours are game readable formatted, you need them in plain text for conversion tools to convert, there are 2 ways to do it
1. write your own .tobj for every file, maybe even with a batch script
2. convert all textures to .tga and create the .tobj via blender
for 1.
this is the plain text .tobj for a repeatable texture, if your texture is not repeatable then use clamp_to_edge instead of repeat, add usage tsnormal at the end if it is a normal map texture, also nocompress exists and will tell conversion tools to not comperes the texture
same can be done with .dds also, it doesnt need to be .tga but then nocompress wont work and will be ignored if you use it
for 2.

instead of a .tobj you link to the .tga, then you select options, U and V repeat is for textures that need to repeat themselves in U or V space or both, like light masks or textures where the mesh is outside the texture size
TS Normal is always used on normal map textures
Color Space Linear im not sure that use it really has because i never saw a texture use it
1. write your own .tobj for every file, maybe even with a batch script
2. convert all textures to .tga and create the .tobj via blender
for 1.
Code: Select all
map 2d
plain_grey.tga
addr
repeat
repeat
same can be done with .dds also, it doesnt need to be .tga but then nocompress wont work and will be ignored if you use it
for 2.

instead of a .tobj you link to the .tga, then you select options, U and V repeat is for textures that need to repeat themselves in U or V space or both, like light masks or textures where the mesh is outside the texture size
TS Normal is always used on normal map textures
Color Space Linear im not sure that use it really has because i never saw a texture use it

| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
Re: re-applying shader, texture, material
Color Space Linear uses linear color space, mostly used on AO bakes and UI textures.
Seasonic SSR-650TD; Intel Core i5-6600K 3,5GHz; Gainward GTX 1060 6GB Phoenix GS; 2x Kingston HyperX Fury 8GB; 2x Seagate Barracuda 2TB; Corsair Force MP510 960GB; 2x 24" AOC I2481FXH; Windows 10
- DubbelDraaiDeur
- Posts: 340
- Joined: 11 Jan 2018 12:27
- Location: Ghent - Belgium
- Contact:
Re: re-applying shader, texture, material
Sweet! Thanks for the detailed description Carl, I went with option 2 and that worked like a charm!
All the errors on export are gone, except still for 1 .tobj file, vehicle_reflection.
I cannot seem to find any related textures to said .tobj file in the right path in the game files.
I opened with notepad++ HEX editor, and found different references to the generic_s (5 times) and generic_b (1 time) textures. But I have no clue how to go from there..
What am I missing here?
All the errors on export are gone, except still for 1 .tobj file, vehicle_reflection.
I cannot seem to find any related textures to said .tobj file in the right path in the game files.
I opened with notepad++ HEX editor, and found different references to the generic_s (5 times) and generic_b (1 time) textures. But I have no clue how to go from there..
What am I missing here?
Drives anything with wheels, and you know... some things without wheels
- xXCARL1992Xx
- Posts: 12629
- Joined: 17 Aug 2016 12:18
- Contact:
Re: re-applying shader, texture, material
Import any model with reflection into an empty scene (anither truck for example) and remember where the files are stored after import, then copy the .tobj of vehicle reflection, if you set up blender right you normally dont need it because it it part of the base

| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |
- DubbelDraaiDeur
- Posts: 340
- Joined: 11 Jan 2018 12:27
- Location: Ghent - Belgium
- Contact:
Re: re-applying shader, texture, material
That fixed it!
My Blender setup and folder structure is kinda a hot mess at the moment, maybe I should re-setup Blender completely, and do it good this time
My Blender setup and folder structure is kinda a hot mess at the moment, maybe I should re-setup Blender completely, and do it good this time

Drives anything with wheels, and you know... some things without wheels
Who is online
Users browsing this forum: No registered users and 1 guest