Rex Cribbage

Informations

Créateur Messages
wrigh347 Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 6037
Wine: 1.7.39

Retours d'expérience

Description

Rex Cribbage is a computer cribbage player. It has many feature for analysis and its playing strength is very advanced.       http://www.halscrib.com

Code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-27 09-57)
# Last revision : (2015-03-27 12-55)
# Wine version used : 1.7.39
# Distribution used to test : Linux Mint 17.1 LTS
# Author : Will Wright
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Rex Cribbage"
PREFIX="Rex_Cribbage"

WINEVERSION="1.7.39"
 
POL_SetupWindow_Init

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Hal Mueller" "http://www.halscrib.com" "Will Wright" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "installrex.exe"
        INSTALLER="$CDROM_SETUP"
        cd "$CDROM"
else
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "Rex Cribbage installation"
        INSTALLER="$APP_ANSWER"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "winxp"

POL_Call POL_Install_riched20
POL_Wine_OverrideDLL "native,builtin" "hhctrl.ocx"
POL_Wine_OverrideDLL "native,builtin" "odbc32"
POL_Wine_OverrideDLL "native,builtin" "odbccp32"
POL_Wine_OverrideDLL "native,builtin" "riched32"
POL_Wine_OverrideDLL "native,builtin" "urlmon"
POL_Wine_OverrideDLL "builtin" "ole32"
POL_Wine_OverrideDLL "builtin" "oleaut32"
POL_Wine_OverrideDLL "builtin" "olepro32"
POL_Wine_OverrideDLL "builtin" "rpcrt4"

POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"
 
POL_Shortcut "REXCRIB.EXE" "$TITLE"
 
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribuer
Membre Messages
wrigh347 Vendredi 27 Mars 2015 à 20:19
wrigh347 Anonymous

Messages

I tested it on a mac and it worked.
 

Réponses

Vendredi 27 Mars 2015 à 20:27
Good stuff. It is already set to Mac compatible, so it is good to go. Thanks for your contribution. :)
wrigh347 Vendredi 27 Mars 2015 à 19:12
wrigh347 Anonymous

Information

Cette mise à jour a été acceptée par l'équipe

Messages

This just includes the change you requested.
 

Differences

@@ -0,0 +1,57 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-03-27 09-57)
+# Last revision : (2015-03-27 12-55)
+# Wine version used : 1.7.39
+# Distribution used to test : Linux Mint 17.1 LTS
+# Author : Will Wright
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Rex Cribbage"
+PREFIX="Rex_Cribbage"
+
+WINEVERSION="1.7.39"
+ 
+POL_SetupWindow_Init
+
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Hal Mueller" "http://www.halscrib.com" "Will Wright" "$PREFIX"
+ 
+# Create a 32bit virtual drive
+POL_System_SetArch "x86"
+
+POL_SetupWindow_InstallMethod "LOCAL,CD"
+
+if [ "$INSTALL_METHOD" = "CD" ]; then
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "installrex.exe"
+        INSTALLER="$CDROM_SETUP"
+        cd "$CDROM"
+else
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "Rex Cribbage installation"
+        INSTALLER="$APP_ANSWER"
+fi
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+Set_OS "winxp"
+
+POL_Call POL_Install_riched20
+POL_Wine_OverrideDLL "native,builtin" "hhctrl.ocx"
+POL_Wine_OverrideDLL "native,builtin" "odbc32"
+POL_Wine_OverrideDLL "native,builtin" "odbccp32"
+POL_Wine_OverrideDLL "native,builtin" "riched32"
+POL_Wine_OverrideDLL "native,builtin" "urlmon"
+POL_Wine_OverrideDLL "builtin" "ole32"
+POL_Wine_OverrideDLL "builtin" "oleaut32"
+POL_Wine_OverrideDLL "builtin" "olepro32"
+POL_Wine_OverrideDLL "builtin" "rpcrt4"
+
+POL_Wine_WaitExit "$TITLE"
+POL_Wine "$INSTALLER"
+ 
+POL_Shortcut "REXCRIB.EXE" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-27 09-57)
# Last revision : (2015-03-27 12-55)
# Wine version used : 1.7.39
# Distribution used to test : Linux Mint 17.1 LTS
# Author : Will Wright
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Rex Cribbage"
PREFIX="Rex_Cribbage"

