Discord rich-presence implementation for VALORANT

Overview

not working on v1 anymore in favor of v2, but if there's any big bugs i'll try to fix them

valorant-rich-presence-client

Discord rich presence extension for VALORANT

Jump to updating

Installation

Following these instructions will result in the program automatically launching with VALORANT

NOTE: Upon downloading, your browser might mark the file as dangerous, but this is a false-positive and can be ignored (all the code is open-source)

Part 1: Creating a folder for the executable

  1. Create a folder for the extension; this folder should be stored somewhere safe where it will not be moved
    • it is recommended to create a folder in C:\Program Files\ called "valorant-rpc"
  2. Move the executable to the folder created in step 1

NOTE: Antivirus/Windows Defender might mark the executable as a potentially unwanted app, this is a false-positive

Windows Defender: Select Allow on device and Start actions to allow the extension to run

  1. Copy the path to the executable for a later step
    • if the folder was made under "C:\Program Files\valorant-rpc", the path would be "C:\Program Files\valorant-rpc\valorant-rpc.exe"

Part 2: Changing the VALORANT launch target

  1. Locate the VALORANT shortcut

    • if you typically launch from your desktop, locate the VALORANT icon
    • if you typically launch from the search bar, search for VALORANT and open the file location
  2. Right click on the shortcut/icon, then select Properties

image

  1. In the Target box, paste the path to valorant-rpc.exe from part 1, step 3, then select Apply

image

  1. Launch VALORANT! The console will appear and launch the game, then minimize to the system tray.

Updating

  1. Navigate to the folder created in part 1, step 3 of installation
  2. Delete the old valorant-rpc.exe and replace it with the new executable

NOTE: Antivirus might flag the new executable as malware; follow the same steps outlined in part 1, step 2 of installation

