9.2
Optimized package viewer
The file tree is now created lazily, which vastly improves performance and memory usage on large VPKs.
For example, the Dota 2 pak01_dir.vpk contains 325k files (which also create 40k folders).
This VPK now opens 8 times faster, and consumes 3 times less memory.
This also makes closing the tab much faster as it no longer needs dispose every single tree node.
9.1 (Old) | 9.2 (New) |
---|---|
2.43 seconds | 0.29 seconds |
241mb memory (GC) | 74mb memory (GC) |
650mb memory (process) | 193mb memory (process) |
File previews
There is now a setting to preview files right from the package viewer,
including an option to autoplay sounds.
Selecting a file in the tree view will automatically load it in the right pane,
and selecting a folder will show the folder contents as it did before.
This may be slow for certain big files like models with many animations.
Preview-on-click feature can be enabled in settings.
GUI
- Added file previews
- Added an option to automatically open explorer on app start (if no arguments were provided)
- Package viewer tree list is now constructed lazily
- Enabled explorer theme in package viewer and disabled lines (this replaced the plus/minus buttons with arrows)
- Expanding a folder that contains a single folder will now automatically expand that folder for you
- Fixed a couple of issues which prevented Explorer from opening when Steam is not installed or libraries are missing
- Fixed enviroment blending on certain community maps
- Fixed some default values being omitted in shader extract
CLI
- Added option
--gltf_export_extras
to export entity keyvalues as mesh.extras
Library
- Added support for new sound file format (Dota 2)
- Added
DotaVisualNovels
resource type - Fixed support for reading hitboxes in older models
- Added
GltfModelExporter.ExportExtras