The forum

[script] PKR Poker

Author Replies
Dadu042 Saturday 16 November 2019 at 16:23
Dadu042

Removed from 'Supported software' because this website shutdown in 2017 (Wikipedia).

 

Description:

PKR.com (Let's Play Poker Software, website) is the leading 3D poker web site, launched in 2006 it has taken the online poker world by storm. For players looking for an incredible 3D poker experience PKR is without doubt the best site on the market managing to combine excellent graphics & playability while offering a good range of games at all limits.
Ingame cashier dont work running in wine, but you can login to the cashier on www.pkr.com instead via your browser.

 

Script:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
#!/bin/bash
# Date : 26-02-2010
# Last revision : 26-02-2010
# Wine version used : 1.1.35
# Distribution used to test : Ubuntu Karmic
# Author : Lennart Hansen - lahansen@gmail.com
# Depend : DirectX 9
  
# Notes:
# Run in full screen or screen will not be aligned properly
# Disable Compiz / Desktop Effects or screen might flicker or PKR crash
  
# Application Specific Vars
TITLE="PKR - let's play"
APPDIR="PKRPoker"
APPEXEC="pkr.exe"
REMOVELIST="$HOME/Desktop/Play\ PKR.desktop
  
$HOME/Desktop/Play\ PKR.lnk"
WINE="1.1.35"
PKRCONFIG='<?xml version="1.0" encoding="UTF-8"?>
<options>
<games>
<modules
type="string"
>avatar;common;poker;blackjack;casinoholdem;roulette;videopoker</modules>
<hideuninstalledonplay
type="string"
>casino2d;sportsbook;dond;euroroulette</hideuninstalledonplay>
<available type="u32">7</available>
</games>
<options>
<graphics>
<screen>
<fullscreen type="bool">true</fullscreen>
<vsync type="bool">true</vsync>
<resolution type="string">1024x768</resolution>
<maximized type="bool">false</maximized>
<antialias type="string" />
</screen>
</graphics>
<game>
<game>
<free_check_warning
type="bool"
>false</free_check_warning>
<profanity_filter
type="bool"
>false</profanity_filter>
<always_muck_losing_hands
type="bool"
>true</always_muck_losing_hands>
<never_show_uncalled
type="bool"
>true</never_show_uncalled>
</game>
<camera>
<default_camera type="string">Orbit</default_camera>
<cut_to_dynamic
type="string"
>Out Of Hand</cut_to_dynamic>
</camera>
<minigame>
<roulette>
<panelX type="float">0.500000</panelX>
<panelY type="float">0.500000</panelY>
</roulette>
</minigame>
</game>
<audio>
<volumes>
<menu_music type="float">0.000000</menu_music>
</volumes>
</audio>
</options>
<frontend>
<startup>
<name type="string">poker</name>
</startup>
</frontend>
<interface>
<chat>
<fontsize type="int">0</fontsize>
<infolevel type="int">0</infolevel>
</chat>
<menubutton>
<mood_button type="u32">2</mood_button>
<chiptrick_button_1 type="u32">1</chiptrick_button_1>
<emote_button_2 type="u32">41</emote_button_2>
<emote_button_4 type="u32">3</emote_button_4>
<emote_button_3 type="u32">24</emote_button_3>
<emote_button_1 type="u32">26</emote_button_1>
<min_players_button type="u32">1</min_players_button>
</menubutton>
</interface>
</options>'
  
# Install specific vars
DOWNLOADINGINSTALLING="PlayOnLinux is downloading and installing"
INSTALLED="has been installed successfully"
PREFIX="$HOME/.PlayOnLinux/wineprefix/$APPDIR/"
WINDIR="$PREFIX/drive_c/windows/"
TMPDIR="$PREFIX/drive_c/tmp/"
TMPDIR_WIN='c:\tmp'
PROGRAMFILESDIR_UNIX="$PREFIX/drive_c/Program\ Files/"
ICONDIR="$HOME/.PlayOnLinux/icones"
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
cd "$REPERTOIRE/tmp/"
LOGOFILE=$(basename $LOGOLINK)
wget "$LOGOLINK" -O "$LOGOFILE"
  
# Functions
  
install_d3dx9() {
cd "$REPERTOIRE/ressources"
#downloading directx9
if [ ! -e "directx_aug2009_redist.exe" ];
then
fi
  
mkdir "Directx"
cd Directx
cabextract "../directx_aug2009_redist.exe"
  
mkdir "d3dx9"
cabextract -d "d3dx9" *d3dx9*x86*
  
cd "d3dx9"
mv *.dll "$WINEPREFIX/drive_c/windows/system32"
  
#Réglage Directx9
cd "$WINEPREFIX/drive_c/windows/temp"
cat << EOF > OGL.reg
[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]
"d3dx9_24"="native"
"d3dx9_25"="native"
"d3dx9_26"="native"
"d3dx9_27"="native"
"d3dx9_28"="native"
"d3dx9_29"="native"
"d3dx9_30"="native"
"d3dx9_31"="native"
"d3dx9_32"="native"
"d3dx9_33"="native"
"d3dx9_34"="native"
"d3dx9_35"="native"
"d3dx9_36"="native"
"d3dx9_37"="native"
"d3dx9_38"="native"
"d3dx9_39"="native"
"d3dx9_40"="native"
"d3dx9_41"="native"
"d3dx9_42"="native"
EOF
regedit OGL.reg
  
cd "$REPERTOIRE/ressources"
rm -rf Directx
}
  
  
# Installation
  
POL_SetupWindow_Init "" "$LOGOFILE"
INSTALLTXT=$(eval_gettext "This wizard will help you to install $TITLE in a playonlinux prefix")
POL_SetupWindow_free_presentation "$TITLE" "$INSTALLTXT"
  
select_prefix "$PREFIX"
  
if [ ! -e "$PREFIX" ]; then
POL_SetupWindow_prefixcreate
fi
  
fonts_to_prefix
  
POL_SetupWindow_install_wine "$WINE"
Use_WineVersion "$WINE"
mkdir -p "$TMPDIR"
sleep 2
  
# Install Dependencies
  
install_d3dx9
  
# Install App
  
POL_SetupWindow_detect_exit
  
POL_SetupWindow_download "Downloading $TITLE" "$TITLE" "$APPLINK"
  
POL_SetupWindow_wait_next_signal "$DOWNLOADINGINSTALLING $TITLE" "$TITLE"
  
APPINSTALLEXEC=$(basename $APPLINK)
wine "$APPINSTALLEXEC"
  
POL_SetupWindow_detect_exit
  
ICONFILE=$(basename $ICONLINK)
wget "$ICONLINK" -O "$ICONDIR/$ICONFILE"
  
  
POL_SetupWindow_reboot
POL_SetupWindow_message "$TITLE $INSTALLED
  
Now go to https://accounts.pkr.com/register.aspx and register
if you don't have an account already
  
Warning: Screen might flicker or PKR crash if you do not disable Compiz / Desktop effects
and appear wrong and behaive badly if you do not run it fullscreen.
  
Enjoy" "$TITLE"
  
PROGRAMFILES="Program Files"
POL_LoadVar_PROGRAMFILES
  
APPINSTALLDIR="$PROGRAMFILES/PKR/"
  
  
mkdir -p "$WINEPREFIX/drive_c/$APPINSTALLDIR/"
echo $PKRCONFIG > "$WINEPREFIX/drive_c/$APPINSTALLDIR/preferences.xml"
  
POL_SetupWindow_make_shortcut "$APPDIR" "$APPINSTALLDIR" "$APPEXEC" "$ICONFILE" "$TITLE"
  
POL_SetupWindow_Close
  
clean_tmp
  
echo -e $REMOVELIST | while read I
do
rm -rf "$I"
done
  
exit

Edited by Dadu042

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 dmca@playonlinux.com