Het forum

League of Legends

Petit bug avant lancement du jeu

Auteur Antwoorden
Jump to the page: 1 - 2 - 3 - 4
TribaL Zondag 15 April 2012 om 10:37
TribaLAnonymous

Bonjour,

Maintenant le jeu ne se lance plus, il l'a bien fait une fois mais la plus rien.
J'ai bien le soucis de '$()' mais impossible de le changé si vous avez une solution :)
petch Zondag 15 April 2012 om 10:58
petch

Hello,

je comprend pas très bien la nécessité du $() non plus...
Parce que s'il n'est censé y avoir qu'un élément dans ../projects/lol_launcher/releases/, et que le but est de récupérer son nom, ../projects/lol_launcher/releases/* ça doit marcher tout aussi bien...
TribaL Zondag 15 April 2012 om 11:29
TribaLAnonymous

Bon ba repassage du script et on verra ce que sa donne :). Par contre j'ai réussi à faire une partie après une réparation du jeu... Pas terrible les fps chute au fur et a mesure que le jeu avance...

Surement le matos qui chauffe :/

Je bidouille et je tiens au courant
BlondVador Zondag 15 April 2012 om 12:52
BlondVador

Oups merci pour la correction, j'l'avais fait sur mon script j'ai pas fait gaffe à modifier ici...

Pour ne pas avoir l'erreur des guillemets, il ne faut pas rentrer dans le menu de configuration de POL. C'est une erreur propre à POL mais si ça fonctionne sans $() alors pourquoi pas oui...

J'essaye ça dans l'aprém'.

Pour les FPS qui chutent, il faut patcher Wine :

- performance decreases with time - from 30 FPS to ~10 FPS in 15 minutes. http://uz.sns.it/~ranma42/iLoL/v2/0001-ntdll-Improve-performace-of-heap-allocation-v2.patch solves this issue, but you have to recompile WIne. This makes me rate it BRONZE instead of GOLD.

Citeer


Si Quentin accepte de mettre a disposition une version de Wine 1.4-rc6 patchée, ça devrait être bon.

Encore merci SuperPlumus.

EDIT : Avec ../projects/lol_launcher/releases/ ça ne fonctionne pas, il faut récupérer le nom LoLLauncher.exe qui se trouve dans ../projects/lol_launcher/releases/NUMER DE LA RELEASE/deploy/ hors le numéro de la release variant au fil des MAJ il est impératif d'utiliser $()

Aangepast door BlondVador


TribaL Zondag 15 April 2012 om 13:51
TribaLAnonymous

Re,

