El Foro

[script] Close Combat: Wacht am Rhein

Autor Respuestas
mark7 Wednesday 13 May 2015 at 8:51

- Real time tactics video game

- If the in-game resolution is changed, currently the game crashes when attempting to change resolution when transitioning to the battlefield.  Using a virtual desktop does not avoid this; presently, the user is simply warned not to change the game's resolution.

# 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"


# 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_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"

exit 0


petch Wednesday 13 May 2015 at 14:01

Looks ok to me.

You didn't use POL_SetupWindow_presentation, but I don't know if that's considered a strict requirement for official scripts, or just a standard practice...

deri82 Wednesday 22 July 2015 at 2:19

You could also try newer wine version if it prevents the crash.