WINEVERSION="1.7.39"
 
POL_SetupWindow_Init

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Hal Mueller" "http://www.halscrib.com" "Will Wright" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "installrex.exe"
        INSTALLER="$CDROM_SETUP"
        cd "$CDROM"
else
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "Rex Cribbage installation"
        INSTALLER="$APP_ANSWER"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "winxp"

POL_Call POL_Install_riched20
POL_Wine_OverrideDLL "native,builtin" "hhctrl.ocx"
POL_Wine_OverrideDLL "native,builtin" "odbc32"
POL_Wine_OverrideDLL "native,builtin" "odbccp32"
POL_Wine_OverrideDLL "native,builtin" "riched32"
POL_Wine_OverrideDLL "native,builtin" "urlmon"
POL_Wine_OverrideDLL "builtin" "ole32"
POL_Wine_OverrideDLL "builtin" "oleaut32"
POL_Wine_OverrideDLL "builtin" "olepro32"
POL_Wine_OverrideDLL "builtin" "rpcrt4"

POL_Wine_WaitExit "$TITLE"
POL_Wine "$INSTALLER"
 
POL_Shortcut "REXCRIB.EXE" "$TITLE"
 
POL_SetupWindow_Close
exit

Réponses

Vendredi 27 Mars 2015 à 19:14
OK. Approved. Let us know when you have tested it on Mac, and we can change the categories for it to show that it works (or doesn't) on OSX.
wrigh347 Vendredi 27 Mars 2015 à 19:00
wrigh347 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

 

This one will probably still work. I am not sure how to upload screenshots from my computer. It seems to only accept online links.

 

Differences

@@ -0,0 +1,57 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-03-27 09-57)
+# Last revision : (2015-03-27 12-55)
+# Wine version used : 1.7.39
+# Distribution used to test : Linux Mint 17.1 LTS
+# Author : Will Wright
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Rex Cribbage"
+PREFIX="Rex_Cribbage"
+
+WINEVERSION="1.7.39"
+ 
+POL_SetupWindow_Init
+
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Hal Mueller" "http://www.halscrib.com" "Will Wright" "$PREFIX"
+ 
+# Create a 32bit virtual drive
+POL_System_SetArch "x86"
+
+POL_SetupWindow_InstallMethod "LOCAL,CD"
+
+if [ "$INSTALL_METHOD" = "CD" ]; then
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "installrex.exe"
+        INSTALLER="$CDROM_SETUP"
+        cd "$CDROM"
+else
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "Rex Cribbage installation"
+        INSTALLER="$APP_ANSWER"
+fi
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+Set_OS "winxp"
+
+POL_Call POL_Install_riched20
+POL_Wine_OverrideDLL "native,builtin" "hhctrl.ocx"
+POL_Wine_OverrideDLL "native,builtin" "odbc32"
+POL_Wine_OverrideDLL "native,builtin" "odbccp32"
+POL_Wine_OverrideDLL "native,builtin" "riched32"
+POL_Wine_OverrideDLL "native,builtin" "urlmon"
+POL_Wine_OverrideDLL "builtin" "ole32"
+POL_Wine_OverrideDLL "builtin" "oleaut32"
+POL_Wine_OverrideDLL "builtin" "olepro32"
+POL_Wine_OverrideDLL "builtin" "rpcrt4"
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+POL_Wine "$INSTALLER"
+ 
+POL_Shortcut "REXCRIB.EXE" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-27 09-57)
# Last revision : (2015-03-27 12-55)
# Wine version used : 1.7.39
# Distribution used to test : Linux Mint 17.1 LTS
# Author : Will Wright
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Rex Cribbage"
PREFIX="Rex_Cribbage"

WINEVERSION="1.7.39"
 
POL_SetupWindow_Init

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Hal Mueller" "http://www.halscrib.com" "Will Wright" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "installrex.exe"
        INSTALLER="$CDROM_SETUP"
        cd "$CDROM"
