Skip to content

Releases: Its-Haze/league-rpc

Release v1.0.3

15 Jan 22:30
98dca74
Compare
Choose a tag to compare

Welcome to another release of League-RPC-Linux!

What has changed?

  • Bugfix: Gathering base data. could freeze and cause league-rpc to not function.. this is because riot removed Arena from league, causing one small portion of the code to error out when the game mode Arena was not found. This has now been resolved.
  • Bugfix: When starting games, users could end up getting an Unhandled Gameflow Phase This is because the gameflow GameStart was not covered. Now it is... so basically when a game launches, the discord rich presence would display Unhandled Gameflow Phase.. Not it continues the Champ select RPC until your game has actually started.

Installation

As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

Linux

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v1.0.3/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

If you want to verify the checksum, then run:

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v1.0.3/league_rpc_linux.sha256
sha256sum -c league_rpc_linux.sha256

Windows

Just download the league_rpc_windows.exe file and execute it (prefferably from a terminal, but double clicking it works fine too.)
If you are experiencing weird output, then perhaps install Windows Terminal or Git Bash and run the script from there.

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev


Build it yourself

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.8-200.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

# In your virtual env..
pip install pyinstaller

Linux

pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

Windows

pyinstaller --onefile --name league_rpc_windows.exe league_rpc_linux/__main__.py --clean

the result will be located in ./dist/

The reason for not working might be that I build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that I plan to support but I am just too lazy. >)


What's Changed

  • Add pyproject.toml by @davispuh in #15
  • Do not gather base data about Arena, when the game mode is unavailable by @Its-Haze in #23

New Contributors

Full Changelog: v1.0.2...v1.0.3

Release v1.0.2

07 Jan 15:19
1b9acb3
Compare
Choose a tag to compare

What has changed?

The only thing added back is a sleep for 10 seconds while the user is in the client (not in game).
This is because it otherwise keeps looping every single second to try to find the "inGame" process.

It basically will not spam the main thread as much.. Not sure about the performance benefits here but we've had this sleep before and we just reintroduce it now.


Installation

As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v1.0.2/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

If you want to verify the checksum, then run:

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v1.0.2/league_rpc_linux.sha256
sha256sum -c league_rpc_linux.sha256

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.7-203.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

# In your virtual env..
pip install pyinstaller
pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

What's Changed

Full Changelog: v1.0.1...v1.0.2

Release v1.0.1

07 Jan 08:51
e8475df
Compare
Choose a tag to compare

This release is quite small.. mostly just a bugfix for people using other languages other than english for league.

Now it should be possible to use Japanese/Korean/Chinese language on league, and still get the correct champ name & Skin name.

If you are using league in English, you can skip this release and go for v1.0.0 instead


As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v1.0.1/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

If you want to verify the checksum, then run:

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v1.0.1/league_rpc_linux.sha256
sha256sum -c league_rpc_linux.sha256

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.7-203.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

# In your virtual env..
pip install pyinstaller
pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

Release v1.0.0

07 Jan 05:24
2418e18
Compare
Choose a tag to compare

Welcome to Release v1.0.0

This release is pretty big!
Many things have been added, and i hope u like them

icon1

Arena ranked emblem
arena-1

New features

  • Summoner icons are now shown when in the client
  • Rank emblems can be shown by using --show-rank (SoloQ, Flex, TFT, Arena)
  • Online/Away status emojis can be used by adding --show-emojis or --emojis
  • In lobby / In Queue / In Champion detection has been added

Bugfix

Now polls the local league api whenever a game starts, instead of hoping that it has started.
This will mean that you will no longer need to see the "You have a potato pc, error message".

Dependency update

Added nest_asyncio==1.5.8 and lcu-driver==3.0.1


As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v1.0.0/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

If you want to verify the checksum, then run:

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v1.0.0/league_rpc_linux.sha256
sha256sum -c league_rpc_linux.sha256

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.7-203.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

# In your virtual env..
pip install pyinstaller
pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

What's Changed

  • Add league-rpc-auto-launcher startup script for Lutris / League launchers. by @Its-Haze in #13
  • change default launch script paths to XDG base directories. by @Its-Haze in #14
  • LobbyInfo by @Bloodiko in #10

New Contributors

Full Changelog: v0.0.10...v1.0.0

Release v0.0.10

26 Dec 18:01
0f4d63a
Compare
Choose a tag to compare

What's new?

Not really much new stuff, but fixed all champions to now be detected by the script.. The champs that were missing were:

  • Wukong = MonkeyKing
  • Lee Sin
  • Bel'Veth
  • Jarvan IV
  • Kaisa

I created a script that checks all league champs and makes sure their name can be found as skin art from datadragon.

Download information:


As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v0.0.10/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

If you want to verify the checksum, then run:

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v0.0.10/league_rpc_linux.sha256
sha256sum -c league_rpc_linux.sha256

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.7-203.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

# In your virtual env..
pip install pyinstaller
pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

What's Changed

  • Add champ/skin detection for all missing champs. by @Its-Haze in #12

Full Changelog: v0.0.9...v0.0.10

Release v0.0.9

24 Dec 23:52
3af6ff5
Compare
Choose a tag to compare

