dachidahu / ValveResourceFormat

:gun: Valve's Source 2 resource file format parser and decompiler

Home Page:https://steamdatabase.github.io/ValveResourceFormat/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Valve Resource Format

Build Status (Travis) Build Status (AppVeyor) ![Coverage Status](https://img.shields.io/coveralls/SteamDatabase/ValveResourceFormat.svg?label=Test Coverage&style=flat-square) NuGet

Valve's Source 2 resource file format (also known as Stupid Valve Format) parser and decompiler. Contents of this repository are available under MIT license.

Interested in helping? Jump in #steamdb on freenode and ask away!

This repository is split into three components:

  • CLI Decompiler - File viewer, decompiler and a playground for testing new formats and features.
  • GUI Viewer - A complete mess of winforms and other fun things.
  • Library - The only sane part of this repository, provides public API.

What's supported?

  • Model viewer
  • Map viewer
  • Sound player
  • VPK viewer which supports opening and exporting files
  • Read only VPK API
  • Binary KeyValues3 parser
  • NTRO support

Supported resource types

Ext Name Support
vanim Animation No
vagrp Animation Group No
vseq Sequence Group No
vpcf Particle System πŸ‘ NTRO, KV3
vmat Material πŸ‘ NTRO
vmks Sheet No
vmesh Mesh Vertex and index buffers, vertex attributes
vtex Compiled Texture πŸ‘ RGBA8888, RGBA16161616F, DXT1, DXT5, PNG
vmdl Model Started
vphys Physics Collision Mesh No
vsnd Sound πŸ‘ wav, mp3
vmorf MorphSet No
vrman ResourceManifest πŸ‘
vwrld World πŸ‘
vwnod WorldNode πŸ‘
vvis WorldVisibility No
vents EntityLump No
vsurf Surface Properties No
vsndevts Sound Event Script No
vsndstck Sound Stack Script No
vrmap Resource Remap Table No
vcss Panorama Style πŸ‘
vxml Panorama Layout πŸ‘
vpdi Panorama Dynamic Images No
vjs Panorama Script πŸ‘
vpsf Particle Snapshot No
vmap Map πŸ‘
Ext Name Support
vpk Pak (package) Supported by Package
vcs Compiled Shader Partially supported by CompiledShader
vfont Bitmap Font Not in a resource format, it's "encrypted", has VFONT1 at the end of file

Not all formats are 100% supported, some parameters are still unknown and not fully understood.

Eye catchy screenshots

About

:gun: Valve's Source 2 resource file format parser and decompiler

https://steamdatabase.github.io/ValveResourceFormat/

License:MIT License


Languages

Language:C# 95.8%Language:GLSL 4.2%