The Elder Scrolls III - Morrowind

Informations

Creator Message
Tutul

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 67478
Wine: 3.0.3

Feedbacks

Description

Open-world action role-playing video game, 2002.

Note: running the game via the project OpenMW may be a better option, it's a new game engine, Linux native.

Appdb.winehq.org , PCGamingWiki.

Screenshots

Miniature

Source code

#!/bin/bash
# Last revision : see changelog
# Wine version used : system
# License : GNU/GPL v3
  
# CHANGELOG
# [Tutul, modified by Tinou, modified by DJYoshaBYD] (2014-06-15 14:20)
#   First script. Wine 1.2
# [Dadu042] (2020-01-06)
#   Wine 1.5.22 -> system version.
#   Add POL_Shortcut_Document
#   Improve POL_Shortcut
# [Dadu042] (2020-01-07 01:00)
#   Wine system version -> 3.0.3 (because see Known issue with Wine 3.0.0 ).
# [Dadu042] (2020-06-24 01:00)
#   Disable POL_Sudo_UnhideCdrom because it seems broken.

 
# KNOWN ISSUES:
#  - Wine amd64 3.0.0: crash when launching a game session from the main menu. Fix: Wine 3.0.3, 2.22
#  - Wine amd64 3.20: mouse cursor is jerky on the main menu.
#  - Wine amd64 4.0.3: X
0
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"
EDITOR="Bethesda Softworks"
GAME_URL="http://bethsoft.com/"
AUTHOR="Tutul"
GAME_VMS="32"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 708
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
    
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
  
POL_Wine_PrefixCreate "3.0.3"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
# Choose between CD and Digital Download version
POL_SetupWindow_InstallMethod "CD,LOCAL"
  
