Medieval II Total War

Informations

Creator Message
ThanosApostolou

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 7387
Wine: 3.0.3

Feedbacks

Description

Medieval II Total War is the 4th game of the series Total War, created by Creative Assembly. This script installs Medieval II from a CD or a mounted image. This is for the NON-STEAM version!

Appdb.winehq.org 

Source code

#!/bin/bash
# Date :  2016-12-04 20:00
# Last revision :
# Wine version used : 1.9.24
# Distributions used to test : manjaro x64
# Author : ThanosApostolou
# Depend :
#
# CHANGELOG
# [Dadu042] (2016-12-04 20:00)
#   Initial script.
# [Dadu042] (2020-01-30 13:30)
#   Wine 1.9.24 -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Medieval II Total War"
PREFIX="Medieval II Total War"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Creative Assembly" "https://www.totalwar.com/" "ThanosAPostolou" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.0.3"
 
# Libraries overrides:
POL_Wine_OverrideDLL "native,builtin" "msvcp71"
POL_Wine_OverrideDLL "native,builtin" "msvcr71"

 
# Choose mounted image:
POL_SetupWindow_message "$(eval_gettext 'Please insert $TITLE media into your disk drive.')"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

#starting installation:
POL_Wine_WaitBefore "$TITLE"
cd "$CDROM"
POL_Wine "setup.exe"
POL_Wine_WaitExit "$TITLE"

 
POL_SetupWindow_VMS "64"
POL_Wine_reboot
 
POL_Shortcut "medieval2.exe" "$TITLE" "$TITLE.png" "" "Game;"
POL_SetupWindow_Close
 
exit 0 

Contributions

Filters:

Contribute
Member Message
Dadu042 Thursday 30 January 2020 at 23:27
Dadu042

Information

This update has been approved by the team.

Differences

@@ -5,7 +5,13 @@
 # Distributions used to test : manjaro x64
 # Author : ThanosApostolou
 # Depend :
- 
+#
+# CHANGELOG
+# [Dadu042] (2016-12-04 20:00)
+#   Initial script.
+# [Dadu042] (2020-01-30 13:30)
+#   Wine 1.9.24 -> 3.0.3
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
@@ -19,7 +25,7 @@
  
 POL_SetupWindow_presentation "$TITLE" "Creative Assembly" "https://www.totalwar.com/" "ThanosAPostolou" "$PREFIX"
 POL_Wine_SelectPrefix "$PREFIX"
-POL_Wine_PrefixCreate "1.9.24"
+POL_Wine_PrefixCreate "3.0.3"
  
 # Libraries overrides:
 POL_Wine_OverrideDLL "native,builtin" "msvcp71"
@@ -41,7 +47,7 @@
 POL_SetupWindow_VMS "64"
 POL_Wine_reboot
  
-POL_Shortcut "medieval2.exe" "$TITLE" "$TITLE.png" ""
+POL_Shortcut "medieval2.exe" "$TITLE" "$TITLE.png" "" "Game;"
 POL_SetupWindow_Close
  
 exit 0 
\ No newline at end of file

New source code

#!/bin/bash
# Date :  2016-12-04 20:00
# Last revision :
# Wine version used : 1.9.24
# Distributions used to test : manjaro x64
# Author : ThanosApostolou
# Depend :
#
# CHANGELOG
# [Dadu042] (2016-12-04 20:00)
#   Initial script.
# [Dadu042] (2020-01-30 13:30)
#   Wine 1.9.24 -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Medieval II Total War"
PREFIX="Medieval II Total War"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Creative Assembly" "https://www.totalwar.com/" "ThanosAPostolou" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "3.0.3"
 
# Libraries overrides:
POL_Wine_OverrideDLL "native,builtin" "msvcp71"
POL_Wine_OverrideDLL "native,builtin" "msvcr71"

 
# Choose mounted image:
POL_SetupWindow_message "$(eval_gettext 'Please insert $TITLE media into your disk drive.')"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

#starting installation:
POL_Wine_WaitBefore "$TITLE"
cd "$CDROM"
POL_Wine "setup.exe"
POL_Wine_WaitExit "$TITLE"

 
POL_SetupWindow_VMS "64"
POL_Wine_reboot
 
POL_Shortcut "medieval2.exe" "$TITLE" "$TITLE.png" "" "Game;"
POL_SetupWindow_Close
 
exit 0 

Replies

ThanosApostolou Sunday 4 December 2016 at 19:00
ThanosApostolou

Warning

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

Message

I am not familiar with the playonlinux website so I didn't send the script. I post the images (lef.png, top.png, Medieval II Total War-48x48,  and the script as an update:
     

Differences

@@ -0,0 +1,47 @@
+#!/bin/bash
+# Date :  2016-12-04 20:00
+# Last revision :
+# Wine version used : 1.9.24
+# Distributions used to test : manjaro x64
+# Author : ThanosApostolou
+# Depend :
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Medieval II Total War"
+PREFIX="Medieval II Total War"
+ 
+POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
+POL_SetupWindow_Init
+POL_SetupWindow_SetID
+POL_Debug_Init
+ 
+POL_SetupWindow_presentation "$TITLE" "Creative Assembly" "https://www.totalwar.com/" "ThanosAPostolou" "$PREFIX"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "1.9.24"
+ 
+# Libraries overrides:
+POL_Wine_OverrideDLL "native,builtin" "msvcp71"
+POL_Wine_OverrideDLL "native,builtin" "msvcr71"
+
+ 
+# Choose mounted image:
+POL_SetupWindow_message "$(eval_gettext 'Please insert $TITLE media into your disk drive.')"
+POL_SetupWindow_cdrom
+POL_SetupWindow_check_cdrom "setup.exe"
+
+#starting installation:
+POL_Wine_WaitBefore "$TITLE"
+cd "$CDROM"
+POL_Wine "setup.exe"
+POL_Wine_WaitExit "$TITLE"
+
+ 
+POL_SetupWindow_VMS "64"
+POL_Wine_reboot
+ 
+POL_Shortcut "medieval2.exe" "$TITLE" "$TITLE.png" ""
+POL_SetupWindow_Close
+ 
+exit 0 
\ No newline at end of file

New source code

#!/bin/bash
# Date :  2016-12-04 20:00
# Last revision :
# Wine version used : 1.9.24
# Distributions used to test : manjaro x64
# Author : ThanosApostolou
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Medieval II Total War"
PREFIX="Medieval II Total War"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
POL_SetupWindow_Init
POL_SetupWindow_SetID
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Creative Assembly" "https://www.totalwar.com/" "ThanosAPostolou" "$PREFIX"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "1.9.24"
 
# Libraries overrides:
POL_Wine_OverrideDLL "native,builtin" "msvcp71"
POL_Wine_OverrideDLL "native,builtin" "msvcr71"

 
# Choose mounted image:
POL_SetupWindow_message "$(eval_gettext 'Please insert $TITLE media into your disk drive.')"
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom "setup.exe"

#starting installation:
POL_Wine_WaitBefore "$TITLE"
cd "$CDROM"
POL_Wine "setup.exe"
POL_Wine_WaitExit "$TITLE"

 
POL_SetupWindow_VMS "64"
POL_Wine_reboot
 
POL_Shortcut "medieval2.exe" "$TITLE" "$TITLE.png" ""
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