cs2-vmap-tools

1.0.0 • Public • Published

CS2 VMap Tools

The CLI is written for Bun. The parseVmap library will work with either Bun or Node.

Decompilation

First, decompile your map with Source 2 Viewer. We only need the vmap file. vmap_c will NOT work.

Usage

Import the vmap file as a string. Call parseVMap with that string.

import parseVMap from 'cs2-vmap-tools';

const vmap = parseVMap(/* string here */)
bun cli.js --input=".\de_vertigo.vmap"

Installation

bun add cs2-vmap-tools

To-do

Callouts are entities now, as such to work out the dimensions I need to parse the model associated with them. The actual dimensions aren't stored in the vmap file.

Readme

Keywords

none

Package Sidebar

Install

npm i cs2-vmap-tools

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

19.5 kB

Total Files

7

Last publish

Collaborators

  • hjbdev