Skip to content

"mdl corrupted: header 2 misaligned or out of bounds" on MDL Import #189

Description

@Jraylor

Describe the bug:
On trying to import most of my SourceFilmmaker usermod .mdl's, I get an error saying could not import mld: model '[path directory]' mdl corrupted: header 2 misaligned or out of bounds

To Reproduce:

  1. Import a SourceFilmmaker model from the usermod directory.
  2. Error prints.

Expected behavior
Just let the model import per regular.

Related files
I think I'll be alright, it's just a .mdl file haha.

Logs

[Plumber] [INFO] opening file system of game `None`...
[Plumber] [INFO] file system opened in 0.00 s
[Plumber] [INFO] detected local asset searh path `C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod`
[Plumber] [INFO] importing mdl `C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\models\[model_path].mdl`...
[Plumber] [ERROR] model `C:\Program Files (x86)\Steam\steamapps\common\SourceFilmmaker\game\usermod\models\[model_path].mdl`: mdl corrupted: header 2 out of bounds or misaligned

Screenshots
If applicable, add screenshots to help explain your problem.

Details (please complete the following information):

  • OS: Windows 11
  • Blender Version: 4.2
  • Addon Version: 1.1.0
  • Did you download a release or build the addon yourself: Release
  • Related Game: SourceFilmmaker

Additional context
Nah.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplumber_coreChanges are needed in plumber_core in addition to this repo

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions