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
Fastest Tiktok Username checker on site.

Tiktok Username Checker Fastest Tiktok Username checker on site

sql 3 Jun 19, 2021
Auto-updater for the Northstar Titanfall 2 client

northstar-updater Auto-updater for the Northstar Titanfall 2 client Usage Put the exe into your Titanfall 2 directory next to Titanfall2.exe Then, whe

7 Nov 25, 2022
🤖 A fully featured, easy to use Python wrapper for the Walmart Open API

Wapy Wapy is a fully featured Python wrapper for the Walmart Open API. Features Easy to use, object oriented interface to the Walmart Open API. (Produ

Carlos Roso 43 Oct 14, 2022
Upvotes and karma for Discord: Heart 💗 or Crush 💔 a comment to give points to an user, or Star ⭐ it to add it to the Best Of!

🤖 Reto Reto is a community-oriented Discord bot, featuring a karma system, a way to reward the best comments, leaderboards, and so much more! React t

Erik Bianco Vera 3 May 07, 2022
An API wrapper around Discord API written in Python

Diskord This library is a maintained fork of now archived library, discord.py. A modern and easy to use API wrapper around Discord API written in Pyth

Diskord 36 Aug 22, 2022
Script for downloading Coursera.org videos and naming them.

Coursera Downloader Coursera Downloader Introduction Features Disclaimer Installation instructions Recommended installation method for all Operating S

Coursera Downloader 9k Jan 02, 2023
scrape tiktok/douyin video list from specific user or keyword

get-tiktok-user-video-list scrape tiktok/douyin video list from specific user or keyword 以**https://www.douyin.com/user/MS4wLjABAAAAUpIowEL3ygUAahQB47

wanghaisheng 4 Jul 06, 2022
Tinkoff social pulse api wrapper

Tinkoff social pulse api wrapper

Semenov Artur 9 Dec 20, 2022
WaifuGen - A program made in waifuGen that generates SFW and NSFW waifus from the waifu.pics API

waifuGen A program made in waifuGen that generates SFW and NSFW waifus from the

1 Jan 05, 2022
Бот - Гуль для твоего телеграм аккаунта

Я - Гуль (бот), теперь работает в чатах Отблагодарить автора за проделанную работу можно здесь Помощь с установкой тут Установка на Андроид После уста

57 Nov 06, 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 library that allows you to easily mock out tests based on AWS infrastructure.

Moto - Mock AWS Services Install $ pip install moto[ec2,s3,all] In a nutshell Moto is a library that allows your tests to easily mock out AWS Services

Steve Pulec 6.5k Jan 02, 2023
This bot is created by AJTimePyro and It accepts direct downloading url & then return file as telegram file.

URL Uploader Bot This is the source code of URL Uploader Bot. And the developer of this bot is AJTimePyro, His Telegram Channel & Group. You can use t

Abhijeet 23 Nov 13, 2022
👨‍💼Linkedin API for Python

linkedin_api 👨‍💼 Linkedin API for Python No "official" API access required - just use a valid Linkedin account! Programmatically send messages, get

Tom Quirk 918 Dec 29, 2022
Implement backup and recovery with AWS Backup across your AWS Organizations using a CI/CD pipeline (AWS CodePipeline).

Backup and Recovery with AWS Backup This repository provides you with a management and deployment solution for implementing Backup and Recovery with A

AWS Samples 8 Nov 22, 2022
Simple Discord Nuke Bot.

Discord-Nuke-Bot Simple Discord Nuke Bot. Simple Discord Nuke Bot Python 3.6 - 3.8 Features Delete Channels Ban All Members Delete Roles Create Channe

9X4N 6 Aug 16, 2022
A solution designed to extract, transform and load Chicago crime data from an RDS instance to other services in AWS.

This project is intended to implement a solution designed to extract, transform and load Chicago crime data from an RDS instance to other services in AWS.

Yesaswi Avula 1 Feb 04, 2022
🐍 Mnemonic code for generating deterministic keys, BIP39

python-mnemonic 🐍 Mnemonic code for generating deterministic keys, BIP39 Installation To install this library and its dependencies use: pip install m

9 Dec 22, 2022
An API wrapper for Discord written in Python.

disnake A modern, easy to use, feature-rich, and async ready API wrapper for Discord written in Python. About disnake All the contributors and develop

557 Jan 05, 2023
wrapper for facebook messenger

pyfacebook pyfacebook library for python. Requirements common Help Got a question? File a GitHub issue. Contributing Bug Reports & Feature Requests Pl

Luis Mayta 3 Nov 12, 2021