mirror of
https://codeberg.org/icewind/vmdl.git
synced 2026-06-03 16:44:11 +02:00
Rust parser for source engine model files
- Rust 99.1%
- Nix 0.9%
When a fixed-length string field uses its entire buffer without a null terminator, treat the full buffer as valid content instead of erroring. This handles edge cases in some MDL files where string fields are completely filled. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .forgejo/workflows | ||
| benches | ||
| data | ||
| examples | ||
| fuzz | ||
| screenshots | ||
| src | ||
| tests | ||
| .envrc | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| README.md | ||
VMDL
Rust parser for source engine model files (.mdl, .vtx, .vvd)
Examples
All examples require the .mdl, .vvd and .dx90.vtx to be next to each other
and TF2 to be installed to load the texture data from.
Viewer
cargo run --release --example view <path-to-mdl>
Convert to gltf
cargo run --release --example gltf <path-to-mdl> <path-for-output-gtb>