if [ "$INSTALL_METHOD" == "CD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
   
        POL_SetupWindow_cdrom
        
        # Disabled because I get the message 'Error in source, unable to mount the CD-ROM.' on Ubuntu 20.04 Dadu042 20200-06
        # POL_Call POL_Sudo_UnhideCdrom

        POL_SetupWindow_check_cdrom "Setup.exe"
   
        SETUP_EXE="$CDROM/Setup.exe"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
    
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
    
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
    
# Run the install
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"
  
## PlayOnMac Section 
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section 
  
POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind" "" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf"
  
POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"
  
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Wednesday 24 June 2020 at 13:39
Dadu042

Information

This update has been approved by the team.

Differences

@@ -2,7 +2,7 @@
 # Last revision : see changelog
 # Wine version used : system
 # License : GNU/GPL v3
- 
+  
 # CHANGELOG
 # [Tutul, modified by Tinou, modified by DJYoshaBYD] (2014-06-15 14:20)
 #   First script. Wine 1.2
@@ -12,8 +12,10 @@
 #   Improve POL_Shortcut
 # [Dadu042] (2020-01-07 01:00)
 #   Wine system version -> 3.0.3 (because see Known issue with Wine 3.0.0 ).
+# [Dadu042] (2020-06-24 01:00)
+#   Disable POL_Sudo_UnhideCdrom because it seems broken.
 
-
+ 
 # KNOWN ISSUES:
 #  - Wine amd64 3.0.0: crash when launching a game session from the main menu. Fix: Wine 3.0.3, 2.22
 #  - Wine amd64 3.20: mouse cursor is jerky on the main menu.
@@ -21,43 +23,48 @@
 0
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+   
 TITLE="The Elder Scrolls 3 - Morrowind"
 PREFIX="TES3_Morrowind"
 EDITOR="Bethesda Softworks"
 GAME_URL="http://bethsoft.com/"
 AUTHOR="Tutul"
 GAME_VMS="32"
- 
+  
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 708
- 
+  
 # Starting debugging API
 POL_Debug_Init
- 
+  
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
- 
+
+POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
-   
+    
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "x86"
- 
+  
 POL_Wine_PrefixCreate "3.0.3"
 # POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
- 
-# Choose between DVD and Digital Download version
-POL_SetupWindow_InstallMethod "DVD,LOCAL"
- 
-if [ "$INSTALL_METHOD" == "DVD" ]; then
+  
+# Choose between CD and Digital Download version
+POL_SetupWindow_InstallMethod "CD,LOCAL"
+  
+if [ "$INSTALL_METHOD" == "CD" ]; then
         # Asking for CDROM and checking if it's correct one
         POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
-  
+   
         POL_SetupWindow_cdrom
-        POL_Call POL_Sudo_UnhideCdrom
+        
+        # Disabled because I get the message 'Error in source, unable to mount the CD-ROM.' on Ubuntu 20.04 Dadu042 20200-06
+        # POL_Call POL_Sudo_UnhideCdrom
+
         POL_SetupWindow_check_cdrom "Setup.exe"
-  
+   
         SETUP_EXE="$CDROM/Setup.exe"
 else
         # Asking then installing DDV of the game
@@ -65,27 +72,27 @@
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
 fi
-   
+    
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-   
+    
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
-   
+    
 # Run the install
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine $SETUP_EXE
 POL_Wine_WaitExit "$TITLE"
- 
+  
 ## PlayOnMac Section 
 [ "$PLAYONMAC" == "" ] && Set_Managed "On"
 [ "$PLAYONMAC" == "" ] || Set_Managed "Off"
 ## End Section 
- 
+  
 POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind" "" "" "Game;RolePlaying;"
 POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf"
- 
+  
 POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"
- 
+  
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Last revision : see changelog
# Wine version used : system
# License : GNU/GPL v3
  
# CHANGELOG
# [Tutul, modified by Tinou, modified by DJYoshaBYD] (2014-06-15 14:20)
#   First script. Wine 1.2
# [Dadu042] (2020-01-06)
#   Wine 1.5.22 -> system version.
#   Add POL_Shortcut_Document
#   Improve POL_Shortcut
# [Dadu042] (2020-01-07 01:00)
#   Wine system version -> 3.0.3 (because see Known issue with Wine 3.0.0 ).
# [Dadu042] (2020-06-24 01:00)
#   Disable POL_Sudo_UnhideCdrom because it seems broken.

 
# KNOWN ISSUES:
#  - Wine amd64 3.0.0: crash when launching a game session from the main menu. Fix: Wine 3.0.3, 2.22
#  - Wine amd64 3.20: mouse cursor is jerky on the main menu.
#  - Wine amd64 4.0.3: X
0
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"
EDITOR="Bethesda Softworks"
GAME_URL="http://bethsoft.com/"
AUTHOR="Tutul"
GAME_VMS="32"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 708
  
# Starting debugging API
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

POL_RequiredVersion "4.3.0" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
    
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
  
POL_Wine_PrefixCreate "3.0.3"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
  
# Choose between CD and Digital Download version
POL_SetupWindow_InstallMethod "CD,LOCAL"
  
if [ "$INSTALL_METHOD" == "CD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
   
        POL_SetupWindow_cdrom
        
        # Disabled because I get the message 'Error in source, unable to mount the CD-ROM.' on Ubuntu 20.04 Dadu042 20200-06
        # POL_Call POL_Sudo_UnhideCdrom

        POL_SetupWindow_check_cdrom "Setup.exe"
   
        SETUP_EXE="$CDROM/Setup.exe"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
    
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
    
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
    
# Run the install
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"
  
## PlayOnMac Section 
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section 
  
POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind" "" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf"
  
POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"
  
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Tuesday 7 January 2020 at 1:16
Dadu042

Warning

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

Differences

@@ -1,56 +1,63 @@
 #!/bin/bash
-# Last revision : (2014-06-15 14:20)
-# Wine version used : 1.2 - 1.5.22
+# Last revision : see changelog
+# Wine version used : system
 # License : GNU/GPL v3
-
+ 
 # CHANGELOG
 # [Tutul, modified by Tinou, modified by DJYoshaBYD] (2014-06-15 14:20)
-#   First script.
+#   First script. Wine 1.2
 # [Dadu042] (2020-01-06)
 #   Wine 1.5.22 -> system version.
 #   Add POL_Shortcut_Document
 #   Improve POL_Shortcut
+# [Dadu042] (2020-01-07 01:00)
+#   Wine system version -> 3.0.3 (because see Known issue with Wine 3.0.0 ).
 
 
+# KNOWN ISSUES:
+#  - Wine amd64 3.0.0: crash when launching a game session from the main menu. Fix: Wine 3.0.3, 2.22
+#  - Wine amd64 3.20: mouse cursor is jerky on the main menu.
+#  - Wine amd64 4.0.3: X
+0
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
- 
+  
 TITLE="The Elder Scrolls 3 - Morrowind"
 PREFIX="TES3_Morrowind"
 EDITOR="Bethesda Softworks"
 GAME_URL="http://bethsoft.com/"
 AUTHOR="Tutul"
 GAME_VMS="32"
-
+ 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 708
-
+ 
 # Starting debugging API
 POL_Debug_Init
-
+ 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
-
+ 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
-  
+   
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "x86"
-
-POL_Wine_PrefixCreate
+ 
+POL_Wine_PrefixCreate "3.0.3"
 # POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
-
+ 
 # Choose between DVD and Digital Download version
 POL_SetupWindow_InstallMethod "DVD,LOCAL"
-
+ 
 if [ "$INSTALL_METHOD" == "DVD" ]; then
         # Asking for CDROM and checking if it's correct one
         POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
- 
+  
         POL_SetupWindow_cdrom
         POL_Call POL_Sudo_UnhideCdrom
         POL_SetupWindow_check_cdrom "Setup.exe"
- 
+  
         SETUP_EXE="$CDROM/Setup.exe"
 else
         # Asking then installing DDV of the game
@@ -58,27 +65,27 @@
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
 fi
-  
+   
 # Asking about memory size of graphic card
 POL_SetupWindow_VMS $GAME_VMS
-  
+   
 # Set Graphic Card information keys for wine
 POL_Wine_SetVideoDriver
-  
+   
 # Run the install
 POL_Wine_WaitBefore "$TITLE"
 POL_Wine $SETUP_EXE
 POL_Wine_WaitExit "$TITLE"
-
+ 
 ## PlayOnMac Section 
 [ "$PLAYONMAC" == "" ] && Set_Managed "On"
 [ "$PLAYONMAC" == "" ] || Set_Managed "Off"
 ## End Section 
-
+ 
 POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind" "" "" "Game;RolePlaying;"
-POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf" 
-
+POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf"
+ 
 POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"
-
-POL_SetupWindow_Close 
+ 
+POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Last revision : see changelog
# Wine version used : system
# License : GNU/GPL v3
 
# CHANGELOG
# [Tutul, modified by Tinou, modified by DJYoshaBYD] (2014-06-15 14:20)
#   First script. Wine 1.2
# [Dadu042] (2020-01-06)
#   Wine 1.5.22 -> system version.
#   Add POL_Shortcut_Document
#   Improve POL_Shortcut
# [Dadu042] (2020-01-07 01:00)
#   Wine system version -> 3.0.3 (because see Known issue with Wine 3.0.0 ).


# KNOWN ISSUES:
#  - Wine amd64 3.0.0: crash when launching a game session from the main menu. Fix: Wine 3.0.3, 2.22
#  - Wine amd64 3.20: mouse cursor is jerky on the main menu.
#  - Wine amd64 4.0.3: X
0
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"
EDITOR="Bethesda Softworks"
GAME_URL="http://bethsoft.com/"
AUTHOR="Tutul"
GAME_VMS="32"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 708
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
   
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
 
POL_Wine_PrefixCreate "3.0.3"
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,LOCAL"
 
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
  
        POL_SetupWindow_cdrom
        POL_Call POL_Sudo_UnhideCdrom
        POL_SetupWindow_check_cdrom "Setup.exe"
  
        SETUP_EXE="$CDROM/Setup.exe"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
   
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
   
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
   
# Run the install
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"
 
## PlayOnMac Section 
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section 
 
POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind" "" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf"
 
POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"
 
POL_SetupWindow_Close
exit 0

Replies

Dadu042 Tuesday 7 January 2020 at 0:01
Dadu042

Warning

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

Differences

@@ -31,9 +31,6 @@
 
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
-# Setting Wine Version
-# WORKING_WINE_VERSION="1.5.22" # Better compatibility
-
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
   

New source code

#!/bin/bash
# Last revision : (2014-06-15 14:20)
# Wine version used : 1.2 - 1.5.22
# License : GNU/GPL v3

# CHANGELOG
# [Tutul, modified by Tinou, modified by DJYoshaBYD] (2014-06-15 14:20)
#   First script.
# [Dadu042] (2020-01-06)
#   Wine 1.5.22 -> system version.
#   Add POL_Shortcut_Document
#   Improve POL_Shortcut


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"
EDITOR="Bethesda Softworks"
GAME_URL="http://bethsoft.com/"
AUTHOR="Tutul"
GAME_VMS="32"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 708

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"

POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,LOCAL"

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
 
        POL_SetupWindow_cdrom
        POL_Call POL_Sudo_UnhideCdrom
        POL_SetupWindow_check_cdrom "Setup.exe"
 
        SETUP_EXE="$CDROM/Setup.exe"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Run the install
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"

## PlayOnMac Section 
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section 

POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind" "" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf" 

POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"

POL_SetupWindow_Close 
exit 0

Replies

Dadu042 Tuesday 7 January 2020 at 0:00
Dadu042

Warning

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

Differences

@@ -1,9 +1,17 @@
 #!/bin/bash
 # Last revision : (2014-06-15 14:20)
-# Wine version used : 1.2 - 1.5.22 
-# Author : Tutul, modified by Tinou, modified by DJYoshaBYD
+# Wine version used : 1.2 - 1.5.22
 # License : GNU/GPL v3
 
+# CHANGELOG
+# [Tutul, modified by Tinou, modified by DJYoshaBYD] (2014-06-15 14:20)
+#   First script.
+# [Dadu042] (2020-01-06)
+#   Wine 1.5.22 -> system version.
+#   Add POL_Shortcut_Document
+#   Improve POL_Shortcut
+
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
@@ -24,14 +32,16 @@
 POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
 
 # Setting Wine Version
-WORKING_WINE_VERSION="1.5.22" # Better compatibility
+# WORKING_WINE_VERSION="1.5.22" # Better compatibility
 
 # Setting prefix path
 POL_Wine_SelectPrefix "$PREFIX"
   
 # Downloading wine if necessary and creating prefix
 POL_System_SetArch "x86"
-POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Wine_PrefixCreate
+# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 # Choose between DVD and Digital Download version
 POL_SetupWindow_InstallMethod "DVD,LOCAL"
@@ -68,7 +78,8 @@
 [ "$PLAYONMAC" == "" ] || Set_Managed "Off"
 ## End Section 
 
-POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind"
+POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind" "" "" "Game;RolePlaying;"
+POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf" 
 
 POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"
 

New source code

#!/bin/bash
# Last revision : (2014-06-15 14:20)
# Wine version used : 1.2 - 1.5.22
# License : GNU/GPL v3

# CHANGELOG
# [Tutul, modified by Tinou, modified by DJYoshaBYD] (2014-06-15 14:20)
#   First script.
# [Dadu042] (2020-01-06)
#   Wine 1.5.22 -> system version.
#   Add POL_Shortcut_Document
#   Improve POL_Shortcut


[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"
EDITOR="Bethesda Softworks"
GAME_URL="http://bethsoft.com/"
AUTHOR="Tutul"
GAME_VMS="32"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 708

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
# WORKING_WINE_VERSION="1.5.22" # Better compatibility

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"

POL_Wine_PrefixCreate
# POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,LOCAL"

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
 
        POL_SetupWindow_cdrom
        POL_Call POL_Sudo_UnhideCdrom
        POL_SetupWindow_check_cdrom "Setup.exe"
 
        SETUP_EXE="$CDROM/Setup.exe"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Run the install
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"

## PlayOnMac Section 
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section 

POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind" "" "" "Game;RolePlaying;"
POL_Shortcut_Document "$SHORTCUT_NAME" "man*.pdf" 

POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"

POL_SetupWindow_Close 
exit 0

Replies

Tutul Monday 21 July 2014 at 6:45
Tutul

Warning

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

Differences

@@ -48,7 +48,7 @@
 else
         # Asking then installing DDV of the game
         cd "$HOME"
-        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
+        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
 fi
   

New source code

#!/bin/bash
# Last revision : (2014-06-15 14:20)
# Wine version used : 1.2 - 1.5.22 
# Author : Tutul, modified by Tinou, modified by DJYoshaBYD
# License : GNU/GPL v3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"
EDITOR="Bethesda Softworks"
GAME_URL="http://bethsoft.com/"
AUTHOR="Tutul"
GAME_VMS="32"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 708

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.5.22" # Better compatibility

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,LOCAL"

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
 
        POL_SetupWindow_cdrom
        POL_Call POL_Sudo_UnhideCdrom
        POL_SetupWindow_check_cdrom "Setup.exe"
 
        SETUP_EXE="$CDROM/Setup.exe"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Run the install
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"

## PlayOnMac Section 
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section 

POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind"

POL_SetupWindow_message "$(eval_gettext 'If you have the extentions, you should install Tribunal first !')" "$TITLE"

POL_SetupWindow_Close 
exit 0

Replies

Tutul Sunday 15 June 2014 at 14:33
Tutul

Warning

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

Message

Français :

- Mise à jour du script pour les nouveaux standard

- Changement de la version de wine pour une meilleur compatibilité (Or -> Platine)

- Suppression des lignes obsolètes

 

English :

- Update script for new standard

- Changing the version of wine for better compatibility (Gold -> Platinum)

- Elimination of obsolete lines

 

Differences

@@ -1,32 +1,37 @@
 #!/bin/bash
-# Wine version used : 1.2
+# Last revision : (2014-06-15 14:20)
+# Wine version used : 1.2 - 1.5.22 
 # Author : Tutul, modified by Tinou, modified by DJYoshaBYD
+# License : GNU/GPL v3
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="The Elder Scrolls 3 - Morrowind"
 PREFIX="TES3_Morrowind"
- 
-if [ "$POL_LANG" == "fr" ]; then
-LNG_INSERT_MEDIA="Veuillez insérer le disque $TITLE dans votre lecteur\nsi ce n'est pas déja fait."
-LNG_WAIT_END="Appuyez sur \"Suivant\" UNIQUEMENT quand l'installation du\njeu sera terminée sous peine de devoir recommencer l'installation."
-LNG_EXTENTIONS="Si vous avez les extensions, vous devrez commencer par Tribunal."
-LNG_SUCCES="$TITLE a été installé avec succès."
-else
-LNG_INSERT_MEDIA="Please insert $TITLE media into your disk drive\nif not already done."
-LNG_WAIT_END="Click on \"Next\" ONLY when the game installation is finished\nor you will have to redo the installation."
-LNG_EXTENTIONS="If you’ve the extentions, you should install Tribunal first."
-LNG_SUCCES="$TITLE has been installed successfully."
-fi
+EDITOR="Bethesda Softworks"
+GAME_URL="http://bethsoft.com/"
+AUTHOR="Tutul"
+GAME_VMS="32"
 
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
 POL_SetupWindow_Init
+POL_SetupWindow_SetID 708
 
-POL_SetupWindow_presentation "$TITLE" "Bethesda Softworks" "http://bethsoft.com" "Tutul" "$PREFIX" 
+# Starting debugging API
+POL_Debug_Init
 
-POL_Wine_SelectPrefix "$PREFIX" 
-POL_Wine_PrefixCreate "1.2.3"
+POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
+
+# Setting Wine Version
+WORKING_WINE_VERSION="1.5.22" # Better compatibility
+
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+  
+# Downloading wine if necessary and creating prefix
+POL_System_SetArch "x86"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
 
 # Choose between DVD and Digital Download version
 POL_SetupWindow_InstallMethod "DVD,LOCAL"
@@ -39,18 +44,24 @@
         POL_Call POL_Sudo_UnhideCdrom
         POL_SetupWindow_check_cdrom "Setup.exe"
  
-        SetupIs="$CDROM/Setup.exe"
- 
-        POL_Wine start /unix "$SetupIs"
-        POL_Wine_WaitExit "$TITLE"
+        SETUP_EXE="$CDROM/Setup.exe"
 else
         # Asking then installing DDV of the game
         cd "$HOME"
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
-        POL_Wine start /unix "$SETUP_EXE"
-        POL_Wine_WaitExit "$TITLE"
 fi
+  
+# Asking about memory size of graphic card
+POL_SetupWindow_VMS $GAME_VMS
+  
+# Set Graphic Card information keys for wine
+POL_Wine_SetVideoDriver
+  
+# Run the install
+POL_Wine_WaitBefore "$TITLE"
+POL_Wine $SETUP_EXE
+POL_Wine_WaitExit "$TITLE"
 
 ## PlayOnMac Section 
 [ "$PLAYONMAC" == "" ] && Set_Managed "On"
@@ -59,7 +70,7 @@
 
 POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind"
 
-POL_SetupWindow_message "$LNG_EXTENTIONS"
+POL_SetupWindow_message "$(eval_gettext 'If you’ve the extentions, you should install Tribunal first !')"
 
 POL_SetupWindow_Close 
-exit
\ No newline at end of file
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Last revision : (2014-06-15 14:20)
# Wine version used : 1.2 - 1.5.22 
# Author : Tutul, modified by Tinou, modified by DJYoshaBYD
# License : GNU/GPL v3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"
EDITOR="Bethesda Softworks"
GAME_URL="http://bethsoft.com/"
AUTHOR="Tutul"
GAME_VMS="32"

POL_GetSetupImages "http://files.playonlinux.com/resources/setups/morrowind/top.jpg" "http://files.playonlinux.com/resources/setups/morrowind/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 708

# Starting debugging API
POL_Debug_Init

POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"

# Setting Wine Version
WORKING_WINE_VERSION="1.5.22" # Better compatibility

# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"
  
# Downloading wine if necessary and creating prefix
POL_System_SetArch "x86"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Choose between DVD and Digital Download version
POL_SetupWindow_InstallMethod "DVD,LOCAL"

if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert game media into your disk drive\nif not already done.')" "$TITLE"
 
        POL_SetupWindow_cdrom
        POL_Call POL_Sudo_UnhideCdrom
        POL_SetupWindow_check_cdrom "Setup.exe"
 
        SETUP_EXE="$CDROM/Setup.exe"
else
        # Asking then installing DDV of the game
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
fi
  
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
  
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
  
# Run the install
POL_Wine_WaitBefore "$TITLE"
POL_Wine $SETUP_EXE
POL_Wine_WaitExit "$TITLE"

## PlayOnMac Section 
[ "$PLAYONMAC" == "" ] && Set_Managed "On"
[ "$PLAYONMAC" == "" ] || Set_Managed "Off"
## End Section 

POL_Shortcut "Morrowind Launcher.exe" "The Elder Scrolls III - Morrowind"

POL_SetupWindow_message "$(eval_gettext 'If you’ve the extentions, you should install Tribunal first !')"

POL_SetupWindow_Close 
exit 0

Replies

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