Complicated ERROR in trailer mod

TobiasB
Posts: 14
Joined: 15 Apr 2019 17:42

Complicated ERROR in trailer mod

#1 Post by TobiasB » 18 Apr 2021 17:27

Hello,

I've been building an owned trailer for ETS2 for a while now, but I quit due to an error which I couldn't solve. When clicking the trailer brand logo in the trailer dealer the game crashes, presumably because t can't load the model, and crashes. I looked through the log and besides the AO error and minor warnings I believe only this could be the cause, because I haven't seen it before and because it's the last ERROR.

00:01:12.938 : <ERROR> d:\buildbot\slaves\win_slave\final_build_ets2_140_windows_bin_steam_x64\build\prism\src\models\model\model_template.cpp(628): ?cache_data_handler@model_template_u@prism@@UEAAXXZ: Failed to load model descriptor (.pmd) or model geometry (.pmg) for '/vehicle/trailer_owned/nooteboom/ovb4803v.pmg'.

Alternatively it could be this ERROR, although I'm pretty confident it doesn't cause the game to crash.

00:03:58.382 : <ERROR> [mem] The resource '/vehicle/trailer_owned/nooteboom/ovb4803v.pmd' type 'model_coll' does not match the expected 'model_desc'!


I'm eager to get back to developing this trailer so any help is appreciated!


-TobiasB
Attachments
game.log.txt
(77.23 KiB) Downloaded 14 times

User avatar
Reinhard
Posts: 5353
Joined: 20 Dec 2012 16:46
Location: Nimby, District of Berlin

Re: Complicated ERROR in trailer mod

#2 Post by Reinhard » 18 Apr 2021 17:44

TobiasB wrote:
18 Apr 2021 17:27
Failed to load model descriptor (.pmd) or model geometry (.pmg) for '/vehicle/trailer_owned/nooteboom/ovb4803v.pmg'.
That simply means your definition files are telling the game that the PMD/PMG is to be found at that exact location. While it isn't.

TobiasB
Posts: 14
Joined: 15 Apr 2019 17:42

Re: Complicated ERROR in trailer mod

#3 Post by TobiasB » 18 Apr 2021 17:57

So why does the game crash? I checked the files, and the PMD, PMG and PMC are there.

User avatar
Reinhard
Posts: 5353
Joined: 20 Dec 2012 16:46
Location: Nimby, District of Berlin

Re: Complicated ERROR in trailer mod

#4 Post by Reinhard » 19 Apr 2021 07:18

If the game says they aren't there then they aren't there. Maybe a typo in a file name or definition?

BTW, you should always show a full log.

TobiasB
Posts: 14
Joined: 15 Apr 2019 17:42

Re: Complicated ERROR in trailer mod

#5 Post by TobiasB » 19 Apr 2021 11:53

I checked the files, no typos in the def and trailer_owned files were found. Exporting the model changes nothing and the pmd/pmc/pmg names are the samen as the root name.
This is the full log.

User avatar
Madkine
Global moderator
Posts: 4544
Joined: 08 Oct 2018 16:35
Location: Australia
Contact:

Re: Complicated ERROR in trailer mod

#6 Post by Madkine » 19 Apr 2021 12:06

The lines before that one are also important, namely the version errors. Try using up to date file formats.

TobiasB
Posts: 14
Joined: 15 Apr 2019 17:42

Re: Complicated ERROR in trailer mod

#7 Post by TobiasB » 19 Apr 2021 17:41

I solved some minor errors (like the tobj files) but it looks like the PMD, PMC and PMG are the wrong version, which is why the PRISM3D engine doesn't detect them. The question now is: How do I correct the version? I use Blender with Converterpixwrapper and Blendertools, with both Converterpixwrapper and Blendertools updated to the latest version (compatible with Blender 2.81) and Blender is upgraded to version 2.81. After upgrading those three I re exported the 3d models, which didn't solve it. I also updated conversion tools to the latest version.

Included is a new game log after I fixed some minor problems.
Attachments
game.log.txt
Full game log
(67.56 KiB) Downloaded 7 times

User avatar
Reinhard
Posts: 5353
Joined: 20 Dec 2012 16:46
Location: Nimby, District of Berlin

Re: Complicated ERROR in trailer mod

#8 Post by Reinhard » 19 Apr 2021 17:48

Code: Select all

00:00:43.931 : <ERROR> [model] Model collision '/vehicle/trailer_owned/nooteboom/ovb4803v.pmd' has incorrect file version 4 - expected version 6
00:00:43.932 : <ERROR> [model] Model collision '/vehicle/trailer_owned/nooteboom/ovb4803v.pmd' has incorrect file version 4 - expected version 6
This is weird. Because version 4 is indeed the correct PMD version. That never changed since the first release of the game.

User avatar
xXCARL1992Xx
Posts: 13512
Joined: 17 Aug 2016 12:18
Contact:

Re: Complicated ERROR in trailer mod

#9 Post by xXCARL1992Xx » 19 Apr 2021 17:54

why are you trying to load the collision with a geometry file ?, you need a .pmc file for collision and not .pmd, ofc the game will freak out when it finds a file with version 4 that should be 6 and crashes
Image
| !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | World of Trucks Profil |

TobiasB
Posts: 14
Joined: 15 Apr 2019 17:42

Re: Complicated ERROR in trailer mod

#10 Post by TobiasB » 19 Apr 2021 18:05

I just build the model and let blender tools/converterpixwrapper/conversiontools do all that stuff for me, I have no idea how to influence that.

Post Reply

Return to “Help center - player to player”

Who is online

Users browsing this forum: No registered users and 7 guests