Z-Mod crashes when exporting prefabs.

SCS Software ATS and ETS2 editing using ZModeler3 filter. Models, Materials, Animation.

Moderator: Oleg

Post Reply
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

Z-Mod crashes when exporting prefabs.

Post by Harald-RS »

Hello Oleg,

Z-Mod is crashing for me when exporting prefabs.

I don't know what the problem is and Z-Mod doesn't write anything in the log.
Greetings
Harald
My System: PC Windows 11
User avatar
Oleg
Site Admin
Posts: 14022
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Z-Mod crashes when exporting prefabs.

Post by Oleg »

does this happen on some imported prefabs or you've created your own prefab in ZModeler? if you have a small scene (z3d) file that causes crash on export, send me a download link, so I could check it.
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

Re: Z-Mod crashes when exporting prefabs.

Post by Harald-RS »

This happens when you have imported a prefab and then edited it.
Greetings
Harald
My System: PC Windows 11
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

Re: Z-Mod crashes when exporting prefabs.

Post by Harald-RS »

Hi Oleg is there anything new about prefab export?
Greetings
Harald
My System: PC Windows 11
User avatar
Oleg
Site Admin
Posts: 14022
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Z-Mod crashes when exporting prefabs.

Post by Oleg »

Hi.
I'm currently away from my dev computer. will be able to say something on june 22nd as earliest :(
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

Re: Z-Mod crashes when exporting prefabs.

Post by Harald-RS »

ok
Greetings
Harald
My System: PC Windows 11
User avatar
Oleg
Site Admin
Posts: 14022
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Z-Mod crashes when exporting prefabs.

Post by Oleg »

hi. may you send me a .z3d file with any edited prefab (perfectly, the simple one) that crashes on export?
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

Re: Z-Mod crashes when exporting prefabs.

Post by Harald-RS »

I have sent you 2 files in a PN message.
Greetings
Harald
My System: PC Windows 11
User avatar
Oleg
Site Admin
Posts: 14022
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Z-Mod crashes when exporting prefabs.

Post by Oleg »

Yup, sure, found them.
Fixed the issue, get an update.
Fazer001
Posts: 63
Joined: Sun Feb 26, 2017 5:49 am

Re: Z-Mod crashes when exporting prefabs.

Post by Fazer001 »

Ok, no crash..

Next try , but I'm not happy with that, Sorry....

but zmod still can't handle the ( material : "eut2.dif.spec.weight.weight.dif.spec.weight.tsnmapcalc )
viewtopic.php?f=25&t=13715

import:
Missing shader adaptation for material : "eut2.dif.spec.weight.weight.dif.spec.weight.tsnmapcalc
Material States is empty and no texture is loaded.....

Manual load or replace ( material, texture ) does not work and brings nothing....

export:
Uknown shader adaptation in material, dropping down to "dif"

Image

Zmod export mat: aeb713feee88a747
material : "eut2.dif.rfx" {
texture[0] : "/prefab/oil_storage/dirt_2_512.tobj"
texture_name[0] : "texture_base"
diffuse : { 1 , 1 , 1 }
specular : { 0.0313726 , 0.0313726 , 0.0313726 }
shininess : 12
tint : { 1 , 1 , 1 }
add_ambient : 0
substance : "road"

}

SCS mat: aeb713feee88a747
material : "eut2.dif.spec.weight.weight.dif.spec.weight.tsnmapcalc.tg0.tg1.rfx" {
texture[0] : "/material/terrain/dirt_2_512.tobj"
texture_name[0] : "texture_base"
texture[1] : "/material/terrain/dirt_2_512_nrm.tobj"
texture_name[1] : "texture_nmap"
texture[2] : "/material/terrain/asphalt_tiles_eu_01.tobj"
texture_name[2] : "texture_over"
texture[3] : "/material/terrain/asphalt_tiles_eu_01_nrm.tobj"
texture_name[3] : "texture_nmap_over"
add_ambient : 0
aux[0] : { 8 , 8 }
aux[1] : { 8 , 8 }
aux[3] : { 1 , 1 , 1 , 20 }
diffuse : { 1 , 1 , 1 }
reflection : 0
reflection2 : 0
shininess : 12
specular : { 0.0331048 , 0.0331048 , 0.0331048 }
substance : "road"
}
Fazer001
Posts: 63
Joined: Sun Feb 26, 2017 5:49 am

Re: Z-Mod crashes when exporting prefabs.

Post by Fazer001 »

@Oleg
will this be fixed now or not
User avatar
Oleg
Site Admin
Posts: 14022
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Z-Mod crashes when exporting prefabs.

Post by Oleg »

most likely it will.
User avatar
Oleg
Site Admin
Posts: 14022
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Z-Mod crashes when exporting prefabs.

Post by Oleg »

what is "tsnmapcalc" ? can you specify a model name (file) and a screenshot from game how this material look on it.
I can't test anything in game currently (export), but I can extract require files from game (to check an import).

"tsnmap" is generally a bump-map texture, but "tsnmapcalc" looks like something that shader calculates additionally to bump-mapping.
User avatar
Oleg
Site Admin
Posts: 14022
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Z-Mod crashes when exporting prefabs.

Post by Oleg »

@Fazer001,

There was an update just now related to materials import/export. It also includes import/export of particular shader you've specified above.
taller_venezuela
Posts: 1
Joined: Fri Sep 30, 2022 8:35 pm

Re: Z-Mod crashes when exporting prefabs.

Post by taller_venezuela »

Friend I have a problem with my prefab, I export normally and it opens correctly in ets2 but the gps does not mark me
User avatar
Oleg
Site Admin
Posts: 14022
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Z-Mod crashes when exporting prefabs.

Post by Oleg »

Is this an issue with original game's prefab that was imported/exported or you have a problem with your own prefab?
Post Reply