The Elder Scrolls III - Morrowind

Informations

Creator Message
Tutul
Moderator

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 58122
Wine: 1.5.22 # Better compatibility

Feedbacks

Screenshots

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

Contributions

Filters:

Contribute
Member Message
Tutul Monday 21 July 2014 at 6:45
Tutul
Moderator

Information

This update has been approved by the team.

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
Moderator

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