The forum

[Script] Enderal

Author Replies
plata Tuesday 2 August 2016 at 14:45
plata

The script installs the Skyrim total conversion Enderal. It is based on the Skyrim script by GNU_Raziel.

Icons:

Enderal-48x48.png

https://ibin.co/2qBDKgVqSali.png

Enderal-22x22.png

https://ibin.co/2qBDlDty9NtM.png

left.png

https://ibin.co/2qBDxOqRwD8Q.png

top.png

https://ibin.co/2qBE8x4b7RQF.png

 

Hints:

  • Install .NET 4.5 manually with winetricks. The POL_Install scripts for .NET are seriously broken...
#!/bin/bash
# Date : (2012-02-24 21:00)
# Last revision : (2016-08-02 18:00)
# Wine version used : 1.8.2
# Distribution used to test : Kubuntu 16.04 x64
# Author : GNU_Raziel, Plata
# Licence : Retail
# Only For : http://www.playonmac.com
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Enderal"
PREFIX="Enderal"
EDITOR="SureAI"
GAME_URL="http://sureai.net/games/enderal/"
AUTHOR="Plata"
WORKING_WINE_VERSION="1.8.2"
GAME_VMS="1024"
STEAM_ID="72850"
 
# Starting the script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/Enderal/top.jpg" "http://files.playonlinux.com/resources/setups/Enderal/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID 1005
 
# 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" # For dotnet/mono
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

# Installing mandatory dependencies
POL_Call POL_Install_vcrun2008 # Fix game issue
#POL_Call POL_Install_dotnet45
POL_Call POL_Install_dxfullsetup # Fix game crash
POL_Call POL_Install_steam
 
# Fix PulseAudio issue
which pulseaudio && Set_OS "win7"
 
# Asking about memory size of graphic card
POL_SetupWindow_VMS $GAME_VMS
 
# Set Graphic Card information keys for wine
POL_Wine_SetVideoDriver
 
## Fix for this game
POL_Wine_X11Drv "GrabFullscreen" "Y"
 
# Mandatory pre-install fix for steam
POL_Call POL_Install_steam_flags "$STEAM_ID"
 
# Install Skyrim
# Choose between DVD and Digital Download version
POL_SetupWindow_message "$(eval_gettext 'Select the installation method for Skyrim.')" "$(eval_gettext 'Skyrim Installation.')"
POL_SetupWindow_InstallMethod "DVD,STEAM"
if [ "$INSTALL_METHOD" == "DVD" ]; then
        # Asking for CDROM and checking if it's correct one
        POL_SetupWindow_message "$(eval_gettext 'Please insert the game media into your disk drive')" "$TITLE"
        POL_SetupWindow_cdrom
        POL_SetupWindow_check_cdrom "The Elder Scrolls V- Skyrim_disk1_0.sid"
        POL_Wine start /unix "$CDROM/setup.exe"
        POL_Wine_WaitExit "$TITLE"
else
        # Steam install
        POL_SetupWindow_message "$(eval_gettext 'When Skyrim download by Steam is finished,\nDo NOT click on Play.\n\nClose COMPLETELY the Steam interface, \nso that the installation script can continue.')" "Skyrim"
        cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
        POL_Wine start /unix "steam.exe" steam://install/$STEAM_ID
fi

# Install Enderal

# Install Skyrim Script Extender (SKSE)
cd "$WINEPREFIX/drive_c/$PROGRAMFILES/Steam"
POL_Wine start /unix "steam.exe" steam://install/365720

# Select installation method of Enderal launcher
POL_SetupWindow_message "$(eval_gettext 'Select the installation method for the Enderal launcher.')" "$(eval_gettext 'Enderal Launcher Installation.')"
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    LAUNCHER="$APP_ANSWER"
    mv "$LAUNCHER" "$PREFIX"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$PREFIX"
    POL_Download "http://dl.cdn.chip.de/downloads/47961527/Enderal_Launcher.exe?cid=96271624&platform=chip&1470143711-1470151211-ef5df9-B-2666d4ab78ec4f31f3af1fd2dcf028b5.exe"
    mv Enderal_Launcher.exe* "Enderal Launcher.exe"
fi

# Select installation method of Enderal install files
POL_SetupWindow_message "$(eval_gettext 'Select the installation method for the Enderal installation files.')" "$(eval_gettext 'Enderal Installation Files.')"
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_System_TmpCreate "$PREFIX"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
    POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"
    INSTALL_FILES="$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DOWNLOAD" ]
then
    cd "$POL_System_TmpDir"
    POL_Download "http://www.moddb.com/downloads/mirror/106060/115/e6327409cac134e7d4993c56ac486875" "94f6504b4480c8209bc049571374da2f"
    INSTALL_FILES="$POL_System_TmpDir/EnderalInstall_DE.gz"
fi
cp "$INSTALL_FILES" "$WINEPREFIX/drive_c/Program Files/Steam/steamapps/common/Skyrim/"
POL_System_TmpDelete

POL_Shortcut "Enderal Launcher.exe" "$TITLE"

POL_SetupWindow_message "$(eval_gettext '$TITLE has been successfully installed.')" "$(eval_gettext '$TITLE installation finished')"

POL_SetupWindow_Close
exit

 

 

Edited by plata

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 dmcayonlinux.com