The forum

[Script] Babas Chess

Author Replies
Jolting Saturday 23 January 2010 at 19:52
JoltingAnonymous

The pieces move slow due to some graphics problem, but everything else works
http://appdb.winehq.org/objectManager.php?sClass=version&iId=9602

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
#!/bin/bash
 
[ "$PLAYONLINUX" = "" ] && exit
source "$PLAYONLINUX/lib/sources"
 
POL_SetupWindow_Init
POL_SetupWindow_prefixcreate
 
select_prefix "$HOME/.PlayOnLinux/wineprefix/BabasChess/"
 
#Setup GDI Plus
cd "$REPERTOIRE/ressources"
if [ ! -e "WindowsXP-KB975337-x86-ENU.exe" ];
then
fi
  
POL_SetupWindow_wait_next_signal "Installing ..." "GDI Plus"
wine WindowsXP-KB975337-x86-ENU.exe /extract:C:\\\\Tmp /q
cd $WINEPREFIX/drive_c/Tmp
mv ./asms/10/msft/windows/gdiplus/gdiplus.dll ../windows/system32
  
cat << EOF > OGL.reg
[HKEY_CURRENT_USER\\\\Software\\\\Wine\\\\DllOverrides]
"gdiplus"="native"
EOF
 
regedit OGL.reg
 
#Setup Tahoma
cd "$REPERTOIRE/ressources"
 
if [ ! -e "tahoma32.exe" ];
then
POL_SetupWindow_download "Downloading" "tahoma" "http://#download.microsoft.com/download/office97pro/fonts/1/w95/en-us/tahoma32.exe"
fi
  
cd "$REPERTOIRE/ressources"
POL_SetupWindow_wait_next_signal "Installing ..." "tahoma"
mkdir "tahoma"
cd tahoma
cabextract "../tahoma32.exe"
  
mv ./Tahoma.TTF $WINEPREFIX/drive_c/windows/Fonts/tahoma.ttf
mv ./Tahomabd.TTF $WINEPREFIX/drive_c/windows/Fonts/tahomabd.ttf
  
cd $WINEPREFIX/drive_c/windows/system32/Fonts
chmod +w tahoma*.ttf
 
cd "$REPERTOIRE/ressources"
rm -rf tahoma
 
#Setup Babas Chess
cd "$REPERTOIRE/ressources"
if [ ! -e "SetupBabasChess_4_0_XP.exe" ];
then
POL_SetupWindow_download "Downloading" "Babas Chess" "http://www.babaschess.net/download/SetupBabasChess_4_0_XP.exe"
fi
 
POL_SetupWindow_wait_next_signal "Installation of Steam" "Babas Chess"
wine "SetupBabasChess_4_0_XP.exe"
POL_SetupWindow_detect_exit
POL_SetupWindow_message "Babas Installed"
 
 
POL_SetupWindow_make_shortcut "BabasChess" "Program Files/BabasChess" "BabasChess.exe" "" "Babas Chess"
#end
POL_SetupWindow_Close

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