else
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "Rex Cribbage installation"
        INSTALLER="$APP_ANSWER"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "winxp"

POL_Call POL_Install_riched20
POL_Wine_OverrideDLL "native,builtin" "hhctrl.ocx"
POL_Wine_OverrideDLL "native,builtin" "odbc32"
POL_Wine_OverrideDLL "native,builtin" "odbccp32"
POL_Wine_OverrideDLL "native,builtin" "riched32"
POL_Wine_OverrideDLL "native,builtin" "urlmon"
POL_Wine_OverrideDLL "builtin" "ole32"
POL_Wine_OverrideDLL "builtin" "oleaut32"
POL_Wine_OverrideDLL "builtin" "olepro32"
POL_Wine_OverrideDLL "builtin" "rpcrt4"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$INSTALLER"
 
POL_Shortcut "REXCRIB.EXE" "$TITLE"
 
POL_SetupWindow_Close
exit

Réponses

Vendredi 27 Mars 2015 à 19:01
Looks good. I noticed that there are far, far fewer overrides now. This is tested working fine still?
Vendredi 27 Mars 2015 à 19:02
Also, what petch mentioned:

"You should use POL_Wine_WaitExit "$TITLE" instead of POL_SetupWindow_wait ..., it'll save you the trouble write down the default wait message."
Anonymous
Vendredi 27 Mars 2015 à 19:09
I just tested it. The script still works. I am going to try and test it on a mac soon.
Vendredi 27 Mars 2015 à 19:09
Excellent. :) I would say that the only left to do is what petch said, and we should be able to go ahead and approve it.
wrigh347 Vendredi 27 Mars 2015 à 17:46
wrigh347 Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

Messages

Rex Cribbage is a computer cribbage player. It has many options for analysis and its playing strength is very strong. It was written by Hal Mueller (www.halscrib.com).

Differences

