Skip to content

HEMTT crash when attempting to get JSON from Binarized P3D model #1143

@HayamiTatsuya

Description

@HayamiTatsuya

Tools (complete and add to the following information):

  • HEMTT: 1.18.0
  • Operating System: Windows

Description:
When inspecting binarized P3D models (such as the tbd_2b9_vasilek/scope.p3d), HEMTT will crash due to an invalid P3DType error:

$ hemtt utils p3d json scope.p3d output
ERROR panicked at bin\src\utils\p3d\json.rs:24:68:
Failed to read P3D: UnsupportedP3DType("ODOL")
Image

Steps to reproduce:

  1. Download and install TBD's 2B9 Vasilek Addon
  2. Navigate to the directory and unpack the PBO
  3. Navigate to @2B9 Vasilek/addons/tbd_2b9_vasilek/tbd_2b9_vasilek
  4. Attempt to get a JSON output of the P3D model
  5. Crash

Expected behavior:
The JSON output is created.

Logs:
N/A

Additional context:
Not my addon, I was just playing around with HEMTT commands on different addons & pbos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions