Download

Source 2 Viewer v0.2.1

Recovery of deleted files from VPK archives, ARM builds, a new decompiler for compiled shaders, and a separate tab for map entities.

CLI

  • Added arm/arm64 builds
  • Added --recursive_vpk option

GUI

  • Added support for recovering deleted files in vpk archives
  • Added support for embedded animations in vagrp
  • Added support for automatically finding bare files on disk when opening a model
  • Render entity lumps into a separate tab
  • Normalize line endings in text viewer
  • Do not crash when settings.txt fails to load

Library

  • New vcs (compiled shader) decompiler
  • Added entity I/O output in entity lump dump
  • Added Resource.FullFileSize to attempt to calculate full buffer size of a resource file
    • Metadata does have a file size, but it excludes sound and texture data
  • Added Texture.CalculateTextureDataSize method to return full texture buffer size
    • For block compressed textures this is as simple as summing up all mipmap level sizes
    • For PNG textures, it will check for a valid header and scan all the PNG chunks until the end
    • This does not work for JPEG files at the moment
  • Added verifyFileSize (default true) to Resource.Read to verify that the provided stream was fully consumed by VRF
  • Added vanmgrph, vcdlist, and vdata resource type auto detection
  • Added detection of resource type from singular input dependency in REDI
  • Skip weights that are not vec4 during glTF export
  • Fixed crash when determining file type from extensionless file name
  • Fixed crash with duplicate key names in SoundStackScriptValue
  • Fixed mipmap level calculation for small textures

View commits since 0.2.0 | View milestone

Thanks to