csgoverview

command module
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2019 License: MIT Imports: 14 Imported by: 0

README

csgoverview - 2D Demoviewer

A 2D demo replay tool for Counter Strike: Global Offensive.

Package match povides a high-level parser you can use for your own demoviewer.

Current version is 0.4.1. Master branch is currently used for development.

GoDoc Go Report Card

Tools

Installation

Dependencies
Fedora
dnf install git golang SDL2-devel SDL2_gfx-devel SDL2_image-devel SDL2_ttf-devel
Ubuntu
sudo apt install git golang libsdl2-dev libsdl2-gfx-dev libsdl2-image-dev libsdl2-ttf-dev
Build

This project uses go modules. Make sure you have go version 1.12 or higher installed. Run go version to check.

git clone https://github.com/Linus4/csgoverview.git
cd csgoverview
go build
Get overviews

Use this repository (overviews directory) and copy the overviews that you need into the directory you cloned.

You can use other overviews as long as they are .jpg files and they match the naming pattern (e.g. de_nuke.jpg). Ideally, their size should be 1024x1024 pixels or larger.

More overviews are available here:

On Linux, you can convert images with convert image.png image.jpg if you have ImageMagick installed.

Usage

  1. you must be in the directory you cloned that contains the executable
  2. the font (liberationserif-regular.ttf) must be in the same directory as the executable
  3. the overview (e.g. de_nuke.jpg) must be in the same directory as the executable
./csgoverview [path to demo]
Keybinds
  • a -> 5 s backwards
  • d -> 5 s forwards
  • A -> 10 s backwards
  • D -> 10 s forwards
  • w -> hold to speed up 5 x
  • s -> hold to slow down to 0.5 x
  • q -> round backwards
  • e -> round forwards
  • Q -> to start of previous half
  • E -> to start of next half
  • space -> toggle pause

Screenshot 1 de_dust2

Screenshot 2 de_dust2

Screenshot 3 de_inferno

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package common contains types that are used throughout this project.
Package common contains types that are used throughout this project.
Package match contains a high-level parser for demos.
Package match contains a high-level parser for demos.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL