Coder Social home page Coder Social logo

andelee123 / valveresourceformat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from valveresourceformat/valveresourceformat

0.0 1.0 0.0 2.97 MB

๐Ÿ”ฌ Valve's Source 2 resource file format parser and decompiler

Home Page: https://vrf.steamdb.info

License: MIT License

C# 96.30% GLSL 3.70%

valveresourceformat's Introduction

VRF / Valve Resource Format

GitHub Workflow Status

Valve's Source 2 resource file format parser, decompiler, and exporter. Source 2 files usually files end with _c, for example .vmdl_c.

This repository is split into three components:

  • CLI Decompiler - File data viewer, decompiler and a playground for testing new formats and features.
  • GUI Viewer - A vpk archive viewer and extractor. Also supports viewing resources such as sounds, textures, models, maps, and much more.
  • Library - Provides public API to parse resource files and some helpers.

โš’ You can download latest unstable build from AppVeyor.

Chat

Prefer IRC? Join #steamdb-vrf on chat.freenode.net

Eye catchy screenshots

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

Why does VRF suck?

This tool is based entirely on a reverse engineered effort because Valve does not provide any documentation or Source 2 code (SDK or engine code), while the Source 1 SDK and leaked engine code are helpful, a lot of systems and formats have changed.

The code contained in this repository is based on countless hours of reverse engineering Source 2 games and not all intricate details have been figured out.

If you are interested in helping, take a look at the open issues.

Supported resource types

Ext Name Support
vanim Animation ๐Ÿ‘
vagrp Animation Group ๐Ÿ‘
vseq Sequence Group No
vpcf Particle System ๐Ÿ‘ NTRO, KV3
vmat Material ๐Ÿ‘ NTRO
vmks Sheet No
vmesh Mesh ๐Ÿ‘
vtex Compiled Texture ๐Ÿ‘ DXT1, DXT5, I8, RGBA8888, R16, RG1616, RGBA16161616, R16F, RG1616F, RGBA16161616F, R32F, RG3232F, RGB323232F, RGBA32323232F, BC6H, BC7, IA88, PNG, JPG, ETC2, ETC2_EAC, BGRA8888, ATI1N, ATI2N
vmdl Model ๐Ÿ‘
vphys Physics Collision Mesh No
vsnd Sound ๐Ÿ‘ wav, mp3
vmorf MorphSet No
vrman ResourceManifest ๐Ÿ‘
vwrld World ๐Ÿ‘
vwnod WorldNode ๐Ÿ‘
vvis WorldVisibility No
vents EntityLump ๐Ÿ‘
vsurf Surface Properties No
vsndevts Sound Event Script ๐Ÿ‘ KV1, ๐Ÿ‘Ž KV3
vsndstck Sound Stack Script ๐Ÿ‘ KV1, ๐Ÿ‘Ž KV3
vrmap Resource Remap Table No
vcss Panorama Style ๐Ÿ‘
vxml Panorama Layout ๐Ÿ‘
vpdi Panorama Dynamic Images No
vjs Panorama Script ๐Ÿ‘
vsvg Panorama Vector Graphic ๐Ÿ‘
vpsf Particle Snapshot No
vmap Map ๐Ÿ‘
ย  ย  ย 
vpk Pak (package) ๐Ÿ‘ Handled by ValvePak
vcs Compiled Shader โ“ Started work in CompiledShader, see #151
vfont Bitmap Font ๐Ÿ‘ Decrypts VFONT1, supported in Source 1 (CS:GO) and Source 2 (Dota 2).
dat Closed Captions ๐Ÿ‘ Handled by ClosedCaptions
bin Tools Asset Info ๐Ÿ‘ Partially handled by ToolsAssetInfo, see #226

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

License

Contents of this repository are available under MIT license, except for Tests/Files folder contains files which have likely come from Valve's games.

valveresourceformat's People

Contributors

xpaw avatar perryvw avatar marlamin avatar sinz163 avatar lewa-j avatar movexig avatar aveyo avatar babelshift avatar mattfiler avatar yaakov-h avatar ihatecsv avatar r2d2rigo avatar lonswaya avatar datguy1 avatar mdiller avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.