@@ -0,0 +1,93 @@
+#!/usr/bin/env playonlinux-bash
+# Date : (2015-03-27 09-57)
+# Last revision : (2015-03-27 10-09)
+# Wine version used : 1.7.39
+# Distribution used to test : Linux Mint 17.1 LTS
+# Author : Will Wright
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+TITLE="Rex Cribbage"
+PREFIX="Rex_Cribbage"
+
+WINEVERSION="1.7.39"
+ 
+POL_SetupWindow_Init
+
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Hal Mueller" "http://www.halscrib.com" "Will Wright" "$PREFIX"
+ 
+# Create a 32bit virtual drive
+POL_System_SetArch "x86"
+
+POL_SetupWindow_InstallMethod "LOCAL,CD"
+
+if [ "$INSTALL_METHOD" = "CD" ]; then
+        POL_SetupWindow_cdrom
+        POL_SetupWindow_check_cdrom "installrex.exe"
+        INSTALLER="$CDROM_SETUP"
+        cd "$CDROM"
+else
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "Rex Cribbage installation"
+        INSTALLER="$APP_ANSWER"
+fi
+
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WINEVERSION"
+Set_OS "winxp"
+
+POL_Call POL_Install_riched20
+POL_Wine_OverrideDLL "native,builtin" "amstream"
+POL_Wine_OverrideDLL "native,builtin" "atl"
+POL_Wine_OverrideDLL "native,builtin" "browseui"
+POL_Wine_OverrideDLL "native,builtin" "crypt32"
+POL_Wine_OverrideDLL "native,builtin" "d3dxof"
+POL_Wine_OverrideDLL "native,builtin" "devenum"
+POL_Wine_OverrideDLL "native,builtin" "dplay"
+POL_Wine_OverrideDLL "native,builtin" "dplayx"
+POL_Wine_OverrideDLL "native,builtin" "dpnaddr"
+POL_Wine_OverrideDLL "native,builtin" "dpnet"
+POL_Wine_OverrideDLL "native,builtin" "dpnhpast"
+POL_Wine_OverrideDLL "native,builtin" "dpnlobby"
+POL_Wine_OverrideDLL "native,builtin" "dxdiagn"
+POL_Wine_OverrideDLL "native,builtin" "hhctrl.ocx"
+POL_Wine_OverrideDLL "native,builtin" "hlink"
+POL_Wine_OverrideDLL "native,builtin" "itss"
+POL_Wine_OverrideDLL "native,builtin" "jscript"
+POL_Wine_OverrideDLL "native,builtin" "mapi32"
+POL_Wine_OverrideDLL "native,builtin" "mlang"
+POL_Wine_OverrideDLL "native,builtin" "mshtml"
+POL_Wine_OverrideDLL "native,builtin" "msvcirt"
+POL_Wine_OverrideDLL "native,builtin" "msvcrt"
+POL_Wine_OverrideDLL "native,builtin" "msvcrt40"
+POL_Wine_OverrideDLL "native,builtin" "msvcrtd"
+POL_Wine_OverrideDLL "native,builtin" "msxml3"
+POL_Wine_OverrideDLL "native,builtin" "odbc32"
+POL_Wine_OverrideDLL "native,builtin" "odbccp32"
+POL_Wine_OverrideDLL "native,builtin" "quartz"
+POL_Wine_OverrideDLL "native,builtin" "riched32"
+POL_Wine_OverrideDLL "native,builtin" "rsabase"
+POL_Wine_OverrideDLL "native,builtin" "secur32"
+POL_Wine_OverrideDLL "native,builtin" "shdoclc"
+POL_Wine_OverrideDLL "native,builtin" "shcocvw"
+POL_Wine_OverrideDLL "native,builtin" "softpub"
+POL_Wine_OverrideDLL "native,builtin" "url"
+POL_Wine_OverrideDLL "native,builtin" "urlmon"
+POL_Wine_OverrideDLL "native,builtin" "wintrust"
+POL_Wine_OverrideDLL "native,builtin" "odbccp32"
+POL_Wine_OverrideDLL "builtin" "msi"
+POL_Wine_OverrideDLL "builtin" "ole32"
+POL_Wine_OverrideDLL "builtin" "oleaut32"
+POL_Wine_OverrideDLL "builtin" "olepro32"
+POL_Wine_OverrideDLL "builtin" "rpcrt4"
+POL_Wine_OverrideDLL "builtin" "wininet"
+POL_Wine_OverrideDLL "native" "dciman32"
+
+POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
+POL_Wine "$INSTALLER"
+ 
+POL_Shortcut "REXCRIB.EXE" "$TITLE"
+ 
+POL_SetupWindow_Close
+exit
\ No newline at end of file

Nouveau code source

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-27 09-57)
# Last revision : (2015-03-27 10-09)
# Wine version used : 1.7.39
# Distribution used to test : Linux Mint 17.1 LTS
# Author : Will Wright
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Rex Cribbage"
PREFIX="Rex_Cribbage"

WINEVERSION="1.7.39"
 
POL_SetupWindow_Init

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Hal Mueller" "http://www.halscrib.com" "Will Wright" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "installrex.exe"
        INSTALLER="$CDROM_SETUP"
        cd "$CDROM"
else
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "Rex Cribbage installation"
        INSTALLER="$APP_ANSWER"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "winxp"

