Its-Haze / league-rpc

Just a better Rich Presence for League of Legends. Showcasing Live Game Stats, Summoner Icons, Rank Emblems and Champion Skins on Discord.
GNU General Public License v3.0
27 stars 6 forks source link

App does not override League rich precense #24

Closed DereC4 closed 6 months ago

DereC4 commented 6 months ago

image

It looks like this doesn't show above the discord rich precense; any help?

Its-Haze commented 6 months ago

@DereC4 Yes. You can disable the native rich presence by doing this manually.

Assuming you're using Windows:

  1. Open Riot games client (not league)
  2. While it being open, and you're note logged in to league itself. Do the following
  3. Find your league plugins folder, and open the "plugin-manifest.json" file. example path: "C:\Riot Games\League of Legends\Plugins\plugin-manifest.json"
  4. Delete the block of json, holding the "rcp-be-lol-discord-rp" image
  5. Save the file
  6. Now from the Riot client, continue by starting league and logging in.

Native discord rpc should be disabled Until the next time you open up the league client.

I sort of have a way to automatically do this everytime you start my program, but the user must have the Riot client open.. A fix for that will eventually be rolled out.

DereC4 commented 6 months ago

kk

Its-Haze commented 6 months ago

@DereC4 After https://github.com/Its-Haze/league-rpc/pull/27 has been merged, and v2.0.0 has been released. The native league presence will automatically be disabled, if this application is launched before the league client.

Note that v2.0.0 expects the use of Windows, and no longer Linux.. Since that's not a supported platform for League of legends anymore. It does not mean that this project won't work on linux, it might.. I just won't test there and make sure it works.

So if you're on linux, keep using the version before v2.0.0. for as long as league works on linux.

DereC4 commented 6 months ago

neat!