Giter Club home page Giter Club logo

minimap_renderer's Introduction

Minimap Renderer

Tests

Minimap Renderer parses World of Warships replays to create a timelapse video that resembles the in-game minimap.

enter image description here

Try it on in Google Colab

Installation

  1. Install Python 3.10
  2. Create a Python virtual environment and activate it.
    • Linux
       python3.10 -m venv venv && . venv/bin/activate
      
    • Windows
       py -3.10 -m venv venv && venv\Scripts\activate.bat
      
    • You should now see (venv) at the start of the command prompt.
  3. Install the renderer package. To install the renderer package use this command.
    pip install --upgrade --force-reinstall git+https://github.com/WoWs-Builder-Team/minimap_renderer.git
    
  4. You're all set.

Usage

Replays can be rendered with render module. The full usage is:

python -m render --replay <replay_path>

This will create a .mp4 file from your replay file.

Since the renderer is installed to a virtual environment, you need to activate it once before you render. Once activated, you can render any replay file as long as it is a valid replay file.

License

This project is licensed under the GNU AGPLv3 License.

Credits and Links

  • This project is maintained by @notyourfather#7816 and @Trackpad#1234.

  • However, it would not have been possible without Monstrofil's replays_unpack!

  • A minimal Discord bot wrapper is available here.

  • One with additional features is available here.

minimap_renderer's People

Contributors

imkindaprogrammermyself avatar hellofinch 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.