Git Product home page Git Product logo

replaystudio's Introduction

ReplayStudio

About ReplayStudio

ReplayStudio is a library for manipulating replay files.

Replay files are basically packet dumps of the connection from the Minecraft Server to a Minecraft Client. These packet dumps contain all packets sent from the server to the client (except login phase). They may also contain additional packets added by the recording software in order to display the client whose connection is recorded.

Features

  • Loading / Saving replay files (including crash recovery)
  • Remove specific packets from the replay (chat, mobs, etc.)
  • Cut replays into parts
  • Concatenate replays or parts of replays
  • Squash specific parts of a replay into one moment removing redundant packets (e.g. removing the first 30m of a replay)
  • List amount of packets by type
  • Expandable through custom filters (in fact most of the above is implemented as a custom filter)
  • Pathing system used in the ReplayMod

Building

ReplayStudio is built using the Java Development Kit (Version 8) and Gradle.

You can then build ReplayStudio by using the command ./gradlew. You may also use a local installation of gradle.

If everything went well, the generated jar file should be in the build/libs directory ending with -all.jar. ReplayStudio will also be installed into your local maven repository if you want to use it in a project of yours.

Running

ReplayStudio packages its dependencies in the generated jar file, therefore you can just run the jar file without any extra preparations: java -jar replaystudio.jar. Append --help to show all available commands.

The command line arguments will probably be confusing and can be looked up on the GitHub wiki.

Replay studio does not yet implement a mechanism for loading filter e.g. from a separate folder so you have to add them to the classpath manually. This will be improved as soon as people actually have a need for it.

Documentation and Support

Javadocs can be generated using the ./gradlew javadoc command and can then be found in the build/docs/javadoc folder but they might be incomplete on some parts (especially the internal classes and methods) so looking at the code might be the best help.

When using ReplayStudio as a standalone application as well as a library have a look at the GitHub wiki for information on how to properly use it.

License

ReplayStudio is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See COPYING and COPYING.LESSER for more information. Note that parts of this library were originally provided under the (LGPL-compatible) license in LICENSE.legacy, this license only applies to the original portions (see git history) and not to any newly added or modified code.

replaystudio's People

Contributors

johni0702 avatar uss-shenzhou avatar natekfl avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.