craftablescience / VPKEdit

A CLI/GUI tool to create, read, and write several pack file formats.
https://developer.valvesoftware.com/wiki/VPKEdit
MIT License
251 stars 19 forks source link

Model viewer is missing #96

Closed ghost closed 9 months ago

ghost commented 9 months ago

Describe the Bug

When I try to open a .mdl file, the model viewing toolbar appears, but no model is shown, even when I change modes (for example to wireframe). VTF viewing works fine though.

To Reproduce

  1. Open VPKEdit
  2. Open a .mdl file inside my desired .vpk file
  3. where model!1!1!1!1! screenshot-0cff74bc

Operating System

Arch Linux, LXQt as desktop, VPKEdit latest release (not from the AUR)

craftablescience commented 9 months ago

The Linux build seems a bit cursed on non-Debian distros yikes

Going to make a separate issue for converting those top buttons to icons instead of Unicode characters

craftablescience commented 9 months ago

Also, have you checked the model isn't just offscreen?

ghost commented 9 months ago

Also, have you checked the model isn't just offscreen?

i have, it didn't work, i just moved my mouse around with no model popping up. also tried maximizing, it also didn't work

ghost commented 9 months ago

Going to make a separate issue for converting those top buttons to icons instead of Unicode characters

oh yeah all i see are squares

craftablescience commented 9 months ago

Also, have you checked the model isn't just offscreen?

i have, it didn't work, i just moved my mouse around with no model popping up. also tried maximizing, it also didn't work

The reason I ask is because c_hands are usually pretty far offset from the origin. If you could test a different model, like a regular prop, that would be fantastic

Either way this is an issue

ghost commented 9 months ago

The reason I ask is because c_hands are usually pretty far offset from the origin. If you could test a different model, like a regular prop, that would be fantastic

ok, i'll test it on a simpler model

ghost commented 9 months ago

screen i think the model i tested it on was either broken or didn't actually exist lol. it works on a model that actually works though. thanks for your patience and help!