Bugfix:

Skin art not found if chroma was selected... This has now been fixed in this release.


As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v0.0.9/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.7-203.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

# In your virtual env..
pip install pyinstaller
pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

What's Changed

  • iterate through chroma skins until base skin is found. by @Its-Haze in #11

Full Changelog: v0.0.8...v0.0.9

Release v0.0.8 "--wait-for-league/discord" Arguments Added

21 Dec 22:44
2759805
Compare
Choose a tag to compare

Hello, and welcome to another release on league-rpc-linux.
This release brings:

  • New command line arguments: --wait-for-discord and --wait-for-league (Read the README.md to learn how to use them).
  • BugFix: Arena games were not properly updating their Gold/Level. And if they were, then the output on stdout was spamming messages.. Not that has been resolved.
  • Even if these features are not something you perhaps care much about, I still recommend to always update to the latest version.

If you already have league-rpc-linux installed

Depending on how you downloaded league-rpc-linux you will have to update it accordingly.

  1. git cloned: Just run git pull on the master branch, and you should have the latest changes...
  2. league_rpc_linux executable: If you use this method (which is recommended cause u dont have to mess with virtualenvs) then just remove the one u have now and replace it with the one you will download on this page. Pretty straight forward.

As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v0.0.8/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.7-203.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

Release v0.0.7

21 Dec 04:16
48ad5f7
Compare
Choose a tag to compare

New stuff added in this release

  • Added detection for Arena games

  • Added Level & Gold counter for Arena games (Using the argument --no-stats will work if you want to hide your stats on discord.)
    image

  • Set the skin name as the largeImage on RPC if skin has been selected.. otherwise default to champion name.
    image


As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v0.0.7/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.7-203.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

What's Changed

Full Changelog: v0.0.6...v0.0.7

Release v0.0.6

20 Dec 05:52
c99db78
Compare
Choose a tag to compare
  • Updated which patch of league that datadragon looks for assets. (13.10 -> 13.24.1).
  • Riot service is no longer checked.
  • Mostly code refactoring.
  • Updates in the README.

Btw, I tried this application on Windows and it worked out of the box. Pretty cool.


As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v0.0.6/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then read the README about how to do that.

the executable was built with

PyInstaller: 6.3.0
Python: 3.11.6
Platform: Linux-6.6.7-203.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

What's Changed

Full Changelog: v0.0.5...v0.0.6

Release v0.0.5

18 Dec 00:32
8c5c934
Compare
Choose a tag to compare

This release adds a couple more helper messages when stuff goes wrong.

  • Command line arguments now supported
  • Discord Reconnection Window added.
  • Check for multiple discord-ipc's, since that is a possibility for not being able to connect with pypresence.

Discord Reconnection Window

While the script only works while Discord is up and running. There are instances where discord could crash.. This program will attempt to reconnect to Discord's RPC even if the app is not running. For a period of time, and only exit when too much time has passed.. Default is (50) seconds to restart/reconnect Discord.
image

Command Line Arguments

This application now supports various command-line arguments to enhance flexibility and user customization.

  • --client-id: Specify a custom Discord client ID for the RPC connection. Defaults to 1185274747836174377 if not provided. Which is the "League of Linux" Application

    • Example: ./league_rpc_linux --client-id 123456789123456789
  • --no-stats: Opt out of displaying in-game KDA and minion (creep score) statistics in your Discord Rich Presence. By default, these stats are shown.

    • Example: ./league_rpc_linux --no-stats
  • --add-process: Add custom Discord process names to the search list. This is useful if your Discord client is running under a different process name.

    • Example: ./league_rpc_linux --add-process CustomDiscord AnotherProcess

Each of these arguments can be combined to tailor the Discord RPC to your preferences.

./league_rpc_linux --client-id 123456789123456789 --no-stats --add-process CustomDiscord AnotherProcess

NOTE: All of these arguments are optional. None is needed for the script to function properly. But in case you want to change something, you now can.

As usual.. just download the file, make it executable, and run it. Should be as simple as that.. If you have problems, report them

wget https://github.com/Its-Haze/league-rpc-linux/releases/download/v0.0.5/league_rpc_linux
chmod +x ./league_rpc_linux
./league_rpc_linux

Should work smooth like butter, if it doesn't then you can contact me on Github, or Discord @haze.dev

if you want to install the dependencies yourself and run it like that, then do this:
python3 -m league_rpc_linux

the executable was built with

52 INFO: PyInstaller: 6.3.0
52 INFO: Python: 3.11.6
53 INFO: Platform: Linux-6.6.6-200.fsync.fc38.x86_64-x86_64-with-glibc2.37

If it does not work for you.. you can build it yourself:
Just install pyinstaller and you are good to go.

pyinstaller --onefile --name league_rpc_linux league_rpc_linux/__main__.py --clean

the result will be located in ./dist/league_rpc_linux

The reason for not working might be that i build it with a newer kernel than what you have. I should be building with the oldest possible kernel version that i plan to support but i am just too lazy. >)

What's Changed

  • DEV-1 Add command line arguments & Discord reconnection window by @Its-Haze in #1

New Contributors

Full Changelog: v0.0.4...v0.0.5