Microsoft Freecell

Informations

Créateur Messages
Quentin PÂRIS Anonymous

Information

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

Informations

Plate-formes :
Téléchargements : 35175
Wine: 4.0.4

Retours d'expérience

Description

Card game from Microsoft Windows.
Wikipedia.

Captures d'écran

Miniature

Code source

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

Contribuer
Membre Messages
Dadu042 Dimanche 13 Mars 2022 à 22:46
Dadu042

Information

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

Messages

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

Nouveau code source

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

Réponses

petch Mardi 22 Décembre 2015 à 20:23
petch

Messages

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]

 

Réponses

Anonymous
Jeudi 21 Février 2019 à 11:34
it doesn't work
Anonymous
Mardi 9 Novembre 2021 à 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.