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
Acc-discord-rpc - Assetto Corsa Competizione Discord Rich Presence Client

A simple Assetto Corsa Competizione Rich Presence client. This app only works in

null 6 Dec 18, 2022
Discord Rich Presence implementation for Plex.

Perplex Perplex is a Discord Rich Presence implementation for Plex. Features Modern and beautiful Rich Presence for both movies and TV shows The Movie

Ethan 52 Dec 19, 2022
Unofficial Discord Rich Presence for HackTheBox platform

HTBRichPresence Unofficial Discord Rich Presence for HackTheBox platform The project is under lazy development. How to run Install requirements: // I'

Antonio 4 Apr 19, 2022
OpenEmu Discord Rich Presence provided with Python!

A simple application that provides your current OpenEmu game as an RPC state in Discord via PyPresence. How to use Unzip and open the latest x86_64 ve

Deltaion Lee 6 May 30, 2022
A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studying.

Studying RPC Description A custom Discord Rich Presence to display when you're studying so you're stupid friends won't disturb you when you're studyin

John Edmerson Pizarra 4 Nov 19, 2022
Discord Rich Presence for Team Fortress 2

TF2 Rich Presence Discord Rich Presence for Team Fortress 2 Detects current game state, queue info, playtime, and more Configurable, reliable, and per

Kataiser 33 Dec 31, 2022
Rich presence app for playstation 3. Display what game you are playing on the PS3 via Discord

PS3-Rich-Presence-for-Discord Discord Rich Presence script for PS3 consoles on HFW&HEN or CFW. Written in Python. Display what you are playing on your

null 17 Dec 11, 2022
Discord bot that shows valorant your daily store by using the Ingame API

Valorant store checker - Discord Bot Discord bot that shows valorant your daily store by using the Ingame API. written using Python and the Pycord lib

STACIA 226 Jan 2, 2023
With this simple app you can customize your presence in Discord.

Discord Rich Presence This a simple console app which can customize your Discord Presence easily, with only one config file! Setup Go to Discord Devel

Mai 1 Jan 6, 2022
VALORANT rank yoinker lets you retrieve the ranks and basic informations of everyone in the lobby, regardless of gamemode.

vRY VALORANT rank yoinker Retrieve the rank and basic information of everyone in the lobby, regardless of gamemode. Table of Contents Terms of Use Abo

Isaac Kenyon 270 Dec 30, 2022
A tool written in Python used to instalock agents in VALORANT using the local API.

Valorant Instalock Tool v2.1.0 by Mr. SOSA A tool written in Python used to instalock agents in VALORANT using the local API. This is NOT a hotkey pro

Mr. SOSA 3 Nov 18, 2021
An API wrapper for Henrik's Unofficial VALORANT API

ValorantAPI.py An API wrapper for Henrik's Unofficial VALORANT API Warning!! This project is still in beta and only contains barely anything yet. If y

Jakkaphat Chalermphanaphan 0 Feb 4, 2022
A modern, easy to use, feature-rich, and async ready API wrapper improved and revived from original discord.py.

A Python API wrapper that is improved and revived from the original discord.py

Orion 19 Nov 6, 2021
A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async and await

Senpai Development 4 Nov 5, 2021
A modern,feature-rich, and async ready API wrapper for Discord written in Python

discord.io A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using asyn

Vincent 18 Jan 2, 2023
Low-level, feature rich and easy to use discord python wrapper

PWRCord Low-level, feature rich and easy to use discord python wrapper Important Note: At this point, this library API is considered unstable and can

MIguel Lopes 1 Dec 26, 2021
A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python.

disfork A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. Key Features Modern Pythonic API using async a

null 2 Feb 9, 2022
It's a Discord bot to control your PC using your Discord Channel or using Reco: Discord PC Remote Controller App.

Reco PC Server Reco PC Server is a cross platform PC Controller Discord Bot which is a modified and improved version of Chimera for Reco-Discord PC Re

Arvinth Krishna 12 Aug 31, 2022
A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py)

Articuno (discord-interactions) A small and fun Discord Bot that is written in Python and discord-interactions (with discord.py) Get started If you wa

Blue 8 Dec 26, 2022