GOG.com - Men of War: Assault Squad

Informatie

Creator Bericht
robka Anonymous

Warning

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

Informatie

Platforms:
Downloads: 5014
Wine: 3.0.3

Feedbacks

Omschrijving

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.

Broncode

#!/usr/bin/env playonlinux-bash
#
# CHANGELOG
# [robka] (2015-11-18)
#   Initial script.
# [Dadu042] (2020-03-20 19:30).
#   Wine 1.6.2 -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="men_of_war_assault_squad_goty_edition"
WORKING_WINE_VERSION="3.0.3"
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" "" "" "Game;"
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Bericht
Dadu042 Zaterdag 21 Maart 2020 om 14:52
Dadu042
Moderator

Information

This update has been approved by the team.

Differences

@@ -1,9 +1,16 @@
 #!/usr/bin/env playonlinux-bash
+#
+# CHANGELOG
+# [robka] (2015-11-18)
+#   Initial script.
+# [Dadu042] (2020-03-20 19:30).
+#   Wine 1.6.2 -> 3.0.3
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
 
 GOGID="men_of_war_assault_squad_goty_edition"
-WORKING_WINE_VERSION="1.6.2"
+WORKING_WINE_VERSION="3.0.3"
 TITLE="GOG.com - Men of War: Assault Squad"
 PREFIX="MoW_AS"
 SHORTCUT_NAME="Men of War: Assault Squad"
@@ -20,6 +27,6 @@
 Set_OS winxp
 POL_Call POL_Install_d3dx9_36
 
-POL_Shortcut "mow_assault_squad.exe" "$SHORTCUT_NAME"
+POL_Shortcut "mow_assault_squad.exe" "$SHORTCUT_NAME" "" "" "Game;"
 POL_SetupWindow_Close
-exit
+exit 0
\ No newline at end of file

New source code

#!/usr/bin/env playonlinux-bash
#
# CHANGELOG
# [robka] (2015-11-18)
#   Initial script.
# [Dadu042] (2020-03-20 19:30).
#   Wine 1.6.2 -> 3.0.3

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

GOGID="men_of_war_assault_squad_goty_edition"
WORKING_WINE_VERSION="3.0.3"
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" "" "" "Game;"
POL_SetupWindow_Close
exit 0

Antwoorden

robka Donderdag 19 November 2015 om 19:44
robka Anonymous

Warning

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

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

Antwoorden

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

Aangepast door petch

robka Woensdag 18 November 2015 om 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

Antwoorden

Donderdag 19 November 2015 om 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