Giter Site home page Giter Site logo

terminatornl / burger Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tktech/burger

0.0 0.0 0.0 602 KB

A simple tool for picking out information from the minecraft JARs, primarily useful for developers.

License: MIT License

Python 100.00%

burger's Introduction

Burger

Burger is a "framework" for automatically extracting data from the Minecraft game for the purpose of writing the protocol specification, interoperability, and other neat uses.

The Idea

Burger is made up of toppings, which can provide and satisfy simple dependencies, and which can be run all-together or just a few specifically. Each topping is then aggregated by munch.py into the whole and output as a JSON dictionary.

Usage

The simplest way to use Burger is to pass the -d or --download flag, which will download the specified minecraft client for you. This option can be specified multiple times. The downloaded jar will be saved in the working directory, and if it already exists the existing verison will be used.

$ python munch.py --download 1.13.2

To download the latest snapshot, -D or --download-latest can be used.

$ python munch.py -D

Alternatively, you can specify the client JAR by passing it as an argument.

$ python munch.py 1.8.jar

You can redirect the output from the default stdout by passing -o <path> or --output <path>. This is useful when combined with verbose output (-v or --verbose) so that the output doesn't go into the file.

$ python munch.py -D --output output.json

You can see what toppings are available by passing -l or --list.

$ python munch.py --list

You can also run specific toppings by passing a comma-delimited list to -t or --toppings. If a topping cannot be used because it's missing a dependency, it will output an error telling you what also needs to be included. Toppings will generally automatically load their dependencies, however.

$ python munch.py -D --toppings language,stats

The above example would only extract the language information, as well as the stats and achievements (both part of stats).

burger's People

Contributors

amund211 avatar dalbothek avatar deathcap avatar mostawesomedude avatar pdelvo avatar pokechu22 avatar tktech 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.