POL_Call POL_Install_riched20
POL_Wine_OverrideDLL "native,builtin" "amstream"
POL_Wine_OverrideDLL "native,builtin" "atl"
POL_Wine_OverrideDLL "native,builtin" "browseui"
POL_Wine_OverrideDLL "native,builtin" "crypt32"
POL_Wine_OverrideDLL "native,builtin" "d3dxof"
POL_Wine_OverrideDLL "native,builtin" "devenum"
POL_Wine_OverrideDLL "native,builtin" "dplay"
POL_Wine_OverrideDLL "native,builtin" "dplayx"
POL_Wine_OverrideDLL "native,builtin" "dpnaddr"
POL_Wine_OverrideDLL "native,builtin" "dpnet"
POL_Wine_OverrideDLL "native,builtin" "dpnhpast"
POL_Wine_OverrideDLL "native,builtin" "dpnlobby"
POL_Wine_OverrideDLL "native,builtin" "dxdiagn"
POL_Wine_OverrideDLL "native,builtin" "hhctrl.ocx"
POL_Wine_OverrideDLL "native,builtin" "hlink"
POL_Wine_OverrideDLL "native,builtin" "itss"
POL_Wine_OverrideDLL "native,builtin" "jscript"
POL_Wine_OverrideDLL "native,builtin" "mapi32"
POL_Wine_OverrideDLL "native,builtin" "mlang"
POL_Wine_OverrideDLL "native,builtin" "mshtml"
POL_Wine_OverrideDLL "native,builtin" "msvcirt"
POL_Wine_OverrideDLL "native,builtin" "msvcrt"
POL_Wine_OverrideDLL "native,builtin" "msvcrt40"
POL_Wine_OverrideDLL "native,builtin" "msvcrtd"
POL_Wine_OverrideDLL "native,builtin" "msxml3"
POL_Wine_OverrideDLL "native,builtin" "odbc32"
POL_Wine_OverrideDLL "native,builtin" "odbccp32"
POL_Wine_OverrideDLL "native,builtin" "quartz"
POL_Wine_OverrideDLL "native,builtin" "riched32"
POL_Wine_OverrideDLL "native,builtin" "rsabase"
POL_Wine_OverrideDLL "native,builtin" "secur32"
POL_Wine_OverrideDLL "native,builtin" "shdoclc"
POL_Wine_OverrideDLL "native,builtin" "shcocvw"
POL_Wine_OverrideDLL "native,builtin" "softpub"
POL_Wine_OverrideDLL "native,builtin" "url"
POL_Wine_OverrideDLL "native,builtin" "urlmon"
POL_Wine_OverrideDLL "native,builtin" "wintrust"
POL_Wine_OverrideDLL "native,builtin" "odbccp32"
POL_Wine_OverrideDLL "builtin" "msi"
POL_Wine_OverrideDLL "builtin" "ole32"
POL_Wine_OverrideDLL "builtin" "oleaut32"
POL_Wine_OverrideDLL "builtin" "olepro32"
POL_Wine_OverrideDLL "builtin" "rpcrt4"
POL_Wine_OverrideDLL "builtin" "wininet"
POL_Wine_OverrideDLL "native" "dciman32"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$INSTALLER"
 
POL_Shortcut "REXCRIB.EXE" "$TITLE"
 
POL_SetupWindow_Close
exit

Réponses

Vendredi 27 Mars 2015 à 18:42
Just curious; does it really need all of those overrides? Like, that is a lot of random overrides.
Vendredi 27 Mars 2015 à 18:43
And if possible, could you post up some links to some screenshots, as well, please?
Vendredi 27 Mars 2015 à 18:50
Hi wrigh347,
You should use POL_Wine_WaitExit "$TITLE" instead of POL_SetupWindow_wait ..., it'll save you the trouble write down the default wait message.
Other than that I'm a bit surprized by the amount of POL_Wine_OverrideDLL you needed, but I don't think it can prevent the script from being validated...
Regards
Vendredi 27 Mars 2015 à 18:51
And by the way I added $CDROM_SETUP to the Wiki documentation, because it's indeed used by several scripts already
Vendredi 27 Mars 2015 à 18:58
Oh, I wasn't saying it was bad, just unusual, IME. I just wanted to make sure that it was actually needed, as it seemed extraneous. :)
wrigh347 Vendredi 27 Mars 2015 à 17:36
wrigh347 Anonymous

Messages

 

Réponses

wrigh347 Vendredi 27 Mars 2015 à 17:30
wrigh347 Anonymous

Messages

#!/usr/bin/env playonlinux-bash
# Date : (2015-03-27 09-57)
# Last revision : (2015-03-27 10-09)
# Wine version used : 1.7.39
# Distribution used to test : Linux Mint 17.1 LTS
# Author : Will Wright
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="Rex Cribbage"
PREFIX="Rex_Cribbage"

WINEVERSION="1.7.39"
 
POL_SetupWindow_Init

POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Hal Mueller" "http://www.halscrib.com" "Will Wright" "$PREFIX"
 
# Create a 32bit virtual drive
POL_System_SetArch "x86"

POL_SetupWindow_InstallMethod "LOCAL,CD"

if [ "$INSTALL_METHOD" = "CD" ]; then
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "installrex.exe"
        INSTALLER="$CDROM_SETUP"
        cd "$CDROM"
else
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "Rex Cribbage installation"
        INSTALLER="$APP_ANSWER"
fi

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
Set_OS "winxp"

POL_Call POL_Install_riched20
POL_Wine_OverrideDLL "native,builtin" "amstream"
POL_Wine_OverrideDLL "native,builtin" "atl"
POL_Wine_OverrideDLL "native,builtin" "browseui"
POL_Wine_OverrideDLL "native,builtin" "crypt32"
POL_Wine_OverrideDLL "native,builtin" "d3dxof"
POL_Wine_OverrideDLL "native,builtin" "devenum"
POL_Wine_OverrideDLL "native,builtin" "dplay"
POL_Wine_OverrideDLL "native,builtin" "dplayx"
POL_Wine_OverrideDLL "native,builtin" "dpnaddr"
POL_Wine_OverrideDLL "native,builtin" "dpnet"
POL_Wine_OverrideDLL "native,builtin" "dpnhpast"
POL_Wine_OverrideDLL "native,builtin" "dpnlobby"
POL_Wine_OverrideDLL "native,builtin" "dxdiagn"
POL_Wine_OverrideDLL "native,builtin" "hhctrl.ocx"
POL_Wine_OverrideDLL "native,builtin" "hlink"
POL_Wine_OverrideDLL "native,builtin" "itss"
POL_Wine_OverrideDLL "native,builtin" "jscript"
POL_Wine_OverrideDLL "native,builtin" "mapi32"
POL_Wine_OverrideDLL "native,builtin" "mlang"
POL_Wine_OverrideDLL "native,builtin" "mshtml"
POL_Wine_OverrideDLL "native,builtin" "msvcirt"
POL_Wine_OverrideDLL "native,builtin" "msvcrt"
POL_Wine_OverrideDLL "native,builtin" "msvcrt40"
POL_Wine_OverrideDLL "native,builtin" "msvcrtd"
POL_Wine_OverrideDLL "native,builtin" "msxml3"
POL_Wine_OverrideDLL "native,builtin" "odbc32"
POL_Wine_OverrideDLL "native,builtin" "odbccp32"
POL_Wine_OverrideDLL "native,builtin" "quartz"
POL_Wine_OverrideDLL "native,builtin" "riched32"
POL_Wine_OverrideDLL "native,builtin" "rsabase"
POL_Wine_OverrideDLL "native,builtin" "secur32"
POL_Wine_OverrideDLL "native,builtin" "shdoclc"
POL_Wine_OverrideDLL "native,builtin" "shcocvw"
POL_Wine_OverrideDLL "native,builtin" "softpub"
POL_Wine_OverrideDLL "native,builtin" "url"
POL_Wine_OverrideDLL "native,builtin" "urlmon"
POL_Wine_OverrideDLL "native,builtin" "wintrust"
POL_Wine_OverrideDLL "native,builtin" "odbccp32"
POL_Wine_OverrideDLL "builtin" "msi"
POL_Wine_OverrideDLL "builtin" "ole32"
POL_Wine_OverrideDLL "builtin" "oleaut32"
POL_Wine_OverrideDLL "builtin" "olepro32"
POL_Wine_OverrideDLL "builtin" "rpcrt4"
POL_Wine_OverrideDLL "builtin" "wininet"
POL_Wine_OverrideDLL "native" "dciman32"

POL_SetupWindow_wait "$(eval_gettext 'Please wait while $TITLE is installed.')" "$TITLE"
POL_Wine "$INSTALLER"
 
POL_Shortcut "REXCRIB.EXE" "$TITLE"
 
POL_SetupWindow_Close
exit

Réponses

Vendredi 27 Mars 2015 à 17:34
Post the script correctly. Read the wiki if you are having trouble.

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