Close Combat: Wacht am Rhein

Informations

Creator Message
mark7 Anonymous

Warning

This installer is a beta script. It means that it might not work as expected

Informations

Platforms:
Downloads: 3145
Wine: System

Feedbacks

Description

Real time tactical game (1996 or 2008).

Wikipedia.

Source code

#!/bin/bash
# Date : (2015-05-12 10-45)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Debian Jessie (Testing)
# Author : Mark Schreiber mark7@alumni.cmu.edu
# Script licence : GPL v.3
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Mark Schreiber] (2015-05-12 10-45)
#   Initial script.
# [Dadu042] (2020-02-23 23:41)
#   Wine 1.6.2 -> system's wine.
#   Standardize.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Close Combat: Wacht am Rhein"
PREFIX="CloseCombatWachtAmRhein"
 
POL_SetupWindow_Init
POL_Debug_Init
 
# The major limitation is that if the in-game resolution setting is
# changed to anything other than 1024x768, the game will crash when
# entering the battlefield.  On the non-4:3 aspect ratio monitors that
# are common today, this leads to a distorted image; however, this is
# still preferable to using a windowed environment and lacking
# scroll-with-mouse-at-edge-of-screen.
 
POL_SetupWindow_message "$(eval_gettext "Once this program is installed, do not change the default resolution in its settings.")" "$TITLE installation"
 
POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE" ""
 
POL_Wine_SelectPrefix "$PREFIX"
 
POL_Wine_PrefixCreate 
 
POL_Wine "$APP_ANSWER"
 
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "CCE.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_Document "$TITLE" "CCWAR-Manual-[LIGHT].pdf"

POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Dadu042 Sunday 23 February 2020 at 9:23
Dadu042

Information

This update has been approved by the team.

Differences

@@ -1,19 +1,25 @@
 #!/bin/bash
 # Date : (2015-05-12 10-45)
-# Last revision : (2015-05-12 10-45)
-# Wine version used : 1.6.2
+# Last revision : see changelog
+# Wine version used : 
 # Distribution used to test : Debian Jessie (Testing)
 # Author : Mark Schreiber mark7@alumni.cmu.edu
 # Script licence : GPL v.3
 # Program licence : Retail
 # Depend :
- 
+#
+# CHANGELOG
+# [Mark Schreiber] (2015-05-12 10-45)
+#   Initial script.
+# [Dadu042] (2020-02-23 23:41)
+#   Wine 1.6.2 -> system's wine.
+#   Standardize.
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
  
 TITLE="Close Combat: Wacht am Rhein"
 PREFIX="CloseCombatWachtAmRhein"
-WINEVERSION="1.6.2"
  
 POL_SetupWindow_Init
 POL_Debug_Init
@@ -31,14 +37,14 @@
  
 POL_Wine_SelectPrefix "$PREFIX"
  
-POL_Wine_PrefixCreate "$WINEVERSION"
+POL_Wine_PrefixCreate 
  
 POL_Wine "$APP_ANSWER"
  
 POL_Wine_WaitExit "$TITLE"
  
-POL_Shortcut 'CCE.exe' "$TITLE"
-POL_Shortcut_Document "$TITLE" "$WINEPREFIX/drive_c/Matrix Games/Close Combat Wacht am Rhein/Manuals/CCWAR-Manual-[LIGHT].pdf"
- 
+POL_Shortcut "CCE.exe" "$TITLE" "" "" "Game;"
+POL_Shortcut_Document "$TITLE" "CCWAR-Manual-[LIGHT].pdf"
+
 POL_SetupWindow_Close
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-05-12 10-45)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Debian Jessie (Testing)
# Author : Mark Schreiber mark7@alumni.cmu.edu
# Script licence : GPL v.3
# Program licence : Retail
# Depend :
#
# CHANGELOG
# [Mark Schreiber] (2015-05-12 10-45)
#   Initial script.
# [Dadu042] (2020-02-23 23:41)
#   Wine 1.6.2 -> system's wine.
#   Standardize.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Close Combat: Wacht am Rhein"
PREFIX="CloseCombatWachtAmRhein"
 
POL_SetupWindow_Init
POL_Debug_Init
 
# The major limitation is that if the in-game resolution setting is
# changed to anything other than 1024x768, the game will crash when
# entering the battlefield.  On the non-4:3 aspect ratio monitors that
# are common today, this leads to a distorted image; however, this is
# still preferable to using a windowed environment and lacking
# scroll-with-mouse-at-edge-of-screen.
 
