Source 2 Viewer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(List some features, Someone please fix nested list formatting!)
Line 4: Line 4:
[[File:Source2Viewer-00.png|480px|thumb|right|Viewing de_mirage from {{Cs2|4}}]]
[[File:Source2Viewer-00.png|480px|thumb|right|Viewing de_mirage from {{Cs2|4}}]]


'''{{VRF|4|nt=1}}''' is a powerful tool that allows you to browse {{ext|vpk|2}} archives, view, extract, and decompile {{source2|4}} assets, including maps, models, textures, shaders, sounds, and more.
'''{{VRF|4|nt=1}}''' is a powerful tool that allows you to browse {{ext|vpk|2}} archives, view, extract, and decompile {{source2|4}} game assets, including maps, models, textures, shaders, sounds, and more.


This application allows exporting maps and models to glTF format, decompile maps to {{Mono|.[[vmap]]}} for use in {{hammer5|4.1|nt=0}}, and models to {{modeldoc|4.1}} format.
Full list of features:
* 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:
    * Open {{ext|vpk|2}} Valve Package files (vpk file extension)
    * List Files in File Explorer-like TreeView, or ListView
        * Sort by file size
    * Extract files from package
    * Create archives from a folder on disk with a single click.
    * Support all vpk versions (including Source 1)


It also allows creating {{ext|vpk|2}} archives from a folder on disk with a single click.


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.
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.

Revision as of 06:44, 13 September 2025

English (en)中文 (zh)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

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.

Full list of features:

  • 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:
   * Open vpk Valve Package files (vpk file extension)
   * List Files in File Explorer-like TreeView, or ListView
       * Sort by file size
   * Extract files from package
   * Create archives from a folder on disk with a single click.
   * Support all vpk versions (including Source 1)


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.

Links

Official page: https://s2v.app

GitHub repository for Source 2 Viewer, Source 2 Viewer CLI, ValveResourceFormat: https://github.com/ValveResourceFormat/ValveResourceFormat

Features