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...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#!/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
  
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Enderal"
PREFIX="Enderal"
EDITOR="SureAI"
AUTHOR="Plata"
WORKING_WINE_VERSION="1.8.2"
GAME_VMS="1024"
STEAM_ID="72850"
  
# Starting the script
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"
    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 dmca@playonlinux.com