A script that chooses your League of Legends skin for you
- Go to the Releases page and get the latest zip, usually named version-win64.zip
- Uncompress it and run the
main.exe
file.
Some people told me that this version is sometimes flagged as a virus. Check an explanation below.
- Clone this repository, either using git clone or downloading and uncompressing the zip.
- Install Python 3.7 or newer. This step will depend on your operating system. Tested on Python 3.9.
- Run
pip install -r requirements.txt
(if it fails, runpython -m pip install -r requirements.txt
on Windows orpython3 -m pip install -r requirements.txt
on Mac or Linux) - You will also need Tk. This is included in the Windows installation, but you may need to install manually on Mac or Linux
- Run
python main.pyw
on Windows orpython3 main.pyw
. On Windows, you just need to double-click themain.pyw
file. Don't know about Mac or specific Linux distribution.
- Clone this repository.
- Install Python 3.7 or newer.
- Install the requirements.
- Install pyinstaller:
pip install pyinstaller
- Run
pyinstaller main.spec
- You will have the
main.exe
file in a new folder calleddist
. To run it, you will have to copy theicon.png
file in the same folder.
When running the program, an icon will be added to the tray. On most OS, you just need to left click the icon after locking in your champion, and it will select a random skin for you. On some OS, you will need to right-click it and click Randomize
.
To exit the program, just close the League client or right-click the tray icon, and select Exit
.
If you want to get the English names for the skins, just create a file or folder named exactly english
in the same folder as the executable. IMPORTANT: If you run it from a terminal, you need to place it in the folder where you are when running the script.
It seems like PyInstaller, a program that I use to compile my Python scripts to get an .exe file, so it can be run easily it's getting flagged by some antivirus. There isn't much I can do to fix this myself.
If you don't trust me, you can always read the source code, scan it at VirusTotal or other antivirus and then run from source or compile it yourself. I promise it's not that hard.