openra 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +21 -13
- data/README.md +14 -1
- data/lib/openra/cli/commands/replay_data.rb +2 -2
- data/lib/openra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b648bef069d1c0a709f510f889703f24d4a6d043
|
|
4
|
+
data.tar.gz: efedb97d0a81eb63694cedc2f50672e82be71257
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 41a705ad37119d25f18d3c5387ffb25b0e36b80d8818e55d8e0c251fe051600de56ed14c21659d93599df2b61fe4483c97fe120f1a74c12701acbd0ca6713178
|
|
7
|
+
data.tar.gz: bfe0e10cfdb0292540a3c6adf90d0873012fe5a843050845bf26348d9e2b8f60afbe2aa1a1d69f8b8be4b716cb58fac4088a944644bebf34a7ce2cefda20fca7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
## Unreleased
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
### Fixed
|
|
4
|
+
|
|
5
|
+
* [replay-data] Output timestamps in ISO8601 (thanks to [dragunoff](https://github.com/dragunoff)) ([AMHOL](https://github.com/AMHOL))
|
|
6
|
+
|
|
7
|
+
[Compare v1.3.0...HEAD](https://github.com/AMHOL/openra-ruby/compare/v1.3.0...HEAD)
|
|
8
|
+
|
|
9
|
+
## v1.3.0
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
4
12
|
|
|
5
13
|
* [replay-data] Fix client IP by making it omittable ([AMHOL](https://github.com/AMHOL))
|
|
6
14
|
* [replay-data] utf8 encode chat names ([AMHOL](https://github.com/AMHOL))
|
|
7
15
|
|
|
8
|
-
[Compare v1.2.0...
|
|
16
|
+
[Compare v1.2.0...v1.3.0](https://github.com/AMHOL/openra-ruby/compare/v1.2.0...v1.3.0)
|
|
9
17
|
|
|
10
18
|
## v1.2.0
|
|
11
19
|
|
|
12
|
-
|
|
20
|
+
### Fixed
|
|
13
21
|
|
|
14
22
|
* [replay-data] Use SyncLobbyClients to get chat names ([AMHOL](https://github.com/AMHOL))
|
|
15
23
|
* [replay-data] Make client IP optional in client struct (fixes parsing replays with bots) ([AMHOL](https://github.com/AMHOL))
|
|
@@ -18,7 +26,7 @@
|
|
|
18
26
|
|
|
19
27
|
## v1.1.0
|
|
20
28
|
|
|
21
|
-
|
|
29
|
+
### Fixed
|
|
22
30
|
|
|
23
31
|
* [replay-data] Make chat messages show name at time of message ([AMHOL](https://github.com/AMHOL))
|
|
24
32
|
* [replay-data] Only include clients present at game start ([AMHOL](https://github.com/AMHOL))
|
|
@@ -27,22 +35,22 @@
|
|
|
27
35
|
|
|
28
36
|
## v1.0.1
|
|
29
37
|
|
|
30
|
-
|
|
38
|
+
### Fixed
|
|
31
39
|
|
|
32
|
-
* [core] Add bundler as a runtime dependency (thanks to
|
|
40
|
+
* [core] Add bundler as a runtime dependency (thanks to [dragunoff](https://github.com/dragunoff)) ([AMHOL](https://github.com/AMHOL))
|
|
33
41
|
* [replay-data] Fixed the game "type" field (by updating it to use players rather than clients array) ([AMHOL](https://github.com/AMHOL))
|
|
34
42
|
|
|
35
43
|
[Compare v1.0.0...v1.0.1](https://github.com/AMHOL/openra-ruby/compare/v1.0.0...v1.0.1)
|
|
36
44
|
|
|
37
45
|
## v1.0.0
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
### Added
|
|
40
48
|
|
|
41
49
|
* [core] Clean up internals with structs and better abstractions ([AMHOL](https://github.com/AMHOL))
|
|
42
50
|
* [replay-data] Added duration struct to game output (formatted/msec) ([AMHOL](https://github.com/AMHOL))
|
|
43
51
|
* [replay-data] Added support for YAML output format ([AMHOL](https://github.com/AMHOL))
|
|
44
52
|
|
|
45
|
-
|
|
53
|
+
### Removed
|
|
46
54
|
|
|
47
55
|
* [replay-data] Removed duration (seconds) field from game output ([AMHOL](https://github.com/AMHOL))
|
|
48
56
|
|
|
@@ -50,7 +58,7 @@
|
|
|
50
58
|
|
|
51
59
|
## v0.3.0
|
|
52
60
|
|
|
53
|
-
|
|
61
|
+
### Fixed
|
|
54
62
|
|
|
55
63
|
* [replay-data] Fix "type" output when no teams set ([AMHOL](https://github.com/AMHOL))
|
|
56
64
|
* [replay-data] Fix error uninitialized constant Openra::CLI::Commands::ReplayData::SecureRandom ([AMHOL](https://github.com/AMHOL))
|
|
@@ -59,12 +67,12 @@
|
|
|
59
67
|
|
|
60
68
|
## v0.2.0
|
|
61
69
|
|
|
62
|
-
|
|
70
|
+
### Added
|
|
63
71
|
|
|
64
72
|
* [replay-data] Show chosen and actual faction ([AMHOL](https://github.com/AMHOL))
|
|
65
73
|
* [replay-data] Add spawn point info
|
|
66
74
|
|
|
67
|
-
|
|
75
|
+
### Fixed
|
|
68
76
|
|
|
69
77
|
* [replay-data] Fetch team from replay metadata players hash ([AMHOL](https://github.com/AMHOL))
|
|
70
78
|
|
|
@@ -72,12 +80,12 @@
|
|
|
72
80
|
|
|
73
81
|
## v0.1.0
|
|
74
82
|
|
|
75
|
-
|
|
83
|
+
### Added
|
|
76
84
|
|
|
77
85
|
* Include server and team chat messages in replay data ([AMHOL](https://github.com/AMHOL))
|
|
78
86
|
* Include is_winner replay data client output ([AMHOL](https://github.com/AMHOL))
|
|
79
87
|
|
|
80
|
-
|
|
88
|
+
### Fixed
|
|
81
89
|
|
|
82
90
|
* Return `null` for client team in replay data when team is not set ([AMHOL](https://github.com/AMHOL))
|
|
83
91
|
|
data/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# OpenRA Rubygem
|
|
2
2
|
|
|
3
|
+
Unofficial gem for [OpenRA](https://openra.net); a free, open-source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C#
|
|
4
|
+
|
|
5
|
+
Currently the only operation implemented by this gem is to parse and extract data from replay files, if this is not what you're looking for, please see the [Other tools](#other-tools) section, perhaps what you need has already been implemented elsewhere.
|
|
3
6
|
|
|
4
7
|
### Installation
|
|
5
8
|
```sh
|
|
@@ -18,3 +21,13 @@ gem update openra
|
|
|
18
21
|
```sh
|
|
19
22
|
openra replay-data /payh/to/replay.orarep [--format json|pretty-json|yaml]
|
|
20
23
|
```
|
|
24
|
+
|
|
25
|
+
### Other tools
|
|
26
|
+
|
|
27
|
+
* [OpenRA Replay Analytics](https://dragunoff.github.io/OpenRA-replay-analytics/)
|
|
28
|
+
|
|
29
|
+
A web visualisation tool created by [dragunoff](https://github.com/dragunoff), designed to work with this gem, enter the output from the `replay-data` command with the `json` or `pretty-json` format to see a visualisation of the replay, including game information, clients and build orders.
|
|
30
|
+
|
|
31
|
+
* [openrareplay gem](https://rubygems.org/gems/openrareplay)
|
|
32
|
+
|
|
33
|
+
Created by [spanglel](https://github.com/spanglel), a gem designed to strip extraneous data from [OpenRA](https://openra.net) replay files, see the [readme](https://github.com/spanglel/OpenRAReplay) for [installation](https://github.com/spanglel/OpenRAReplay#installation) and [usage](https://github.com/spanglel/OpenRAReplay#usage) instructions.
|
|
@@ -32,8 +32,8 @@ module Openra
|
|
|
32
32
|
hash[player.team] += 1
|
|
33
33
|
end
|
|
34
34
|
}.values.join('v'),
|
|
35
|
-
start_time: replay.metadata.start_time,
|
|
36
|
-
end_time: replay.metadata.end_time,
|
|
35
|
+
start_time: replay.metadata.start_time.iso8601,
|
|
36
|
+
end_time: replay.metadata.end_time.iso8601,
|
|
37
37
|
duration: time((replay.metadata.end_time - replay.metadata.start_time) * 1000),
|
|
38
38
|
options: {
|
|
39
39
|
explored_map: replay.game_options.explored_map_enabled.value,
|
data/lib/openra/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: openra
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andy Holland
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-07-
|
|
11
|
+
date: 2018-07-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|