rattletrap 0.1.1 → 0.1.2
raw patch · 4 files changed
+22/−16 lines, 4 filesdep ~rattletrapPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: rattletrap
API changes (from Hackage documentation)
Files
- README.markdown +16/−10
- library/Rattletrap/Data.hs +2/−3
- rattletrap.cabal +3/−3
- test/Test.hs +1/−0
README.markdown view
@@ -8,10 +8,20 @@ ## Install -Rattletrap does not yet offer compiled binaries for download. To install it,-first install [Stack][]. Then download or clone this repository and run-`stack --install-ghc install`.+Get Rattletrap by downloading and unpacking [the latest release][] for your+platform. +To build Rattletrap from source, install [Stack][]. Then download this+repository and run `stack --install-ghc install`.++## Replays++Rocket League saves your replays in a folder that depends on your operating system.++- Windows: `%UserProfile%\Documents\My Games\Rocket League\TAGame\Demos`+- macOS: `$HOME/Library/Application Support/Rocket League/TAGame/Demos`+- Linux: `$HOME/.local/share/Rocket League/TAGame/Demos`+ ## Parse Rattletrap can parse (decode) Rocket League replays and output them as JSON.@@ -24,13 +34,8 @@ > rattletrap.decode < input.replay > output.json ``` -The resulting JSON is minified, but extremely large. A 4.3 MB replay file turns-into a 123 MB JSON file. To easily view the file, use a JSON pretty printer and-a pager. For example:--``` sh-> cat output.json | python -m json.tool | less-```+The resulting JSON is minified, but extremely large. The output can be up to 50+times larger than the input. ## Generate @@ -66,4 +71,5 @@ [Build badge]: https://travis-ci.org/tfausak/rattletrap.svg?branch=master [build]: https://travis-ci.org/tfausak/rattletrap [Rocket League]: https://www.rocketleaguegame.com+[the latest release]: https://github.com/tfausak/rattletrap/releases/latest [Stack]: https://docs.haskellstack.org/en/stable/README/
library/Rattletrap/Data.hs view
@@ -41,7 +41,7 @@ , ("TAGame.SpecialPickup_BallGravity_TA", "TAGame.SpecialPickup_TA") , ("TAGame.SpecialPickup_BallLasso_TA", "TAGame.SpecialPickup_GrapplingHook_TA") , ("TAGame.SpecialPickup_BallVelcro_TA", "TAGame.SpecialPickup_TA")- -- , ("TAGame.SpecialPickup_Batarang_TA", "TAGame.SpecialPickup_BallLasso_TA")+ , ("TAGame.SpecialPickup_Batarang_TA", "TAGame.SpecialPickup_BallLasso_TA") , ("TAGame.SpecialPickup_BoostOverride_TA", "TAGame.SpecialPickup_Targeted_TA") , ("TAGame.SpecialPickup_GrapplingHook_TA", "TAGame.SpecialPickup_Targeted_TA") , ("TAGame.SpecialPickup_HitForce_TA", "TAGame.SpecialPickup_TA")@@ -125,7 +125,7 @@ , ("Archetypes.SpecialPickups.SpecialPickup_BallLasso", "TAGame.SpecialPickup_BallLasso_TA") , ("Archetypes.SpecialPickups.SpecialPickup_BallSpring", "TAGame.SpecialPickup_BallCarSpring_TA") , ("Archetypes.SpecialPickups.SpecialPickup_BallVelcro", "TAGame.SpecialPickup_BallVelcro_TA")- -- , ("Archetypes.SpecialPickups.SpecialPickup_Batarang", "TAGame.SpecialPickup_Batarang_TA")+ , ("Archetypes.SpecialPickups.SpecialPickup_Batarang", "TAGame.SpecialPickup_Batarang_TA") , ("Archetypes.SpecialPickups.SpecialPickup_BoostOverride", "TAGame.SpecialPickup_BoostOverride_TA") , ("Archetypes.SpecialPickups.SpecialPickup_CarSpring", "TAGame.SpecialPickup_BallCarSpring_TA") , ("Archetypes.SpecialPickups.SpecialPickup_GravityWell", "TAGame.SpecialPickup_BallGravity_TA")@@ -139,7 +139,6 @@ , ("GameInfo_Items.GameInfo.GameInfo_Items:GameReplicationInfoArchetype", "TAGame.GRI_TA") , ("GameInfo_Season.GameInfo.GameInfo_Season:GameReplicationInfoArchetype", "TAGame.GRI_TA") , ("GameInfo_Soccar.GameInfo.GameInfo_Soccar:GameReplicationInfoArchetype", "TAGame.GRI_TA")- -- , ("TAGame.CameraSettingsActor_TA:PRI", "TAGame.CameraSettingsActor_TA") , ("TAGame.Default__CameraSettingsActor_TA", "TAGame.CameraSettingsActor_TA") , ("TAGame.Default__PRI_TA", "TAGame.PRI_TA") , ("TAGame.Default__VoteActor_TA", "TAGame.VoteActor_TA")
rattletrap.cabal view
@@ -1,5 +1,5 @@ name: rattletrap-version: 0.1.1+version: 0.1.2 cabal-version: >=1.10 build-type: Simple license: MIT@@ -114,7 +114,7 @@ base >=4.9.0.0 && <4.10, binary >=0.8.3.0 && <0.9, bytestring >=0.10.8.1 && <0.11,- rattletrap >=0.1.1 && <0.2,+ rattletrap >=0.1.2 && <0.2, template-haskell >=2.11.0.0 && <2.12 default-language: Haskell2010 hs-source-dirs: executable@@ -139,7 +139,7 @@ binary >=0.8.3.0 && <0.9, bytestring >=0.10.8.1 && <0.11, filepath >=1.4.1.0 && <1.5,- rattletrap >=0.1.1 && <0.2,+ rattletrap >=0.1.2 && <0.2, tasty >=0.11.0.4 && <0.12, tasty-hspec >=1.1.3 && <1.2 default-language: Haskell2010
test/Test.hs view
@@ -56,6 +56,7 @@ , ("372DBFCA4BDB340E4357B6BD43032802", "a camera yaw attribute") , ("387F059C47C09E253C875CA990EFD9F2", "a frozen attribute") , ("3EA147DD485B8DD24810689A7A989E44", "a custom team name")+ , ("40D831074157F4C843EA6CBFE0A88140", "a batarang") , ("4126861E477F4A03DE2A4080374D7908", "a game mode after Neo Tokyo") , ("42F0D8DA4FC89AE7B80FCAB7F637A8EA", "reservations after Neo Tokyo") , ("504ED825482186E771FAA9B642CE5CE4", "some messages")