Microsoft Freecell

Informations

Creator Message
Quentin PÂRIS Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 35139
Wine: 4.0.4

Feedbacks

Description

Card game from Microsoft Windows.
Wikipedia.

Screenshots

Miniature

Source code

#!/bin/bash
# Date : (200x ?)
# Last revision : see the changelog below
# Wine version used : see the changelog below
# Distribution used to test : Ubuntu 20.04 64 bits (Linux kernel v5.x). GPU: X
# Author : Quentin Paris
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# TESTED Editions:
#
# Middlewares used by this software : 
#
# CHANGELOG
# [Dadu042] (2022-03-13 10-00).
#   Fix download URL.
#   Update some old functions.
#   However the program did fail to run (crash) with Wine 7.0, 6.0.1, 5.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Microsoft Freecell"
WINEVERSION="4.0.4"
EDITOR="Microsoft"
EDITOR_URL="http://www.microsoft.com"
PREFIX="MicrosoftFreecell"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_RequiredVersion "4.1.1" || POL_Debug_Fatal "PlayOnLinux 4.1.x required"
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win98"
 
mkdir -p "$WINEPREFIX/drive_c/FreeCell"
cd "$WINEPREFIX/drive_c/FreeCell" || POL_Debug_Fatal "Unable to change directory"
 
POL_Call POL_Install_LunaTheme
POL_Download "http://ftpmirror.your.org/pub/misc/ftp.microsoft.com/Softlib/MSLFILES/PW1118.EXE"
POL_Wine_WaitBefore "$TITLE"
POL_System_unzip "PW1118.EXE" -d "$WINEPREFIX/drive_c/"
 
POL_Shortcut "FREECELL.EXE"  "$TITLE" "" "" "Game;"
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 13 March 2022 at 22:46
Dadu042

Information

This update has been approved by the team.

Message

See changelog.

Differences

@@ -1,32 +1,52 @@
 #!/bin/bash
+# Date : (200x ?)
+# Last revision : see the changelog below
+# Wine version used : see the changelog below
+# Distribution used to test : Ubuntu 20.04 64 bits (Linux kernel v5.x). GPU: X
+# Author : Quentin Paris
+# Licence : Retail
+# Only For : http://www.playonlinux.com
+#
+# TESTED Editions:
+#
+# Middlewares used by this software : 
+#
+# CHANGELOG
+# [Dadu042] (2022-03-13 10-00).
+#   Fix download URL.
+#   Update some old functions.
+#   However the program did fail to run (crash) with Wine 7.0, 6.0.1, 5.0.3
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-
+ 
 TITLE="Microsoft Freecell"
-WINEVERSION="1.4"
+WINEVERSION="4.0.4"
 EDITOR="Microsoft"
 EDITOR_URL="http://www.microsoft.com"
 PREFIX="MicrosoftFreecell"
-
+ 
 POL_SetupWindow_Init
 POL_Debug_Init
-
+ 
 POL_RequiredVersion "4.1.1" || POL_Debug_Fatal "PlayOnLinux 4.1.x required"
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "" "$PREFIX"
-
+ 
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "$WINEVERSION"
 
+Set_OS "win98"
+ 
 mkdir -p "$WINEPREFIX/drive_c/FreeCell"
 cd "$WINEPREFIX/drive_c/FreeCell" || POL_Debug_Fatal "Unable to change directory"
-
+ 
 POL_Call POL_Install_LunaTheme
-POL_System_wget "ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE" "Win32s"
+POL_Download "http://ftpmirror.your.org/pub/misc/ftp.microsoft.com/Softlib/MSLFILES/PW1118.EXE"
 POL_Wine_WaitBefore "$TITLE"
