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
Automated JSON API based communication with Fronius Symo

PyFronius - a very basic Fronius python bridge A package that connects to a Fronius device in the local network and provides data that is provided via

Niels Mündler 10 Dec 30, 2022
THE BEST INSTAGRAM AUTO LIKER GET MORE FOLLOWERS WITH THIS AUTOMATION

Hi 👋 , I'm Anandhu Ashok Developer making awesome things for awesome people 🚀 Connect with me: THE BEST INSTAGRAM AUTO LIKER GET MORE FOLLOWERS WITH

Anandhu Ashok 3 Jul 26, 2022
Construindo API's robustas utilizando Python

🐂 Construindo API's robustas utilizando Python Neste tutorial vamos aprender a construir API's utilizando Python e FastAPI, integrá-las a serviços ex

luizalabs 296 Dec 13, 2022
This is a open source discord bot project

pythonDiscordBot This is a open source discord bot project #based on the MAX A video: https://www.youtube.com/watch?v=jHZlvRr9KxM Prerequisites Python

Edson Holanda Teixeira Junior 3 Oct 11, 2021
An EmbedBuilder in Python for discord.py embeds. Pip Module.

Discord.py-MaxEmbeds An EmbedBuilder for Discord bots in Python. You need discord.py to use this module. Installation Step 1 First you have to install

Max Tischberger 6 Jan 13, 2022
You can submit any PR and have SWAGS. Happy Hacktoberfest !

Excluded project Repository 🔴 🔴 🔴 - PR limit is reached. Please use another Repository Hacktoberfest 2021 🎉 🗣 Hacktoberfest encourages participat

Hansajith 63 Oct 21, 2022
E-Commerce Telegram Bot for UCA Students

ucaStudentStore To buy from and sell to other students Features Register the first time, after that you will always be recognised You can login either

Shukur Sabzaliev 5 Jun 26, 2022
Charged's cogs for Red!

Light-Cogs Charged's cogs for Red! Read below for more information. Features and Cogs TechInfo Lots of commands helping you and your devices! Extended

Charged 2 Jan 07, 2022
Bot Auto Chess.com

Bot Auto Chess.com Is a suggestion for chess moves on the chess.com platform. The available features are: chess suggestions and moves automatically. i

Tn. Ninja 34 Jan 01, 2023
Telegram bot that let's you flip a coin in a dialog

coin_flip Telegram bot that let's you flip a coin in a dialog Report issue · Request feature About Software development tool that lets you finally dec

Ivan Akostelov 2 Dec 12, 2021
Companion "receiver" to matrix-appservice-webhooks for [matrix].

Matrix Webhook Receiver Companion "receiver" to matrix-appservice-webhooks for [matrix]. The purpose of this app is to listen for generic webhook mess

Kim Brose 13 Sep 29, 2022
A CLI tool to transfer, sync, and backup playlists on music streaming services

unitunes A command-line interface tool to manage playlists across music streaming services. Introduction unitunes manages playlists across streaming s

Victor Tao 50 Jan 07, 2023
Automatic SystemVerilog linting in github actions with the help of Verible

Verible Lint Action Usage See action.yml This is a GitHub Action used to lint Verilog and SystemVerilog source files and comment erroneous lines of co

CHIPS Alliance 10 Dec 26, 2022
Discord Bot for server hosts, devs, and admins. Analyzes timings reports & uploads text files to hastebin. Developed by https://birdflop.com.

"Botflop" Click here to invite Botflop to your server. Current abilities Analyze timings reports Paste a timings report to review an in-depth descript

Purpur 76 Dec 31, 2022
NewpaperNews-API - Json data of the news with python

NewsAPI API Documentation BASE_URL = "https://saurav.tech/NewsAPI/" top_headline

Aryaman Prakash 2 Sep 23, 2022
Heroku app to explore boardgame data

A Dashboard for the Board Game Geeks among us Link to Application As many Board Game Geeks like myself track the scores of board game matches I decide

Maarten Grootendorst 20 Nov 23, 2022
An instagram bot developed in Python with Selenium that helps you get more Instagram followers.

instabot An instagram bot developed in Python with Selenium that helps you get more Instagram followers. Install You’ll need to have: Python Selenium

65 Nov 22, 2022
Py hec token mgr - Create HEC tokens in Cribl Stream through the API

Add HEC tokens via API calls This script is intended as an example of how to aut

Jon Rust 3 Mar 04, 2022
Updated version of A discord token/password grabber thats grabs all of their tokens, passwords, credit card + alot more

Updated version of A discord token/password grabber thats grabs all of their tokens, passwords, credit card + alot more

Rdimo 556 Aug 05, 2022
Bendford analysis of Ethereum transaction

Bendford analysis of Ethereum transaction The python script script.py extract from already downloaded archive file the ethereum transaction. The value

sleepy ramen 2 Dec 18, 2021