Coder Social home page Coder Social logo

leeo97one / leagueoflegends Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kyechou/leagueoflegends

0.0 1.0 0.0 1.21 MB

League of Legends install and launch wrapper for Linux

Home Page: https://www.leagueoflegends.com

License: GNU General Public License v3.0

Makefile 8.93% Shell 91.07%

leagueoflegends's Introduction

League of Legends

League of Legends (www.leagueoflegends.com) helper script for installing and running on Linux.

Dependencies

  • wine-lol (>= 5.18)
  • winetricks
  • bash
  • curl
  • lib32-gnutls
  • lib32-libldap
  • lib32-openal
  • lib32-libpulse
  • vulkan-icd-loader, lib32-vulkan-icd-loader
  • Vulkan drivers for your graphic cards. For example:
    • lib32-vulkan-intel
    • lib32-nvidia-utils
    • lib32-vulkan-radeon
    • lib32-amdvlk
  • zenity (optional for loading screen indication, see #9)

Installation

Arch Linux

Install the package from AUR: leagueoflegends-git.

Debian/Ubuntu

You could use make deb to create the .deb package, and then install it with the following command.

sudo dpkg -i <package name>.deb

Note that the generated debian package does not have the dependency information, so please first install the required packages.

Manual installation from source

You can install the helper script manually by:

$ git clone https://github.com/kyechou/leagueoflegends.git
$ cd leagueoflegends
$ sudo make install

The files are installed to /usr by default, or you can optionally set DESTDIR to install the files to $(DESTDIR)/usr.

$ sudo make DESTDIR="..." install

Configuration

The configuration file is removed for simplicity. If you would like to change the default location of wine prefix or other parameters, please feel free to modify the script.

Usage

  • First install the game: leagueoflegends install.
    • (Note) Please do not log in or launch the game during installation.
  • Exit the window when the game installation is finished.
  • Start the game: leagueoflegends start.
    • (Note) It may take a while before the game shows up, due to this issue.
  • To remove the game: leagueoflegends uninstall.

leagueoflegends -h can be used to view the full list of options and commands.

[!] Usage: leagueoflegends [options] <command>

    League of Legends - helper program

    Options:
        -h, --help          Print this message and exit
        -v, --verbose       Enable verbose output

    Commands:
        start               Start LoL
        install             Install LoL
        uninstall           Uninstall LoL
        reinstall           Reinstall LoL
        add-dxvk            Install DXVK to the LoL wineprefix
        del-dxvk            Remove DXVK from the LoL wineprefix
        cleanup_logs        Remove log files
        kill                Kill the wine processes of the wineprefix
        run <shell comamnd> Run shell command with environment variables
                            (useful for wine utilities)

Advanced wine configuration

leagueoflegends kill would use wineserver --kill to try to kill all the wine processes of the current wine prefix, which might be helpful if some error happens and the script hangs.

leagueoflegends run <...> can be use to run any command with the wine-related environment variables, such as WINEARCH, WINEDLLOVERRIDES, and WINEPREFIX. This way, you could easily run wine utilities like leagueoflegends run winecfg, or leagueoflegends run wineserver --kill, etc.

leagueoflegends's People

Contributors

nefelim4ag avatar kyechou avatar kaanklky avatar ismaelgv avatar tecnolliure avatar david-loyer avatar jcd1230 avatar warpwing avatar polkaulfield avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.