Comments
  • consistent menu presences

    consistent menu presences

    competitive lobbies should now show rank throughout queue/pregame states and when away instead of only when idle (plus I think it looks overall nicer)

    opened by janinhasz 5
  • Pls Help

    Pls Help


    | | / / _ | / / / __ / _ / _ | / |/ /_ /________ ____ | |/ / __ |/ // /_/ / , / __ |/ / / / // / _ / / |// |//_//|// |//|/ // // / ./_/ // v3.2.1

    attempting to autodetect region the program encountered an error: please create an issue with the traceback below if this problem persists Traceback (most recent call last): File "valclient\client.py", line 907, in __get_lockfile FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\Brick\AppData\Local\Riot Games\Riot Client\Config\lockfile'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "valclient\client.py", line 73, in activate File "valclient\client.py", line 912, in __get_lockfile valclient.exceptions.LockfileError: Lockfile not found

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "main.py", line 19, in File "src\startup.py", line 50, in init File "src\startup.py", line 159, in check_region File "valclient\client.py", line 82, in activate valclient.exceptions.HandshakeError: Unable to activate; is VALORANT running? press enter to exit...

    opened by Brick0-0 4
  • Error 13 Permission denied

    Error 13 Permission denied

    Traceback (most recent call last): File "main.py", line 19, in File "src\startup.py", line 32, in init File "src\utilities\program_data.py", line 22, in update_file_location File "src\utilities\program_data.py", line 36, in modify_isntalls PermissionError: [Errno 13] Permission denied: 'C:\ProgramData\valorant-tools\installs.json'

    opened by zLxisFX 4
  • Error in Range

    Error in Range

    the program encountered an error: please create an issue with the traceback below if this problem persists
    Traceback (most recent call last):
      File "src\presence\presence.py", line 35, in main_loop
      File "src\presence\presence.py", line 65, in update_presence
      File "src\presence\presences\ingame.py", line 18, in presence
      File "src\presence\presences\ingame_presences\range.py", line 18, in __init__
    ValueError: not enough values to unpack (expected 2, got 0)
    press enter to exit...
    

    This happens when i go in range

    bug 
    opened by BearTS 4
  • Riot authentication error

    Riot authentication error

    Program won't authenticate with riot. Also getting script execution errors when going into agent select. [!] could not authenticate with Riot for enhanced presence, check username/password!

    opened by HarvsoDev 4
  • Updated readme

    Updated readme

    Some people (including me) can't use the RPC because they don't have a lockfile. I updated this readme because I figured out that the lockfile only exists when Valorant is running so on first time use you need to start Valorant and then the RPC

    opened by shimizu-izumi 3
  • error while Valorant is running in the background

    error while Valorant is running in the background

    Traceback (most recent call last): File "pypresence\baseclient.py", line 102, in read_output File "asyncio\streams.py", line 621, in read File "asyncio\proactor_events.py", line 370, in _loop_writing File "asyncio\windows_events.py", line 474, in send BrokenPipeError: [WinError 232] Die Pipe wird gerade geschlossen

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "src\presence\presence.py", line 35, in main_loop File "src\presence\presence.py", line 65, in update_presence File "src\presence\presences\menu.py", line 10, in presence File "src\presence\presences\menu_presences\default.py", line 9, in presence File "src\presence\presences\menu_presences\away.py", line 10, in presence File "pypresence\presence.py", line 34, in update File "asyncio\base_events.py", line 579, in run_until_complete File "pypresence\baseclient.py", line 106, in read_output pypresence.exceptions.InvalidID: Client ID is Invalid

    image

    opened by Dreamtrailtv 3
  • error that happens every so often

    error that happens every so often

     _   _____   __   ____  ___  ___   _  ________
    | | / / _ | / /  / __ \/ _ \/ _ | / |/ /_  __/__________  ____
    | |/ / __ |/ /__/ /_/ / , _/ __ |/    / / / /___/ __/ _ \/ __/
    |___/_/ |_/____/\____/_/|_/_/ |_/_/|_/ /_/     /_/ / .__/\__/
                                                      /_/ v3.1.0
    
    program startup successful, hiding window in 5 seconds
    
    presence running!
    the program encountered an error: please create an issue with the traceback below if this problem persists
    Traceback (most recent call last):
      File "src\presence\presence.py", line 35, in main_loop
      File "src\presence\presence.py", line 65, in update_presence
      File "src\presence\presences\pregame.py", line 9, in presence
      File "valclient\client.py", line 599, in pregame_fetch_player
      File "valclient\client.py", line 101, in fetch
      File "valclient\client.py", line 93, in __verify_status_code
    valclient.exceptions.PhaseError: You are not in a pre-game
    press enter to exit...
    
    opened by PangwenE 3
  • Program encountered an error?

    Program encountered an error?

    Traceback (most recent call last): File "valclient\client.py", line 822, in __get_headers KeyError: 'subject'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "valclient\client.py", line 70, in activate File "valclient\client.py", line 838, in __get_headers Exception: Unable to get headers; is VALORANT running?

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "main.py", line 18, in File "src\startup.py", line 34, in init File "src\startup.py", line 132, in check_region File "valclient\client.py", line 78, in activate Exception: Unable to activate; is VALORANT running? press enter to exit...

    opened by coldxsin 3
  • failure to execute script main help please

    failure to execute script main help please

    hi everytime i'm trying to lunch the app this error shows up and the app closes its own please help me hear i like this app its happening from version 2.5

    opened by pokichu 3
  • RPC stops working after playing for about 20 mins

    RPC stops working after playing for about 20 mins

    I have Valorant installed in my D drive and I typically start Valorant using RPC. RPC will work at first, but then after about 15-20 minutes it stops working.

    opened by EllairaX 1
  • Option to start Discord if it's not already running

    Option to start Discord if it's not already running

    Sometimes after a restart, Discord isn't launched when I run the program. This can be due to it updating and not having the pipe available yet, or it may simply not be launched. I think the program should:

    • Wait a few moments if the Discord updater or Discord is found but the pipe isn't ready yet
    • Occasionally re-scan for Discord and attempt to re-establish the pipe if it isn't present (this could be a config option if performance is an issue)
    enhancement 
    opened by NatCubed 2
Releases(v3.2.2)
Owner
colinh
16, i dabble in python
colinh
ServiceX DID Finder Girder

