Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pellegrino/s7-e3
Refinery - a SC2 Replay parser
https://github.com/pellegrino/s7-e3
Last synced: 3 months ago
JSON representation
Refinery - a SC2 Replay parser
- Host: GitHub
- URL: https://github.com/pellegrino/s7-e3
- Owner: pellegrino
- Created: 2011-05-16T20:17:27.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-05-26T14:02:11.000Z (over 13 years ago)
- Last Synced: 2024-07-20T03:48:44.978Z (4 months ago)
- Language: Ruby
- Homepage: https://github.com/pellegrino/s7-e3
- Size: 809 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SC2Refinery - RMU SESSION 7 EXERCISE 3
SC2 Replays extractor. This version extracts the name of both players,
as well as the map name where the match was played.## About the MPQ Format
The MPQ Format is an archive used at Blizzard replays. It is composed
of several binaries files. The project https://github.com/nolanw/mpq
is used to open up the archive.This project, currently, parses the "replay.details" file, extracting
Basic Player and Map information.## Usage
@replay = SC2Refinery.load("spec/fixtures/1v1-game1.sc2replay")puts @replay.first_player # pellegrino
puts @replay.second_player # DeusEx
puts @replay.map # Cavernas Xel'NagaFor more examples of usage, check spec/parser_spec.rb
## General information
This project relies on BinData (http://bindata.rubyforge.org/) to
create its structures used in parsing replay files.
The structures mapped at this project are in lib/sc2refinery/parsers/replay_details.## Links and documentation
https://github.com/nolanw/mpqhttps://github.com/ascendedguard/sc2replay-csharp/wiki/.sc2replay-overview
- from this link i took most of the information about the archive
needed to build this project.