Game Crash after importing / exporting model with no changes maded

User avatar
Mohammad
Posts: 2737
Joined: 12 Oct 2018 20:53
Location: West Midlands
Contact:

Re: Error while converting

#11 Post by Mohammad » 18 May 2020 17:08

Ok, it does seem like it fixed. Thanks Carl
Image
-retired-

User avatar
Mohammad
Posts: 2737
Joined: 12 Oct 2018 20:53
Location: West Midlands
Contact:

Material Error ingame

#12 Post by Mohammad » 23 May 2020 23:34

Update: It now converts, however I'm getting this error ingame which is affecting the chassis and tanks:

Code: Select all

00:00:53.422 : <ERROR> [fs] Failed to open file '/automat/80/.tobj' in the read_only mode.
00:00:53.422 : <ERROR> [resource_task] Can not open '/automat/80/.tobj'
00:00:53.433 : <ERROR> [fs] Failed to open file '/automat/a1/.tobj' in the read_only mode.
00:00:53.433 : <ERROR> [resource_task] Can not open '/automat/a1/.tobj'
What caused it and how do I fix it
Image
-retired-

User avatar
tobrago
Posts: 1829
Joined: 19 Jun 2013 12:54
Location: Belgrade / SRB /
Contact:

Re: Error while converting [SOLVED]

#13 Post by tobrago » 24 May 2020 15:16

See how these files are written to you from the list.

Textually, they have to look like this.

Code: Select all

map 2d
     /vehicle/truck/iveco_stralis/color.dds
addr
     clamp_to_edge
     clamp_to_edge
And such a file will be converted.

If it looks like this.

Code: Select all

±p                              *       /vehicle/truck/iveco_stralis/lightmask.dds
Image

Then the converter will not convert and print an error identical to yours. My advice is see * .tobj files and find the problem. In your case, look in the directory "/automat/80/" and "/automat/a1/".
Google translator
Greetings and cheers
Keep truckin'

Image Image Image

User avatar
Mohammad
Posts: 2737
Joined: 12 Oct 2018 20:53
Location: West Midlands
Contact:

Re: Error while converting [SOLVED]

#14 Post by Mohammad » 24 May 2020 21:40

They just say .tobj
Image
-retired-

User avatar
tobrago
Posts: 1829
Joined: 19 Jun 2013 12:54
Location: Belgrade / SRB /
Contact:

Re: Error while converting [SOLVED]

#15 Post by tobrago » 25 May 2020 20:58

@Mohammad Check all the tobj files in these directories "/automat/80/" and "/automat/a1/". Example: color.tobj and so on. Uses Notepad++
Google translator
Greetings and cheers
Keep truckin'

Image Image Image

User avatar
Mohammad
Posts: 2737
Joined: 12 Oct 2018 20:53
Location: West Midlands
Contact:

Re: Error while converting [SOLVED]

#16 Post by Mohammad » 25 May 2020 21:24

When opening these automats they just say .tobj:
Image
These are the 80 and A1, the pic is the A1 Automat.
Image
-retired-

User avatar
tobrago
Posts: 1829
Joined: 19 Jun 2013 12:54
Location: Belgrade / SRB /
Contact:

Re: Error while converting [SOLVED]

#17 Post by tobrago » 25 May 2020 22:09

The automat file should look like this!

Code: Select all

material : "eut2.dif.spec.add.env.indenv.decal.over.rfx" {
	texture[0] : "/vehicle/truck/scania_rcab_2009/interior/sew_1.tobj"
	texture_name[0] : "texture_base"
	texture[1] : "/material/environment/vehicle_reflection.tobj"
	texture_name[1] : "texture_reflection"
	add_ambient : 0
	diffuse : { 1 , 1 , 1 }
	env_factor : { 0.073239 , 0.073239 , 0.073239 }
	fresnel : { -0.75 , 3 }
	queue_bias : 0
	reflection : 0
	shininess : 4
	specular : { 0 , 0 , 0 }
}
I think you added the wrong textures to the objects in Blender. Check it out in the materials in Blender. Next time you upload pictures, please take a picture so that you can read what is written like this, everything is blurry!
Google translator
Greetings and cheers
Keep truckin'

Image Image Image

User avatar
Mohammad
Posts: 2737
Joined: 12 Oct 2018 20:53
Location: West Midlands
Contact:

Re: Error while converting [SOLVED]

#18 Post by Mohammad » 26 May 2020 11:25

For which one is the automat above?
Image
-retired-

User avatar
tobrago
Posts: 1829
Joined: 19 Jun 2013 12:54
Location: Belgrade / SRB /
Contact:

Re: Error while converting [SOLVED]

#19 Post by tobrago » 26 May 2020 17:42

See all tobj files in these directories!
Google translator
Greetings and cheers
Keep truckin'

Image Image Image

User avatar
Mohammad
Posts: 2737
Joined: 12 Oct 2018 20:53
Location: West Midlands
Contact:

Re: Automat Error

#20 Post by Mohammad » 07 Jun 2020 14:50

So apparently the .tobj files that are included in the Iveco / Tanks /Badges in my mod had this error in the file itself:
tobrago wrote:
24 May 2020 15:16
See how these files are written to you from the list.

Textually, they have to look like this.

Code: Select all

map 2d
     /vehicle/truck/iveco_stralis/color.dds
addr
     clamp_to_edge
     clamp_to_edge
And such a file will be converted.

If it looks like this.

Code: Select all

±p                              *       /vehicle/truck/iveco_stralis/lightmask.dds
Image

Then the converter will not convert and print an error identical to yours. My advice is see * .tobj files and find the problem. In your case, look in the directory "/automat/80/" and "/automat/a1/".
I've fixed those according to your example, what should I do now?
I've tried writing the automat files myself with no success
Image
-retired-

Post Reply

Return to “Blender Tools”

Who is online

Users browsing this forum: No registered users and 1 guest