-unzip "PW1118.EXE"
-
-POL_Shortcut "FREECELL.EXE"  "$TITLE"
-
+POL_System_unzip "PW1118.EXE" -d "$WINEPREFIX/drive_c/"
+ 
+POL_Shortcut "FREECELL.EXE"  "$TITLE" "" "" "Game;"
+ 
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (200x ?)
# Last revision : see the changelog below
# Wine version used : see the changelog below
# Distribution used to test : Ubuntu 20.04 64 bits (Linux kernel v5.x). GPU: X
# Author : Quentin Paris
# Licence : Retail
# Only For : http://www.playonlinux.com
#
# TESTED Editions:
#
# Middlewares used by this software : 
#
# CHANGELOG
# [Dadu042] (2022-03-13 10-00).
#   Fix download URL.
#   Update some old functions.
#   However the program did fail to run (crash) with Wine 7.0, 6.0.1, 5.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Microsoft Freecell"
WINEVERSION="4.0.4"
EDITOR="Microsoft"
EDITOR_URL="http://www.microsoft.com"
PREFIX="MicrosoftFreecell"
 
POL_SetupWindow_Init
POL_Debug_Init
 
POL_RequiredVersion "4.1.1" || POL_Debug_Fatal "PlayOnLinux 4.1.x required"
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$EDITOR_URL" "" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

Set_OS "win98"
 
mkdir -p "$WINEPREFIX/drive_c/FreeCell"
cd "$WINEPREFIX/drive_c/FreeCell" || POL_Debug_Fatal "Unable to change directory"
 
POL_Call POL_Install_LunaTheme
POL_Download "http://ftpmirror.your.org/pub/misc/ftp.microsoft.com/Softlib/MSLFILES/PW1118.EXE"
POL_Wine_WaitBefore "$TITLE"
POL_System_unzip "PW1118.EXE" -d "$WINEPREFIX/drive_c/"
 
POL_Shortcut "FREECELL.EXE"  "$TITLE" "" "" "Game;"
 
POL_SetupWindow_Close
exit 0

Replies

petch Tuesday 22 December 2015 at 20:23
petch

Message

Weird, it seems ftp.microsoft.com rejects passive connections:

$ wget -v 'ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE'
--2015-12-22 20:20:43--  ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE
           => «PW1118.EXE»
Résolution de ftp.microsoft.com (ftp.microsoft.com)... 134.170.188.232
Connexion vers ftp.microsoft.com (ftp.microsoft.com)|134.170.188.232|:21... connecté.
Ouverture de session en anonymous... Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD (1) /softlib/MSLFILES ... complété.
==> SIZE PW1118.EXE ... 2530739
==> PASV ... ne peut établir la connexion vers 134.170.188.232 sur le port 23647: Connexion terminée par expiration du délai d'attente.
Nouvel essai.

--2015-12-22 20:21:51--  ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE
  (essai: 2) => «PW1118.EXE»
Connexion vers ftp.microsoft.com (ftp.microsoft.com)|134.170.188.232|:21... connecté.
Ouverture de session en anonymous... Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD (1) /softlib/MSLFILES ... complété.
==> SIZE PW1118.EXE ... 2530739
==> PASV ... ^C

$ wget --no-passive-ftp 'ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE'
--2015-12-22 20:22:18--  ftp://ftp.microsoft.com/softlib/MSLFILES/PW1118.EXE
           => «PW1118.EXE»
Résolution de ftp.microsoft.com (ftp.microsoft.com)... 134.170.188.232
Connexion vers ftp.microsoft.com (ftp.microsoft.com)|134.170.188.232|:21... connecté.
Ouverture de session en anonymous... Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD (1) /softlib/MSLFILES ... complété.
==> SIZE PW1118.EXE ... 2530739
==> PORT ... complété.    ==> RETR PW1118.EXE ... complété.
Taille : 2530739 (2,4M) (non certifiée)

100%[===================================================================================================================>] 2 530 739    236K/s   ds 11s     

2015-12-22 20:22:32 (216 KB/s) - «PW1118.EXE» enregistré [2530739]

 

Replies

Anonymous
Thursday 21 February 2019 at 11:34
it doesn't work
Anonymous
Tuesday 9 November 2021 at 15:48
Hello, the site "ftp.microsoft.com" not work. After litle googling I found this one (http://ftpmirror.your.org/pub/misc/ftp.microsoft.com/Softlib/MSLFILES/), change in (local copy of) a script and game installs. What about it`s security - I don`t know! Sorry for a (possibly) poor english - I`m bulgarian.