Source 2 Viewer

From Valve Developer Community
Revision as of 14:46, 13 September 2025 by Kr (talk | contribs) (Improve feature outline)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
Viewing de_mirage from Counter-Strike 2 Counter-Strike 2

Source 2 Viewer Source 2 Viewer is a powerful tool that allows you to browse vpk archives, view, extract, and decompile Source 2 Source 2 game assets, including maps, models, textures, shaders, sounds, and more.

GitHub repository: https://github.com/ValveResourceFormat/ValveResourceFormat

Official site: s2v.app

Features

  • ✨Outline
   * Resources
       * Read Source 2 resource files (_c file extension)
           * View Resource Blocks in separate tabs
           * Decode data to user-friendly text representation
           * Interactive viewer for many resource types
               * 3D Renderer: Maps, Models, Physics, Particles
                   * Modern efficient renderer with Source 2-Like implementation using the latest OpenGL 4 API
                   * Physically Based Shading
                   * Debugging tools, visualizations
                   * WASD Camera Controls
               * Texture Viewer: Textures, Svgs
                   * Isolated view for: color channels, depth layers, and mips
                   * Perform decoding on GPU or CPU
                   * Rasterize SVG to image
                   * Ability to export exactly what is being displayed
                   * Zoom, Pan Controls
           * Support for all file versions (as early as 2014)
   * Packages
       * Read vpk Valve Package files (vpk file extension)
       * List Files in File Explorer-like TreeView, or ListView
           * Sort by file size
       * Extract files from package
       * Discover deleted files
       * Create archives from a folder on disk with a single click.
       * Support all vpk versions (including Source 1)
   * Shaders
       * Read Source 2 shader packages (vcs file extension)
       * Inspect shader metadata and bytecode
       * Convert Vulkan bytecode (SPIRV) to user-friendly shading language
       * Very wide file version support
   * Other file types
       * NavigationMesh (.nav), ToolsAssetInfo (.bin)
       * Support various image files
       * Support for viewing various files with text or binary content
       * Support for all KeyValues, KeyValues2, and KeyValues3 formats
           * Convert binary keyvalues to text


Source 2 Viewer is powered by the ValveResourceFormat .NET library (VRF). This library makes it easy for other developers to process Source 2 resource files with their own code.