Releases: icza/screp
screp v1.5.1
screp v1.5.0
-
Added support for Korean encoding. Invalid UTF-8 strings are attempted to decode using EUC-KR (Code Page 949) encoding (f222ba0).
Duplicated the following fields with aRawprefix, so the original, undecoded data can also be accessed. These are not outputted by the command line tool:- In
Header:RawTitle,RawHost,RawMap - In
Player:RawName
- In
screp v1.4.1
- Improved scenario name and description parsing (82b2a9e)
screp v1.4.0
-
Scenario name and description are now parsed from map data and are added to
Replay.MapData(a9432e3). -
Added
AllianceCmdandVisionCmdcommands and their parameters are now parsed (c74e5c9). -
Added "observer" role detection, added it to
Player.Observer. Observers are now excluded fromHeader.Matchup(). -
Improved team detection in melee games based on alliance commands. This implies improved winner detection.
-
Improved EAPM algorithm.
-
Added
Duration2Frame()utility (a00cea0).
screp v1.3.1
-
Added
IneffKindtype and constants, andrep.CmdIneffKind()function to get the reason for being ineffective. -
Added
Base.IneffKindfield, so all commands now hold the ineffective kind. -
Added
PlayerDesc.Redundancy(). -
Some fixes in EAPM algorithm (34b6f4a)
screp v1.3.0
-
Finally EAPM has arrived! Computed player descriptions how include EAPM and number of effective commands. The heart of the EAPM algorithm is
rep.IsCmdEffective(). -
Improved winner detection by assigning teams in certain modes where it's not done by the SC engine (e.g. OneOnOne, melee with 2 players, FFA)
-
Fixed parsing non-standard map size (00795e3)
-
Added more constants for IDs, notably for
repcmd.Order, along with some utilities that test the kind of OrderID (e.g.IsOrderIDKindStop(),IsOrderIDKindAttack()etc.) -
Added utility
repcmd.RaceOfUnitID(). -
Other minor fixes and improvements.
screp v1.2.1
-
Fixed an error that occured when printing debug info about parse errors (c87b5be)
-
Fixed an runtime error in winner detection algorithmn (d540135)
-
Added a parser
ConfigandParseConfig()andParseFileConfig()functions (3f7ee36) which support obtaining basic debug info from replays -
Other minor fixes and optimizations.
screp v1.2.0
screp v1.1.3
- Fixed a rare map data parsing bug, see issue #17 for details.
screp v1.1.2
- Added support for some unknown and new command types (
Unload,TargetedOrder,RightClick,Select Add,Select Remove)