GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ValveResourceFormat/DumpSource2: Application that offline dumps Source 2 schema bindings and convars/commands for GameTracking purposes.

BranchesTags
Open more actions menu

Latest commit

 

History

207 Commits
207 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmake
cmake
 
 
src/main
src/main
 
 
vendor
vendor
 
 
.clang-format
.clang-format
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
AGENTS.md
AGENTS.md
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 

Repository files navigation

DumpSource2

A C++ Application that offline dumps schema bindings, convars/commands, entities, interfaces, logging channels and module metadata for GameTracking purposes.

See this file in GameTracking on how its used.

Usage

Each game has its own build: DumpSource2-CS2, DumpSource2-DOTA and DumpSource2-DEADLOCK. Run it from the game's game/bin/win64 folder (game/bin/linuxsteamrt64 on Linux).

DumpSource2-CS2 <output path>

  • output path - absolute or relative path to an existing folder where output should be stored

Set the LOGLEVEL environment variable (like LOGLEVEL=debug) for more logging.

Output

  • schemas/ - schema classes and enums as headers, per module
  • schemas.json - schemas, convars, commands and entities for SchemaExplorer
  • convars.txt, commands.txt - convars and commands with their flags and help, convars also with their default, range and enum
  • entities/ - entity classes as FGD with their keys, components, inputs and outputs, per module, and datamaps no entity class has as unused base classes (inputs and outputs only on Windows)
  • interfaces.txt - interfaces exposed by each module
  • logging_channels.txt - logging channels with their defaults
  • module_metadata/ - metadata of each module as text, a file per section: Pulse bindings and fingerprints, resource manifests and tool bind targets. Sections that other dumps have are left out, and anything not written as text goes to unhandled.json (Windows only, modules have none on Linux)
  • network/ - networked classes and fields of client and server, which the schemas no longer have as metadata
  • .stringsignore - names that GameTracking removes from its strings dumps

If anything fails to dump, it exits with code 1 and schemas.json is not written.

For CS2, convars and commands that workshop maps can use are flagged in schemas.json when csgo/pak01_dir/scripts/workshop_cvar_whitelist.txt is extracted from the game's VPK.

Compilation

Windows

cmake -B build
cmake --build build --config Release

Or open the folder in Visual Studio.

Linux

cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

SDK Configuration

Each game target is built with build_game(GAME, GAME_PATH, SDK) in src/main/CMakeLists.txt. The third argument selects which HL2SDK from vendor/ to link against. Games update more often than the SDKs, so it may be necessary to switch to another game's SDK.

About

Application that offline dumps Source 2 schema bindings and convars/commands for GameTracking purposes.

s2v.app/SchemaExplorer/

Topics

source-2source2valve

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

32 stars

Watchers

5 watching

Forks

12 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.