POL_SetupWindow_message "$(eval_gettext "Once this program is installed, do not change the default resolution in its settings.")" "$TITLE installation"
 
POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE" ""
 
POL_Wine_SelectPrefix "$PREFIX"
 
POL_Wine_PrefixCreate 
 
POL_Wine "$APP_ANSWER"
 
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut "CCE.exe" "$TITLE" "" "" "Game;"
POL_Shortcut_Document "$TITLE" "CCWAR-Manual-[LIGHT].pdf"

POL_SetupWindow_Close
exit 0

Replies

Dadu042 Friday 10 May 2019 at 22:59
Dadu042

Warning

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

Message

I move the 2015 script to a right place to be usable.

Differences

@@ -0,0 +1,44 @@
+#!/bin/bash
+# Date : (2015-05-12 10-45)
+# Last revision : (2015-05-12 10-45)
+# Wine version used : 1.6.2
+# Distribution used to test : Debian Jessie (Testing)
+# Author : Mark Schreiber mark7@alumni.cmu.edu
+# Script licence : GPL v.3
+# Program licence : Retail
+# Depend :
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="Close Combat: Wacht am Rhein"
+PREFIX="CloseCombatWachtAmRhein"
+WINEVERSION="1.6.2"
+ 
+POL_SetupWindow_Init
+POL_Debug_Init
+ 
+# The major limitation is that if the in-game resolution setting is
+# changed to anything other than 1024x768, the game will crash when
+# entering the battlefield.  On the non-4:3 aspect ratio monitors that
+# are common today, this leads to a distorted image; however, this is
+# still preferable to using a windowed environment and lacking
+# scroll-with-mouse-at-edge-of-screen.
+ 
+POL_SetupWindow_message "$(eval_gettext "Once this program is installed, do not change the default resolution in its settings.")" "$TITLE installation"
+ 
+POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE" ""
+ 
+POL_Wine_SelectPrefix "$PREFIX"
+ 
+POL_Wine_PrefixCreate "$WINEVERSION"
+ 
+POL_Wine "$APP_ANSWER"
+ 
+POL_Wine_WaitExit "$TITLE"
+ 
+POL_Shortcut 'CCE.exe' "$TITLE"
+POL_Shortcut_Document "$TITLE" "$WINEPREFIX/drive_c/Matrix Games/Close Combat Wacht am Rhein/Manuals/CCWAR-Manual-[LIGHT].pdf"
+ 
+POL_SetupWindow_Close
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2015-05-12 10-45)
# Last revision : (2015-05-12 10-45)
# Wine version used : 1.6.2
# Distribution used to test : Debian Jessie (Testing)
# Author : Mark Schreiber mark7@alumni.cmu.edu
# Script licence : GPL v.3
# Program licence : Retail
# Depend :
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Close Combat: Wacht am Rhein"
PREFIX="CloseCombatWachtAmRhein"
WINEVERSION="1.6.2"
 
POL_SetupWindow_Init
POL_Debug_Init
 
# The major limitation is that if the in-game resolution setting is
# changed to anything other than 1024x768, the game will crash when
# entering the battlefield.  On the non-4:3 aspect ratio monitors that
# are common today, this leads to a distorted image; however, this is
# still preferable to using a windowed environment and lacking
# scroll-with-mouse-at-edge-of-screen.
 
POL_SetupWindow_message "$(eval_gettext "Once this program is installed, do not change the default resolution in its settings.")" "$TITLE installation"
 
POL_SetupWindow_browse "$(eval_gettext "Please select the setup file to run.")" "$TITLE" ""
 
POL_Wine_SelectPrefix "$PREFIX"
 
POL_Wine_PrefixCreate "$WINEVERSION"
 
POL_Wine "$APP_ANSWER"
 
POL_Wine_WaitExit "$TITLE"
 
POL_Shortcut 'CCE.exe' "$TITLE"
POL_Shortcut_Document "$TITLE" "$WINEPREFIX/drive_c/Matrix Games/Close Combat Wacht am Rhein/Manuals/CCWAR-Manual-[LIGHT].pdf"
 
POL_SetupWindow_Close
exit 0

Replies

petch Sunday 24 May 2015 at 7:02
petch