Skip to content
This repository has been archived by the owner on Sep 11, 2021. It is now read-only.

Commit

Permalink
Add support for multiple sources
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiaswold committed Jul 29, 2020
1 parent 7c7ed94 commit 1c01e48
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
23 changes: 13 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# lolbuilds
# LoLBuilds
[![GitHub Releases](https://img.shields.io/github/downloads/mathiaswold/lolbuilds/latest/total)](https://github.com/MathiasWold/lolbuilds/releases/latest)

A small python script that fetches item builds from [champion.gg](https://champion.gg/) (most frequent and highest win %) and converts them into item sets. The items sets for every champion and role gets saved to your League of Legends installation folder, and can be used in-game. The item sets additionally shows recommended skill order. Supports Windows and macOS.
LoLBuilds is a small python program that fetches item builds from sources such as [champion.gg](https://champion.gg/) and [probuilds.net](https://probuilds.net/) (most frequent and highest win % builds) and converts them into item sets to be used in League of Legends. LoLBuilds imports item sets for each role the champion is played in, and additionally shows the recommended skill order. Supports Windows and macOS.

Inspired by [Championify](https://github.com/dustinblackman/Championify).

![lolbuilds](https://i.imgur.com/60QabgT.png?1)
![lolbuilds](https://i.imgur.com/n7MvgLr.png)

![lolbuilds](https://i.imgur.com/ndaVYOk.png?1)

## Usage

Simply run the executable program for your operating system (from [![GitHub Releases](https://img.shields.io/github/downloads/mathiaswold/lolbuilds/latest/total)](https://github.com/MathiasWold/lolbuilds/releases/latest)) and follow the prompts to import or delete item sets. The script automatically searches for your League of Legends installation folder. It will ask you to specify the correct path if you don't have League installed in the standard location.
Simply run the program for your operating system (from [![GitHub Releases](https://img.shields.io/github/downloads/mathiaswold/lolbuilds/latest/total)](https://github.com/MathiasWold/lolbuilds/releases/latest)) and follow the prompts to import or delete item sets. LoLBuilds automatically searches for your League of Legends installation folder. It will ask you to specify the correct installation path if you don't have League of Legends installed in the standard location.



**Note 1**: Due to the League of Legends' limitations, the item sets will only be available in-game, not in the client.

**Note 2**: [Champion.gg](https://champion.gg/) might gather game data for a week or more before builds are available to all champs and roles after a new patch.
**Note 2**: Sources might gather game data for some days before builds are available to all champs and roles after a new patch.

![lolbuilds_gif](https://i.imgur.com/Nmav9D0.gif)
![lolbuilds_gif](https://i.imgur.com/twFGfiI.gif)

## Run script without executables

Expand All @@ -40,10 +42,11 @@ MAC: python main.py

## FAQ

**What does this script do?**
**What does this program do?**

The script looks at all builds available at champion.gg and converts them to item sets to be used in game. This is done by creating json-files containing the builds and placing them in a specific location in your League of Legends installation folder. The script does not touch any other League of Legends files than the json files it creates.
LoLBuilds looks at all builds available at sources like champion.gg and converts them to item sets to be used in-game. This is done by creating json-files containing the builds and placing them in a specific location* in your League of Legends installation folder. The program does not touch any other League of Legends files than the json files it creates.

\* Windows example: `C:/Riot Games/League of Legends/Config/Champions/[champion]/Recommended`

**Where is the config file stored?**

Expand All @@ -55,8 +58,8 @@ MacOS: `~/.lolbuilds/config.json`

**Are the executable programs safe?**

The executables are created directly from the script in `main.py` using [pyinstaller](https://www.pyinstaller.org/). The script is open source and easy to look over if you so desire. If you dont trust the executables you can run the script directly from `main.py`, info [here](#run-script-without-executables).
The executable programs are created directly from the script in `main.py` using [pyinstaller](https://www.pyinstaller.org/). The script is open source and easy to look over if you so desire. If you don't trust the executables you can run the script directly from `main.py`, see ["Run script without executables"](#run-script-without-executables) above.

## [License](https://github.com/MathiasWold/lolbuilds/blob/master/LICENSE)

lolbuilds was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project.
LoLBuilds was created under Riot Games' "Legal Jibber Jabber" policy using assets owned by Riot Games. Riot Games does not endorse or sponsor this project.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def clear():
def print_script_info():
""" Prints script title and version info """
print("#####################")
print("# lolbuilds #")
print("# v1.0.0 #")
print("# LoLBuilds #")
print("# v1.1.0 #")
print("# by Mathias Wold #")
print("#####################")
print()
Expand Down

0 comments on commit 1c01e48

Please sign in to comment.