GOG.com - Men of War: Assault Squad

Informations

Creator Nachricht
robka Anonymous

Warning

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

Informations

Platforms:
Downloads: 3875
Wine: 1.6.2

Feedbacks

Description

Men of War: Assault Squad features a completely new cooperative skirmish game mode with access to five different nations (Russia, Germany, USA, Commonwealth and, for the first time ever in the Men of War series, Japan) as well as increased realism and accessibility.


Players can get behind the controls of a tank to smash through obstacles, crush soldiers under their tracks and fire high-explosive shells at enemy emplacements, they can even take control of individual soldiers as they fight. As in previous games in the series, Men of War: Assault Squad includes the unique "direct control" feature which enables players to be in command of any unit using the WASD controls, rather than pointing and clicking.

Source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="men_of_war_assault_squad_goty_edition"
WORKING_WINE_VERSION="1.6.2"
TITLE="GOG.com - Men of War: Assault Squad"
PREFIX="MoW_AS"
SHORTCUT_NAME="Men of War: Assault Squad"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Digitalmindsoft" "http://www.gog.com/game/$GOGID" "Robin Karlsson" "Men of War - Assault Squad"

POL_Call POL_GoG_setup "$GOGID" "4d94cc1d1ead4f7af60216a1b8be8dca"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install "/nogui"
Set_OS winxp
POL_Call POL_Install_d3dx9_36

POL_Shortcut "mow_assault_squad.exe" "$SHORTCUT_NAME"
POL_SetupWindow_Close
exit

Contributions

Filters:

Contribute
Member Nachricht
robka Thursday 19 November 2015 at 19:44
robka Anonymous

Information

This update has been approved by the team.

Differences

@@ -0,0 +1,25 @@
+#!/usr/bin/env playonlinux-bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+GOGID="men_of_war_assault_squad_goty_edition"
+WORKING_WINE_VERSION="1.6.2"
+TITLE="GOG.com - Men of War: Assault Squad"
+PREFIX="MoW_AS"
+SHORTCUT_NAME="Men of War: Assault Squad"
+
+POL_SetupWindow_Init
+POL_Debug_Init
+POL_SetupWindow_presentation "$TITLE" "Digitalmindsoft" "http://www.gog.com/game/$GOGID" "Robin Karlsson" "Men of War - Assault Squad"
+
+POL_Call POL_GoG_setup "$GOGID" "4d94cc1d1ead4f7af60216a1b8be8dca"
+POL_Wine_SelectPrefix "$PREFIX"
+POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"
+
+POL_Call POL_GoG_install "/nogui"
+Set_OS winxp
+POL_Call POL_Install_d3dx9_36
+
+POL_Shortcut "mow_assault_squad.exe" "$SHORTCUT_NAME"
+POL_SetupWindow_Close
+exit

New source code

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="men_of_war_assault_squad_goty_edition"
WORKING_WINE_VERSION="1.6.2"
TITLE="GOG.com - Men of War: Assault Squad"
PREFIX="MoW_AS"
SHORTCUT_NAME="Men of War: Assault Squad"

POL_SetupWindow_Init
POL_Debug_Init
POL_SetupWindow_presentation "$TITLE" "Digitalmindsoft" "http://www.gog.com/game/$GOGID" "Robin Karlsson" "Men of War - Assault Squad"

POL_Call POL_GoG_setup "$GOGID" "4d94cc1d1ead4f7af60216a1b8be8dca"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WORKING_WINE_VERSION"

POL_Call POL_GoG_install "/nogui"
Set_OS winxp
POL_Call POL_Install_d3dx9_36

POL_Shortcut "mow_assault_squad.exe" "$SHORTCUT_NAME"
POL_SetupWindow_Close
exit

Antworten

Thursday 19 November 2015 at 23:56
Looks good to me!
$TITLE has to exactly match the script name in the repository, but I fixed that myself
Anonymous
Friday 20 November 2015 at 7:43
ok, thanks

Editiert von: petch

robka Wednesday 18 November 2015 at 23:06
robka Anonymous

Warning

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

Differences

@@ -0,0 +1,25 @@
+#!/bin/bash
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+
+GOGID="men_of_war_assault_squad_goty_edition"
+WORKING_WINE_VERSION="1.6.2"
+SHORTCUT_NAME="Men of War: Assault Squad"
+
+POL_SetupWindow_Init
+POL_SetupWindow_presentation "Men of War: Assault Squad - GOG.com" "Digitalmindsoft" "http://www.gog.com/game/men_of_war_assault_squad_goty_edition" "Robin Karlsson" "Men of War - Assault Squad"
+
+POL_Call POL_GoG_setup "men_of_war_assault_squad_goty_edition" "4d94cc1d1ead4f7af60216a1b8be8dca"
+POL_Wine_SelectPrefix "Men of War Assault Squad"
+POL_Wine_PrefixCreate "1.6.2"
+
+POL_Call POL_GoG_install "/nogui"
+Set_OS winxp
+POL_Call POL_Install_d3dx9_36
+
+
+
+POL_Shortcut "mow_assault_squad.exe" "Men of War Assault Squad"
+POL_Config_PrefixWrite "LANGUAGE" "English"
+POL_SetupWindow_Close
+exit

New source code

#!/bin/bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="men_of_war_assault_squad_goty_edition"
WORKING_WINE_VERSION="1.6.2"
SHORTCUT_NAME="Men of War: Assault Squad"

POL_SetupWindow_Init
POL_SetupWindow_presentation "Men of War: Assault Squad - GOG.com" "Digitalmindsoft" "http://www.gog.com/game/men_of_war_assault_squad_goty_edition" "Robin Karlsson" "Men of War - Assault Squad"

POL_Call POL_GoG_setup "men_of_war_assault_squad_goty_edition" "4d94cc1d1ead4f7af60216a1b8be8dca"
POL_Wine_SelectPrefix "Men of War Assault Squad"
POL_Wine_PrefixCreate "1.6.2"

POL_Call POL_GoG_install "/nogui"
Set_OS winxp
POL_Call POL_Install_d3dx9_36



POL_Shortcut "mow_assault_squad.exe" "Men of War Assault Squad"
POL_Config_PrefixWrite "LANGUAGE" "English"
POL_SetupWindow_Close
exit

Antworten

Thursday 19 November 2015 at 18:59
Hi, my script review:
Your script lacks POL_Debug_Init right after POL_SetupWindow_Init. By the way it will require to set $TITLE beforehand.

POL_SetupWindow_presentation "Men of War: Assault Squad - GOG.com" "Digitalmindsoft" "http://www.gog.com/game/men_of_war_assault_squad_goty_edition" "Robin Karlsson" "Men of War - Assault Squad"
You defined $GOGID, use it! Also use $TITLE once you defined it

POL_Call POL_GoG_setup "men_of_war_assault_squad_goty_edition" "4d94cc1d1ead4f7af60216a1b8be8dca"
Same here, use $GOGID

POL_Wine_SelectPrefix "Men of War Assault Squad"
Spaces are not allowed in prefix names

POL_Wine_PrefixCreate "1.6.2"
You defined $WORKING_WINE_VERSION, use it

POL_Shortcut "mow_assault_squad.exe" "Men of War Assault Squad"
You defined $SHORTCUT_NAME, use it

POL_Config_PrefixWrite "LANGUAGE" "English"
Mmmh I'm not sure why you're setting this per-prefix configuration variable, nothing seems to depend on it... (?)
That's all for me