Was meant fs_device_open() called with invalid path

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

Was meant fs_device_open() called with invalid path

Post by Harald-RS »

What is the reason for this error?

I have looked through everything in my mod.

According to the SCS forum, it should be the skin / colour.

Code: Select all

00:00:21.353 : <ERROR> [fs] fs_device_open() called with invalid path '' (expected absolute path, starting with slash).
00:00:21.353 : <ERROR> [ld] Failed to open ''.
Greetings
Harald
My System: PC Windows 11
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Was meant fs_device_open() called with invalid path

Post by Oleg »

a reference to material file or to a .tobj file (or to a .dds file inside .tobj) does not contain correct path. Each path must start with / symbol. Most likely you had incorrect material's group name or texture's group name specified in materials / textures browser.
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

Re: Was meant fs_device_open() called with invalid path

Post by Harald-RS »

I had already thought of that, so I asked again in the SCS Forum.

Here are the Post: https://forum.scssoft.com/viewtopic.php ... 4#p1793584

Edit:

I just heard from someone that it's the UV mapping.

Would it not be possible for Z-Mod to automatically create the UV1 mapping if none is available?
Last edited by Harald-RS on Wed Mar 01, 2023 8:48 pm, edited 1 time in total.
Greetings
Harald
My System: PC Windows 11
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Was meant fs_device_open() called with invalid path

Post by Oleg »

Harald-RS wrote: Wed Mar 01, 2023 1:35 pm Would it not be possible for Z-Mod to automatically create the UV1 mapping if none is available?
if I'm not mistaken, ZModeler will write 0,0 UV point if not assigned on a vertex. This (or any other) should not be significant on export. However, it will not create/write any UV if an object has no UV channels in it. In general, it is your responsibility to maintain objects with proper uv channels for material you assign on them, at least in terms of the main UV#1. UV#2 and UV#3 are copied from UV#1 on export if respective channels are required but missing.
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

Re: Was meant fs_device_open() called with invalid path

Post by Harald-RS »

Dotec found other Errors on my Truckmodel:

Code: Select all

<ERROR> [fs] fs_device_open() called with invalid path '' (expected absolute path, starting with slash).
<ERROR> [resource_task] Can not open ''
<ERROR> [fs] fs_device_open() called with invalid path '.pmg' (expected absolute path, starting with slash).
<ERROR> [resource_task] Can not open '.pmg'
<ERROR> [model] Model descriptor '' is malformed.
<ERROR> [model] Model geometry '.pmg' is malformed.
<ERROR> [fs] fs_device_open() called with invalid path '' (expected absolute path, starting with slash).
<ERROR> [ld] Failed to open ''.
Its was made with Z-Mod 3.3 Beta
Greetings
Harald
My System: PC Windows 11
User avatar
Oleg
Site Admin
Posts: 14045
Joined: Fri Feb 06, 2004 3:54 am
Contact:

Re: Was meant fs_device_open() called with invalid path

Post by Oleg »

can you attach your .pmd file? Also, the log says it can't open ".pmg" file - unnamed pmg file?? The pmd file does not refer to pmg file by name, they are named identically. it looks like the game can't open (find?) .pmd file and as a result can't open (find) .pmg file. I would suggest to check whether your model files are in proper locations and not empty. the model files PMD is referred from .sii files, so check whether they refer to correct location of pmd file.

there were no changes that would affect pmg/pmd creaction. there were changes related to "mod folder" and "base folder" selections, but they do not affect the actual model generation. these could affect paths to .mat files inside .pmd, but this does not look your case.
User avatar
Harald-RS
Beginner
Posts: 332
Joined: Sun Oct 21, 2012 8:08 am
Location: Treuchtlingen / Germany

Re: Was meant fs_device_open() called with invalid path

Post by Harald-RS »

Were are found the Problem the Anim.pmg was missing.
Greetings
Harald
My System: PC Windows 11
Post Reply