web-dev-qa-db-fra.com

League of Legends - PlayOnLinux bloqué

Je suis nouveau ici. J'ai essayé d'installer le jeu League Of Legends via PlayOnLinux, mais après avoir choisi LOL dans la liste des jeux et en cliquant sur suivant , je ne vois aucun progrès. , juste charger tout le temps.

game stuck screenshot

Quelqu'un peut-il m'aider?

J'ai aussi essayé d'installer avec un fichier .exe et j'ai eu beaucoup d'erreurs comme celle-ci dans l'image ci-dessous.

league of legends playonlinux error

Je lance Ubuntu 16.04 LTS x64.

9
Andrzej Kraszewski

Il y a un post r/Ubunt dans Reddit par jmobastos69 qui explique comment installer League of Legends (LOL) dans PlayOnLinux (POL). Cette réponse est une version plus claire et légèrement modifiée de ce post.

  1. Supprimez wine et playonlinux et leurs dépendances que vous avez déjà installées et supprimez les fichiers de package récupérés:

    Sudo apt purge wine playonlinux
    Sudo apt autoremove
    Sudo apt autoclean
    
  2. Installez correctement la branche intermédiaire de winehq et wine pour l’architecture 32 bits à l’aide de Wine instructions d’installation pour Ubuntu:

    Sudo dpkg --add-architecture i386
    Sudo add-apt-repository ppa:wine/wine-builds
    Sudo apt update
    Sudo apt install --install-recommends winehq-staging
    Sudo apt install wine:i386
    
  3. Installez playonlinux:

    Sudo apt install playonlinux
    
  4. Démarrez playonlinux en tant que processus en arrière-plan dans le terminal:

    playonlinux &
    
  5. Sauvegardez le script suivant avec un nom de votre choix (notez que j'ai copié et collé le script à partir de lien de jmobastos69 pour que le script puisse être audité par tout le monde ici):

    # Date : (2012-04-12)
    # Last revision : (2015-05-31 08:27)
    # Distribution used to test : ArchLinux, Debian Sid
    # Author : Quentin PÂRIS, Valentin PERRUSSEL, Pierre ETCHEMAITE
    # Licence : GPLv3
    # WineHQ: http://winebuild.playonlinux.com/wine/wine-patches/LeagueOfLegends2/
    
    # Changelog
    # (2012-05-11) 22:50 - Quentin PÂRIS
    # - New wine patches for better perfomances
    # (2012-05-11) 23:38 - Quentin PÂRIS
    # - Dirty hack that fixes problems
    # (2012-05-12) 09:45 - Quentin PÂRIS
    # - Patches for osx
    # (2012-05-28) 11:00 - Quentin PÂRIS
    # - Checks for recent version of PoL (InsertBeforeWine is bad supported by 4.0.14)
    # (2013-03-10) 22:51 - Pierre ETCHEMAITE
    # - Use web downloader
    # (2013-04-07) 22:23 - Pierre ETCHEMAITE
    # - Reverted as they somehow broke PMB (not even installed)
    # (2013-04-13) 20:12 - GNU_Raziel
    # - Added POL_Wine_SetVideoDriver function
    # (2013-09-07) 21:17 - Pierre ETCHEMAITE
    # - Fix for newer LoL versions
    # (2014-09-01) 21:17 - Quentin PÂRIS
    # - Fix for newer LoL versions (added d3dx9)
    # (2015-01-09) 00:54 - Pierre ETCHEMAITE
    # - Update Wine to fix missing libgcrypto symlink
    # (2015-02-10) 20:25 = Pierre ETCHEMAITE
    # - Use official standalone installer/patcher
    # (2015-05-31) 08:27 = Pierre ETCHEMAITE
    # - use Wine 1.7.44-LeagueOfLegends2 to fix patcher issue
    # (2016-01-26) 12:55 (UTC) - Jeddunk
    # - upgrade Wine to 1.9.2-LeagueOfLegends5
    
    [ "$PLAYONLINUX" = "" ] && exit 0
    source "$PLAYONLINUX/lib/sources"
    
    WINEVERSION="1.9.2-LeagueOfLegends5"
    
    TITLE="League of Legends"
    PREFIX="LeagueOfLegends"
    SHORTCUT_NAME="League of Legends"
    
    POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
    
    POL_SetupWindow_Init
    POL_RequiredVersion "4.0.18" || POL_Debug_Fatal "$APPLICATION_TITLE 4.0.18 is required to install $TITLE"
    POL_SetupWindow_SetID 1135
    
    which glxinfo || POL_Debug_Error "$(eval_gettext 'glxinfo is not installed. Please install mesa-utils package')"
    
    if ! glxinfo | grep -q GL_EXT_texture_compression_s3tc; then
    POL_SetupWindow_message "$(eval_gettext 'Warning! S3TC compression is not available on your system.\n\nIf you have a free driver, you might need to install a proprietary driver \n\nOtherwise, you can enable it by installing libtxc-dxtn0 package, but you might get slower results')"
    POL_Debug_Warning "S3TC not enabled!"
    fi
    
    POL_Debug_Init
    
    POL_SetupWindow_presentation "League of Legends" "Riot" "http://www.riotgames.com/" "Quentin PÂRIS, BlondVador" "LeagueOfLegends"
    
    POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"
    
    if [ "$INSTALL_METHOD" = "LOCAL" ]; then
    cd "$HOME"
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE" "" "Windows Executables (*.exe)|*.exe;*.EXE"
    
    if strings "$APP_ANSWER"|grep -q '\(name="Pando Media Booster Downloader"\|Advanced Installer\)'; then
    NOBUGREPORT="TRUE"
    POL_Debug_Fatal "$(eval_gettext 'Cant install using the official downloader, sorry')"
    fi
    FULL_INSTALLER="$APP_ANSWER"
    else # DOWNLOAD
    POL_System_TmpCreate "$PREFIX"
    
    # http://forums.na.leagueoflegends.com/board/showthread.php?t=1474419
    POL_SetupWindow_menu "$(eval_gettext 'Select installer to download:')" "$TITLE" "$(eval_gettext 'North America')~$(eval_gettext 'Europe West')~$(eval_gettext 'Europe Nordic and East')" "~"
    case "$APP_ANSWER" in
    "$(eval_gettext 'North America')")
    DOWNLOAD_URL="http://l3cdn.riotgames.com/Installer/SingleFileInstall/LeagueOfLegendsBaseNA.exe"
    DOWNLOAD_MD5="9d44b68bd02d7b5426556f64d86bbd16"
    ;;
    "$(eval_gettext 'Europe West')")
    DOWNLOAD_URL="http://l3cdn.riotgames.com/Installer/SingleFileInstall/LeagueOfLegendsBaseEUW.exe"
    DOWNLOAD_MD5="eb5d7b007b6022ee555c0dd9fd71263e"
    ;;
    "$(eval_gettext 'Europe Nordic and East')")
    DOWNLOAD_URL="http://l3cdn.riotgames.com/Installer/SingleFileInstall/LeagueOfLegendsBaseEUNE.exe"
    DOWNLOAD_MD5="f08d7b70776b0989eabb016bae77fdaa"
    ;;
    esac
    DOWNLOAD_FILE="$POL_System_TmpDir/$(basename "$DOWNLOAD_URL")"
    
    POL_Call POL_Download_retry "$DOWNLOAD_URL" "$DOWNLOAD_FILE" "$DOWNLOAD_MD5" "$TITLE standalone installer"
    
    FULL_INSTALLER="$DOWNLOAD_FILE"
    fi
    
    POL_System_SetArch "x86"
    POL_Wine_SelectPrefix "$PREFIX"
    POL_Wine_PrefixCreate "$WINEVERSION"
    
    POL_Call POL_Install_corefonts
    POL_Call POL_Install_vcrun2005
    POL_Call POL_Install_vcrun2008
    POL_Call POL_Install_d3dx9
    
    Set_OS "win7"
    
    POL_SetupWindow_message "$(eval_gettext 'Warning: You must not tick the checkbox "Run $TITLE" when setup is done')" "$TITLE"
    
    POL_Wine_WaitBefore "$TITLE"
    POL_Wine "$FULL_INSTALLER"
    
    Set_OS winxp
    
    # Set Graphic Card informations keys for wine
    POL_Wine_SetVideoDriver
    
    POL_Call POL_Function_OverrideDLL builtin,native dnsapi
    POL_Shortcut "lol.launcher.admin.exe" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png" "" "Game;RolePlaying;"
    
    if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
    # Free some disk space
    POL_System_TmpDelete
    fi
    
    if [ "$POL_OS" = "Linux" ]; then
    if [ "$(cat /proc/sys/net/ipv4/tcp_timestamps)" = "1" ]; then
    FORUM_URL='http://forums.euw.leagueoflegends.com/board/showthread.php?t=2058453'
    POL_SetupWindow_question "$(eval_gettext 'If you get connection errors when attempting to login, try disabling tcp_timestamps in the kernel.')\n$(eval_gettext 'Do you want to read original thread in League of Legends forums?')" "$TITLE"
    [ "$APP_ANSWER" = "TRUE" ] && POL_Browser "${FORUM_URL}"
    fi
    fi
    
    POL_SetupWindow_Close
    exit 0
    
  6. Choisissez "Exécuter un script local" dans le menu "Outils" de PlayOnLinux et sélectionnez le script que vous venez de sauvegarder.

  7. Suivez les instructions pour installer League of Legends. N'oubliez pas de décocher la case "Lancer League of Legends" à la fin de l'assistant d'installation.

  8. Dans PlayOnLinux, appuyez sur "Exécuter" sur l'application League of Legends.

10
edwinksl

Pour ceux qui ont eu des problèmes avec l'installation/l'utilisation de PlayOnLinux, consultez Lutris .

Tout a fonctionné à merveille pour moi sur Ubuntu 17.04

Je suis tombé sur cette vidéo youtube https://www.youtube.com/watch?v=0YW5ulQOaGk

4
Noah Passalacqua