Skip to content

Ignore import model/texture failures? #5

@agaertner

Description

@agaertner

A certain model of mine fails because I believe it has ö ä ü in bone names.

Error log:

[...]
Writing 4 Animations:0..1..2..3..Done
Failed to create bone 'k÷rper'Failed to create bone 'fl³gel_rehtz'Failed to create bone 'fl³gel_links'Failed to create bone 'k÷rper01'Failed to create bone 'fl³gel_rehtz01'Failed to create bone 'fl³gel_links01'Failed to create bone 'k÷rper02'Failed to create bone 'fl³gel_rehtz02'Failed to create bone 'fl³gel_links02'Failed to create bone 'k÷rper03'Failed to create bone 'fl³gel_rehtz03'Failed to create bone 'fl³gel_links03'Failed to create bone 'k÷rper04'Failed to create bone 'fl³gel_rehtz04'Failed to create bone 'fl³gel_links04'Failed to create bone 'k÷rper05'Failed to create bone 'fl³gel_rehtz05'Failed to create bone 'fl³gel_links05'

---------------------------------------------------------
Encountered accessviolation.
Wrote minidump to cs_mdl_import_2024_0525_143731_0_accessviolation.mdmp
---------------------------------------------------------

Error running:
>>>cs_mdl_import -nop4  -i "F:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\csgo" -o "F:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\am_shoji" "models\pg_props\pg_park\pg_schmetterlinge.mdl"
Aborting

I have tried removing the model altogether but this results in the process just aborting (in hopes to just edit the erroring model out with the CS2 Editor.)

--------------------------------
- Running Command: cs_mdl_import -nop4  -i "F:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\csgo" -o "F:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\am_shoji" "models\pg_props\pg_park\pg_schmetterlinge.mdl"
--------------------------------
Creating device for graphics adapter 0 
No Input files found
Error running:
>>>cs_mdl_import -nop4  -i "F:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\csgo" -o "F:\Program Files\Steam\steamapps\common\Counter-Strike Global Offensive\content\csgo_addons\am_shoji" "models\pg_props\pg_park\pg_schmetterlinge.mdl"
Aborting

Is there any flag I can use to just ignore models which fail to import and continue with the rest? I do not have the original source files anymore (just the original *.vmf file). I could potentially edit the model out with the source 1 editor but I would like to avoid having to set it all up properly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions