Giter Site home page Giter Site logo

btd6-rich-presence's Introduction

Bloons TD 6 Pseudo-Rich Presence

This rich presence will not work by itself.

Unfortunately, BTD6 does not have an easy way to find what map you are playing. This "Pseudo-Rich Presence" will allow you to pass arguments or use a gui for your current state and have that display on your profile.

Main Screenshot

Installation

First, clone the repository.

git clone https://www.github.com/yolodude25/btd6-rich-presence

Then, install the required modules

cd btd6-rich-presence
pip install -r requirements.txt

Config

The config allows you to change what is displayed on your rich presence.

Available Values

  • {map_image}: Image key of map. (e.g. "monkey_meadow")
  • {map_hf}: Name of map. (e.g. "Monkey Meadow")
  • {difficulty_hf}: Name of difficulty (e.g. "Easy")
  • {variation_image}: Difficulty variation key of map. (e.g. "deflation")
  • {variation_hf}: Name of difficulty variation (e.g. "Deflation")

Rich Presence

client-id

The client id of the Discord Application. Don't modify this unless you are using custom assets and know what you are doing.

CLI

Usage

Make a copy of config.ini.example and remove the .example, then edit it if you want.

Run presence.py with your arguments.

To exit the program just close the python script.

Arguments

-m, --map

Map you are playing.

Available Values

List of all maps can be found in assets.json

Notes

This argument uses fuzzy search, and you can type approximate map names and if they are close enough, it will recognize them.

-d, --difficulty

Difficulty you are playing at.

Available Values

easy, medium, hard

Notes

Cannot be used without --map being set.

-v, --variation

Difficulty variation.

Available Values

List of all variations can be found in assets.json.

The variation must be available for the selected difficulty.

Notes

Cannot be used without --difficulty being set.

This argument uses fuzzy search, and you can type approximate variation names and if they are close enough, it will recognize them.

-c, --coop

Number of players in your Co-Op game.

Available Values

1, 2, 3, 4

Notes

Cannot be used without --map being set.

GUI

Usage

Make a copy of config.ini.example and remove the .example, then edit it if you want.

Run `presence_gui.pyw.

Set the map and difficulty image, then click Update to display it.

To exit the program just close the window.

Examples

Monkey Meadow (Medium - Apopalypse)

CLI

python presence.py -m "Monkey Meadow" -d Medium -v Apopalypse

Rich Presence

Monkey Meadow (Medium - Apopalypse)

Cubism (Hard - Standard) (Co-Op)

CLI

python presence.py -m Cubism -d Hard -c 3

Rich Presence

Cubism (Hard - Standard) (Co-Op)

#Ouch

CLI

python presence.py -m #Ouch

Rich Presence

#Ouch

In Menu

CLI

python presence.py

Rich Presence

In Menu

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.