Rex Cribbage

Informatie

Creator Bericht
wrigh347 Anonymous

Information

This installer has been approved by the team.

Informatie

Platforms:
Downloads: 5889
Wine: 1.7.39

Feedbacks

Omschrijving

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

Broncode

#!/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:

Contribute
Member Bericht
wrigh347 Vrijdag 27 Maart 2015 om 20:19
wrigh347 Anonymous

Bericht

I tested it on a mac and it worked.
 

Antwoorden

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

Information

This update has been approved by the team.

Bericht

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

New source code

#!/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

Antwoorden

Vrijdag 27 Maart 2015 om 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 Vrijdag 27 Maart 2015 om 19:00
wrigh347 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Bericht

 

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

New source code

#!/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

Antwoorden

Vrijdag 27 Maart 2015 om 19:01
Looks good. I noticed that there are far, far fewer overrides now. This is tested working fine still?
Vrijdag 27 Maart 2015 om 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
Vrijdag 27 Maart 2015 om 19:09
I just tested it. The script still works. I am going to try and test it on a mac soon.
Vrijdag 27 Maart 2015 om 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 Vrijdag 27 Maart 2015 om 17:46
wrigh347 Anonymous

Warning

This update has not been approved yet by the team.
Use it at your own risk

Bericht

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

New source code

#!/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

Antwoorden

Vrijdag 27 Maart 2015 om 18:42
Just curious; does it really need all of those overrides? Like, that is a lot of random overrides.
Vrijdag 27 Maart 2015 om 18:43
And if possible, could you post up some links to some screenshots, as well, please?
Vrijdag 27 Maart 2015 om 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
Vrijdag 27 Maart 2015 om 18:51
And by the way I added $CDROM_SETUP to the Wiki documentation, because it's indeed used by several scripts already
Vrijdag 27 Maart 2015 om 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 Vrijdag 27 Maart 2015 om 17:36
wrigh347 Anonymous

Bericht

 

Antwoorden

wrigh347 Vrijdag 27 Maart 2015 om 17:30
wrigh347 Anonymous

Bericht

#!/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

Antwoorden

Vrijdag 27 Maart 2015 om 17:34
Post the script correctly. Read the wiki if you are having trouble.