Source 2 Viewer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(List some features, Someone please fix nested list formatting!)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{LanguageBar}}
{{LanguageBar}}
{{Stub}}


[[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}}]]
Line 6: Line 5:
'''{{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.
'''{{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.


Full list of features:
GitHub repository: https://github.com/ValveResourceFormat/ValveResourceFormat
* 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)


Official site: [https://s2v.app s2v.app]


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.
== Features ==
 
== Links ==
Official page: '''https://s2v.app'''


GitHub repository for Source 2 Viewer, Source 2 Viewer CLI, ValveResourceFormat: '''https://github.com/ValveResourceFormat/ValveResourceFormat'''
* ✨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 renderer with Source 2-Like implementation using the [[OpenGL]] 4 API
                    * Reverse-engineered [[Physically Based Rendering|PBR]] shaders
                    * 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
            * glTF exporter for many resource types
                * Export Maps, Models, Physics, and Animations to glTF 2.0
                * Convert Source 2 material channels to glTF channels where possible
            * Content decompilers for many resource types
                * Produce editable assets for use in Source 2 Workshop Tools
                * Retain as much data as possible
                * Most notable decompilers:
                    * Maps (vmap_c -> [[vmap]])
                    * Models (vmdl_c -> [[vmdl]])
                    * Materials (vmat_c -> [[vmat]])
            * Support for all resource file versions (as early as 2014)
    * Packages
        * Read {{ext|vpk|2}} Valve Package files (vpk file extension)
        * List Files in TreeView, or ListView
            * Sort by file size
        * Extract files from package
        * Discover deleted files
        * Create new 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
        * TreeView for visualizing static and dynamic combos
        * Convert [[Vulkan]] bytecode (SPIRV) to user-friendly shading language
        * Support all publicly available file versions
    * Other file types
        * [[Nav|NavigationMesh]] (.nav), ToolsAssetInfo (.bin)
        * Support various image files (png, jpg, tga)
        * Support for viewing various files with text or binary content
        * Support for all [[KeyValues]], [[KeyValues2]], and [[KeyValues3]] formats
            * Convert binary keyvalues to text


== Features ==


<gallery perrow="2" widths="480px" heights="480px">
<gallery perrow="2" widths="480px" heights="480px">
Line 48: Line 67:
Source2Viewer-04.png|Use the command line utility
Source2Viewer-04.png|Use the command line utility
</gallery>
</gallery>
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.


{{sdktools/source2|0}}
{{sdktools/source2|0}}

Latest revision as of 03:44, 14 September 2025

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 renderer with Source 2-Like implementation using the OpenGL 4 API
                   * Reverse-engineered PBR shaders
                   * 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
           * glTF exporter for many resource types
               * Export Maps, Models, Physics, and Animations to glTF 2.0
               * Convert Source 2 material channels to glTF channels where possible
           * Content decompilers for many resource types
               * Produce editable assets for use in Source 2 Workshop Tools
               * Retain as much data as possible
               * Most notable decompilers:
                   * Maps (vmap_c -> vmap)
                   * Models (vmdl_c -> vmdl)
                   * Materials (vmat_c -> vmat)
           * Support for all resource file versions (as early as 2014)
   * Packages
       * Read vpk Valve Package files (vpk file extension)
       * List Files in TreeView, or ListView
           * Sort by file size
       * Extract files from package
       * Discover deleted files
       * Create new 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
       * TreeView for visualizing static and dynamic combos
       * Convert Vulkan bytecode (SPIRV) to user-friendly shading language
       * Support all publicly available file versions
   * Other file types
       * NavigationMesh (.nav), ToolsAssetInfo (.bin)
       * Support various image files (png, jpg, tga)
       * 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.