Oki, je vais essayer de le patché ( j'espère réussir ) j'ai déjà résolu une partie du problème en configurant un peu mieux ma CG ( grâce à la doc ubuntu )

J'ai pu faire une partie dominion avec une moyenne de 30 fps.
TribaL Zondag 15 April 2012 om 16:14
TribaLAnonymous

Re,

J'essayer d'appliquer le patch sur wine1.4rc6 mais il me demande le fichier à patcher...
Mais je ne sais pas qu'elle fichier patcher :/
petch Zondag 15 April 2012 om 16:26
petch

C'est bien pour ça que j'avais mis une étoile pour remplacer $()...
Quentin PÂRIS Zondag 15 April 2012 om 17:51
Quentin PÂRISAnonymous

C'est en cours pour la version patchée.

http://www.playonlinux.com/wine/
TribaL Zondag 15 April 2012 om 17:56
TribaLAnonymous

Oki,

Merci beaucoup, je test dès que le patch est prêt ^^
Quentin PÂRIS Zondag 15 April 2012 om 17:59
Quentin PÂRISAnonymous

Sinon pour le bug des guillemets,

POL_SetupWindow_InsertBeforeWine 'League Of Legends' 'rm latest 2> /dev/null ; ln -s "$(ls -1 | tail -n 1)" latest'

Aangepast door Tinou

Quentin PÂRIS Zondag 15 April 2012 om 17:59
Quentin PÂRISAnonymous

Et après on utilise le dossier "latest"
TribaL Zondag 15 April 2012 om 20:50
TribaLAnonymous

Re,

ça marche parfaitement, plus de baisse de fps, toujours au dessus de 24 fps après 15 minutes de jeu.

Mon matériel chauffe juste un peut mais bon c'est pas un pc pour jouer ^^.

Merci à tous
BlondVador Zondag 15 April 2012 om 21:13
BlondVador

Au plaisir.

Autrement c'est pas plutôt POL_Shortcut_InsertBeforeWine ?

Sinon j'termine de mettre le script au propre avec l'astuce de Quentin ainsi que la version de wine patchée et ça devrait être bon.

@Petch : non ça ne fonctionne pas ^^.

EDIT : Hmmm j'ai un peu de mal enfait à passer de l'un à l'autre...

Me renvoie une erreur Wine :
cd "/home/blond/.PlayOnLinux//wineprefix/LeagueOfLegends/drive_c/./Program Files/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/"
POL_Wine "/home/blond/.PlayOnLinux//wineprefix/LeagueOfLegends/drive_c/./Program Files/Riot Games/League of Legends/RADS/system/rads_user_kernel.exe" run lol_launcher LoLLauncher.exe "$@"

Ne se passe rien :
cd "/home/blond/.PlayOnLinux//wineprefix/LeagueOfLegends/drive_c/./Program Files/Riot Games/League of Legends/RADS/system"
POL_Wine "rads_user_kernel.exe" run lol_launcher /home/blond/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Program Files/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/latest/deployLoLLauncher.exe "$@"

Aangepast door BlondVador


Quentin PÂRIS Donderdag 19 April 2012 om 13:37
Quentin PÂRISAnonymous

Ça donne quoi ce script la ?
#!/bin/bash
# Date : (2012-04-12)
# Last revision : (2012-04-12)
# Distribution used to test : ArchLinux
# Author : Valentin PERRUSSEL
# Licence : GPLv3
# PlayOnLinux: 4.0.16
# WineHQ: 1.4-rc6

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="League of Legends"


# Initialisation
POL_SetupWindow_Init
POL_Debug_Init

# Présentation
POL_SetupWindow_presentation "League of Legends" "Riot" "http://www.riotgames.com/" "BlondVador et Tinou" "LeagueOfLegends"

#Avertissement
POL_SetupWindow_message "$LNG_WARNING" "$LNG_WARNING_TITLE"

# Création du préfixe
POL_Wine_SelectPrefix "LeagueOfLegends"
POL_Wine_PrefixCreate "1.4-rc6-heap_allocation_v2"
POL_System_TmpCreate "LeagueOfLegends"

#Dépendances
POL_Call POL_Install_vcrun2005
POL_Call POL_Install_vcrun2008
POL_Call POL_Install_corefonts
POL_Call POL_Install_d3dx9
POL_Call POL_Install_wininet

# Configuration
Set_OS "win7"

# Installation du jeu
POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"

POL_SetupWindow_message "$(eval_gettext 'Please don't run the game after setup')" $TITLE"

if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then
	cd "$POL_System_TmpDir"
	POL_Download "http://l3cdn.riotgames.com/Installer/EUW_Installer/LeagueofLegends.exe"
	POL_Wine_WaitBefore "$TITLE"
	GC_DONT_GC=1 POL_Wine "$POL_System_TmpDir/LeagueofLegends.exe"
elif [ "$INSTALL_METHOD" = "LOCAL" ]; then
	POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
	POL_Wine_WaitBefore "$TITLE"
	GC_DONT_GC=1 POL_Wine "$APP_ANSWER"
fi
POL_Wine_WaitExit "$TITLE"

POL_System_TmpDelete

# Création du lanceur
POL_Shortcut "rads_user_kernel.exe" "League of Legends" "" "run lol_launcher latest LoLLauncher.exe"

POL_SetupWindow_InsertBeforeWine 'League Of Legends' "rm $WINEPREFIX/drive_c/$PROGRAMFILES/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/latest 2> /dev/null"

POL_SetupWindow_InsertBeforeWine 'League Of Legends' "ln -s \\"$WINEPREFIX/drive_c/$PROGRAMFILES/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/\\$(ls -1 | tail -n 1)\\" \\"$WINEPREFIX/drive_c/$PROGRAMFILES/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/latest\\""

POL_SetupWindow_Close
exit

Aangepast door Tinou

BlondVador Vrijdag 20 April 2012 om 12:08
BlondVador

Ne fonctionne pas, ça me met dans le shortcut de LoL :
cd "/home/blond/.PlayOnLinux//wineprefix/LeagueOfLegends/drive_c/./Program Files/Riot Games/League of Legends/RADS/system"
POL_Wine "rads_user_kernel.exe" run lol_launcher /home/blond/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Program Files/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/latest/deployLoLLauncher.exe "$@"

Après correction de la dernière ligne, ça ne fonctionne pas mieux, c'est exactement la même chose que j'ai décrit dans mon post précédent : ne se passe rien. Ce sont les deux même lignes en même temps ^^.

Aangepast door BlondVador


Quentin PÂRIS Vrijdag 20 April 2012 om 12:24
Quentin PÂRISAnonymous

Ouai normal !


Et la ?


#!/bin/bash

# Date : (2012-04-12)

# Last revision : (2012-04-12)

# Distribution used to test : ArchLinux

# Author : Valentin PERRUSSEL

# Licence : GPLv3

# PlayOnLinux: 4.0.16

# WineHQ: 1.4-rc6


[ "$PLAYONLINUX" = "" ] && exit 0

source "$PLAYONLINUX/lib/sources"


TITLE="League of Legends"



# Initialisation

POL_SetupWindow_Init

POL_Debug_Init


# Présentation

POL_SetupWindow_presentation "League of Legends" "Riot" "http://www.riotgames.com/" "BlondVador et Tinou" "LeagueOfLegends"


# Création du préfixe

POL_Wine_SelectPrefix "LeagueOfLegends"

POL_Wine_PrefixCreate "1.4-rc6-heap_allocation_v2"

POL_System_TmpCreate "LeagueOfLegends"


#Dépendances

POL_Call POL_Install_vcrun2005
POL_Call POL_Install_vcrun2008

POL_Call POL_Install_corefonts

POL_Call POL_Install_d3dx9

POL_Call POL_Install_wininet


# Configuration

Set_OS "win7"


# Installation du jeu

POL_SetupWindow_InstallMethod "DOWNLOAD,LOCAL"


POL_SetupWindow_message "$(eval_gettext "Please don't run the game after setup")" "$TITLE"


if [ "$INSTALL_METHOD" = "DOWNLOAD" ]; then

    cd "$POL_System_TmpDir"

    POL_Download "http://l3cdn.riotgames.com/Installer/EUW_Installer/LeagueofLegends.exe"

    POL_Wine_WaitBefore "$TITLE"

    GC_DONT_GC=1 POL_Wine "$POL_System_TmpDir/LeagueofLegends.exe"

elif [ "$INSTALL_METHOD" = "LOCAL" ]; then

    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"

    POL_Wine_WaitBefore "$TITLE"

    GC_DONT_GC=1 POL_Wine "$APP_ANSWER"

fi

POL_Wine_WaitExit "$TITLE"


POL_System_TmpDelete


# Création du lanceur

POL_Shortcut "rads_user_kernel.exe" "League of Legends" "" "run lol_launcher 0.0.0.0 LoLLauncher.exe"


POL_Shortcut_InsertBeforeWine 'League Of Legends' "rm \\"$WINEPREFIX/drive_c/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/0.0.0.0\\" 2> /dev/null"


POL_Shortcut_InsertBeforeWine 'League Of Legends' "ln -s \\"$WINEPREFIX/drive_c/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/\\$(ls -1 \\"$WINEPREFIX/drive_c/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/\\" | tail -n 1)\\" \\"$WINEPREFIX/drive_c/Riot Games/League of Legends/RADS/projects/lol_launcher/releases/0.0.0.0\\""


POL_SetupWindow_Close

exit 0

Aangepast door Tinou

Quentin PÂRIS Maandag 23 April 2012 om 14:31
Quentin PÂRISAnonymous

logo Run League Of Legends PlayOnLinux Script

Si quelqu'un peut me donner des retours, je prend
BlondVador Maandag 23 April 2012 om 20:19
BlondVador

Crash wine après l'installation...

Quentin PÂRIS Maandag 23 April 2012 om 21:16
Quentin PÂRISAnonymous

Après ? Au lancement tu veux dire ?
BlondVador Dinsdag 24 April 2012 om 0:06
BlondVador

Après l'installation du jeu, wine crash. Le script signale une erreur wine puis après "suivant", POL signale une erreur de script, l'installation s'étant mal dérouleé.

On obtient ce shortcut :
[code language=playonlinux]#!/bin/bash[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export WINEPREFIX="/home/blond/.PlayOnLinux//wineprefix/LeagueOfLegends"
export WINEDEBUG="-all"
#POL_Log=League of Legends_1335214670
cd "/home/blond/.PlayOnLinux//wineprefix/LeagueOfLegends/drive_c/./Program Files/Riot Games/League of Legends/RADS/system"
POL_Wine "rads_user_kernel.exe" run lol_launcher 0.0.0.0 LoLLauncher.exe "$@"[/code]

Si on change le numéro de release par contre le jeu se lance.

Aangepast door Tinou