El Foro

Poker Stars

Autor Respuestas
BlondVador Monday 1 November 2010 at 11:54
BlondVador

An update of the script :
http://www.playonlinux.com/repository/?script=87

#!/bin/bash
# Date : (2007-11-04)
# Last revision : (2010-10-31)
# Distribution used to test : ArchLinux
# Author : Tr4sK
# Update : Valentin PERRUSSEL (BlondVador)
# Licence : GPLv3
# PlayOnLinux: 3.8.5
# WineHQ: 1.3.6
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
PREFIX="PokerStars"
PROGRAMFILES="Program Files"
 
if [ "$POL_LANG" == "fr" ]; then
DOWNLOAD="Veuillez patienter pendant le téléchargement du client PokerStars."
DOWNLOAD2="Téléchargement de PokerStars"
INSTALL="PokerStars est en cours d'installation."
OK="PokerStars a bien été installé."
else
DOWNLOAD="Please wait during PokerStars client download."
DOWNLOAD2="PokerStars download"
INSTALL="PokerStars installing."
OK="PokerStars has been installed succesfully."
fi
 
#Presentation 
POL_SetupWindow_presentation "PokerStars" "PokerStars" "http://www.pokerstars.com/" "Tr4sK and Updated by BlondVador" "PokerStars" 
 
#Création du préfixe
select_prefix "$HOME/.PlayOnLinux/wineprefix/$PREFIX/"
POL_SetupWindow_prefixcreate
 
#Téléchargement
POL_SetupWindow_download "$DOWNLOAD" "$DOWNLOAD2" "http://www.pokerstars.fr/PokerStarsInstallFR.exe"
 
#Installation
POL_SetupWindow_wait_next_signal "$INSTALL" "PokerStars"
wine "PokerStarsInstallFR.exe"
 
#Confirmation
POL_SetupWindow_detect_exit
POL_SetupWindow_message "$OK"
 
#Création du lanceur dans POL
POL_SetupWindow_auto_shortcut "PokerStars" "PokerStars.exe" "PokerStars" "$HOME/.PlayOnLinux/wineprefix/$PREFIX/drive_c/$PROGRAMFILES/PokerStars.FR/gx/ico.bmp"
 
POL_SetupWindow_Close
exit


Works really fine !

Editado por: BlondVador


BlondVador Friday 19 November 2010 at 23:40
BlondVador

Up for update please !

BlondVador Friday 3 December 2010 at 10:29
BlondVador

An other up, the actually script don't work.

BlondVador Friday 10 December 2010 at 10:32
BlondVador

Up

ssllogic Monday 14 February 2011 at 13:55
ssllogicAnonymous

up for updates!

dnjl Saturday 5 March 2011 at 16:00
dnjlAnonymous

I've updated this script. It supports now german language and it downloads also from german or international (.net) server.
I only tried installation in german, but france and international should work.

the script:
#!/bin/bash
# Date : (2007-11-04)
# Last revision : (2011-03-05)
# Distribution used to test : Ubuntu
# Author : Tr4sK
# Update : Valentin PERRUSSEL (BlondVador)
# Update : Daniel Baumann (dnjl)
# Licence : GPLv3
# PlayOnLinux: 3.8.11
# WineHQ: 1.3.6
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
 
PREFIX="PokerStars"
PROGRAMFILES="Program Files"
 
if [ "$POL_LANG" == "fr" ]; then
DOWNLOAD="Veuillez patienter pendant le téléchargement du client PokerStars."
DOWNLOAD2="Téléchargement de PokerStars"
INSTALL="PokerStars est en cours d'installation."
OK="PokerStars a bien été installé."
DLURL="http://www.pokerstars.fr/PokerStarsInstallFR.exe"
ICON="PokerStars.FR/gx/ico.bmp"
elif [ "$POL_LANG" == "de" ]; then
DOWNLOAD="Bitte warten während der PokerStars Client herunterlädt."
DOWNLOAD2="PokerStars Download"
INSTALL="PokerStars installiert."
OK="PokerStars wurde erfolgreich installiert."
DLURL="http://www.pokerstars.de/PokerStarsInstallPM.exe"
ICON="PokerStars.PM/gx/ico.bmp"
else
DOWNLOAD="Please wait during PokerStars client download."
DOWNLOAD2="PokerStars download"
INSTALL="PokerStars installing."
OK="PokerStars has been installed succesfully."
DLURL="http://www.pokerstars.net/PokerStarsInstallPM.exe"
ICON="PokerStars.PM/gx/ico.bmp"
fi
 
#Presentation 
POL_SetupWindow_presentation "PokerStars" "PokerStars" "http://www.pokerstars.net/" "Tr4sK and Updated by BlondVador and dnjl" "PokerStars" 
 
#Prefix
select_prefix "$HOME/.PlayOnLinux/wineprefix/$PREFIX/"
POL_SetupWindow_prefixcreate
 
#Download
POL_SetupWindow_download "$DOWNLOAD" "$DOWNLOAD2" "$DLURL"
 
#Installation
POL_SetupWindow_wait_next_signal "$INSTALL" "PokerStars"
#wine "PokerStarsInstallPM.exe"
wine "$(basename "$DLURL")"
 
#Confirmation
POL_SetupWindow_detect_exit
POL_SetupWindow_message "$OK"
 
#Création du lanceur dans POL
POL_SetupWindow_auto_shortcut "PokerStars" "PokerStars.exe" "PokerStars" "$HOME/.PlayOnLinux/wineprefix/$PREFIX/drive_c/$PROGRAMFILES/$ICON"
 
POL_SetupWindow_Close
exit
BlondVador Wednesday 9 March 2011 at 11:40
BlondVador

Thx for your update :).

wakou222 Tuesday 10 December 2013 at 18:14
wakou222Anonymous

I have tried the script... many times!Pango on IRC (petchey) tried to help, but we had no success. However, I think it would be useful to place a warning or caveat somewhere to alert the unwary that pokerstars have different software for different regions of the world, and that pokerstars.net installs different software and is a different, seperate poker room to pokerstars.com, pokerstars.eu is perhaps different again!
If anyone has problems with pokerstars.com software I found that installing comctl32 solves the problem in plain wine (winetricks comctl32) I have not had time to get this running with PoL yet, I will perhaps try to make a script for pokerstars.com

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com