Skip to content

sergey-belikov/screp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screp

Build Status GoDoc Go Report Card

StarCraft: Brood War replay parser.

Initially this parser was developed as part of the repMastered project (the initial history can be found there), but was outsourced here as a separate project.

The package is designed to be used by other packages or apps, and is safe for concurrent use. There is also an example CLI app that can be used standalone.

Parses both "modern" (starting from 1.18) and "legacy" (pre 1.18) replays.

Check out the sister project to parse StarCraft II replays: s2prot

Using the screp CLI app

There is a command line application in the cmd/screp folder which can be used to parse and display information about a single replay file.

The extracted data is displayed using JSON representation.

Usage is as simple as:

screp [FLAGS] repfile.rep

Run with -h to see a list of available flags.

Example to parse a file called sample.rep, and display replay header (included by default) and basic map data info (without tiles and resource location info):

s2prot -map=true sample.SC2Relay

Or simply:

s2prot -map sample.SC2Relay

About

StarCraft - Brood War replay parser

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 98.2%
  • Shell 1.8%