ServiceX_DID_Finder_Girder Access datasets for ServiceX from yt Hub Finding datasets This DID finder is designed to take a collection id (https://gird

1 Dec 07, 2021
Hcl.py is an Amino client for Python

Hcl.py Hcl.py Hcl.py is an Amino client for Python. It provides to access aminoapps Web, app and socket servers. Developed BY Kapidev And Upgraded BY

Oustex 3 Dec 02, 2021
Polars-fun - Example notebooks for how to use pola.rs

polars-fun Polars is an awesome Rust DataFrame library with Python language bindings. This repo makes it easy to run Polars code on your local machine

Matthew Powers 2 Jun 28, 2022
Pancakeswap Sniper Bot GUI Uniswap Matic 2022 (WINDOWS LINUX MAC) AUTO BUY TOKEN ON LAUNCH AFTER ADD LIQUIDITY

Pancakeswap Sniper Bot GUI Uniswap Matic 2022 (WINDOWS LINUX MAC) ⭐️ AUTO BUY TOKEN ON LAUNCH AFTER ADD LIQUIDITY ⭐️ ⭐️ First GUI SNIPER BOT for WINDO

Crypto Trader 1 Jan 05, 2022
A simple telegram bot to recognize lengthy voice files to text and vice versa with multiple language support.

Voicebot A simple Telegram bot to convert lengthy voice clips to text and vice versa with supporting languages. Mandatory Variables API_HASH - Yo

Renjith Mangal 12 Oct 21, 2022
Design and build a wrapper for the Open Weather API current weather data service

Design and build a wrapper for the Open Weather API current weather data service that returns a city's temperature, with caching, also allowing for the temperature of the latest queried cities that a

Duan Rafael Ribeiro 1 Jun 27, 2022
Ein PY-Skript, mit dem tiled-Editor-Maps bearbeitet werden

tilesetCopyrighter Ein PY-Skript, mit dem tiled-Editor-Maps bearbeitet werden können fügt je Tileset eine custom-Property tilesetCopyright (string) hi

1 Dec 26, 2021
GTK3-based panel for sway window manager

nwg-panel I have been using sway since 2019 and find it the most comfortable working environment, but... Have you ever missed all the graphical bells

Piotr Miller 290 Jan 07, 2023
Get random jokes bapack2 on telegram

Jokes Bapack2 Telegram Bot Get random jokes bapack2 from jokes-bapack2-api on telegram bot Screenshot Requirements python pip pipenv python-telegram-b

Miftah Afina 2 Nov 17, 2021
An API wrapper for Discord written in Python.

HCord A fork of discord.py project. HCord is a modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Featu

HCord 0 Jul 30, 2022
A Python API to retrieve and read MLB GameDay data

mlbgame mlbgame is a Python API to retrieve and read MLB GameDay data. mlbgame works with real time data, getting information as games are being playe

Zach Panzarino 493 Dec 13, 2022
Python client for the Socrata Open Data API

sodapy sodapy is a python client for the Socrata Open Data API. Installation You can install with pip install sodapy. If you want to install from sour

Cristina 368 Dec 09, 2022
"zpool iostats" for humans; find the slow parts of your ZFS pool

Getting the gist of zfs statistics vpool-demo.mp4 The ZFS command "zpool iostat" provides a histogram listing of how often it takes to do things in pa

Chad 57 Oct 24, 2022
Decryption utility for PGP Whole Disk Encryption

wdepy: Decryption and Inspection for PGP WDE Disks This is a small python tool to inspect and decrypt disk images encrypted with PGP Whole Disk Encryp

Brendan Dolan-Gavitt 17 Oct 07, 2022
Salmanul Farisx Bot With Python

Salman_Farisx_Bot How To Deploy Video Subscribe YouTube Channel Added Features Imdb posters for autofilter. Imdb rating for autofilter. Custom caption

1 Dec 23, 2021
A discord bot can stress ip addresses with python tool

Python-ddos-bot Coded by Lamp#1442 A discord bot can stress ip addresses with python tool. Warning! DOS or DDOS is illegal, i shared for educational p

IrgyGANS 1 Nov 16, 2021
Group Management Bot

❤️ 𝗦𝗛𝗔𝗗𝗜𝗬𝗢 ❤️ A Powerful, Smart And Advance Group Manager ... Written with AioGram , Pyrogram and Telethon... ⭐️ Thanks to everyone who starred

Abdisamad Omar Mohamed 4 Dec 01, 2021
Python SDK for IEX Cloud

iexfinance Python SDK for IEX Cloud. Architecture mirrors that of the IEX Cloud API (and its documentation). An easy-to-use toolkit to obtain data for

Addison Lynch 640 Jan 07, 2023
Python bindings for LibreTranslate

Python bindings for LibreTranslate

Argos Open Tech 42 Jan 03, 2023
Auto Moderation is a powerfull moderation bot

Auto Moderation.py Auto Moderation a powerful Moderation Discord Bot 🎭 Futures Moderation Auto Moderation 🚀 Installation git clone https://github.co

G∙MAX 2 Apr 02, 2022