GOG.com - Men of War: Assault Squad

Informations

Créateur Messages
robka Anonymous

Attention

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

Informations

Plate-formes :
Téléchargements : 5014
Wine: 3.0.3

Retours d'expérience

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.

Code source

#!/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:

Contribuer
Membre Messages
Dadu042 Samedi 21 Mars 2020 à 14:52
Dadu042
Modérateur

Information

Cette mise à jour a été acceptée par l'équipe

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

Nouveau code source

#!/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

Réponses

robka Jeudi 19 Novembre 2015 à 19:44
robka Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

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

Edité par petch

robka Mercredi 18 Novembre 2015 à 23:06
robka Anonymous

Warning

Cette mise à jour n'a pas été approuvée par l'équipe.
Utilisez-la à vos risques et périls

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

Nouveau code source

#!/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

Réponses

Jeudi 19 Novembre 2015 à 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