Villagers and Heroes

Informations

Creator Wiadmości
Arcadien Anonymous

Information

This installer has been approved by the team.

Informations

Platforms:
Downloads: 9703
Wine: 4.0.1

Feedbacks

Description

Family-friendly indie MMORPG. Free to play.

Official websitePCGamingWiki . Test reports on appdb.winehq.org

Screenshots

MiniatureMiniatureMiniatureMiniatureMiniature

Source code

#!/bin/bash
# Date : (2014-03-27)
# Last revision : (see changelog)
# Wine version used : see below
# Distribution used to test : Xubuntu 18.04 x64
# Author : Arcadien (arc@arcadien.net)
#
# Game based on: DirectX 9, MS Visual studio. 
#
# CHANGELOG
# [Arcadien (arc@arcadien.net)] (2014-03-27)
#   Initial writing.
# [Dadu042] (2019-05-23)
#   Repair download URL. Game start updating partially, then fail (a error window open: 'Connection problems were encountered while updating ...').
# [Dadu042] (2019-07-20)
#   Repair download URL.
# [Dadu042] (2019-07-24)
#   Fix 'script freeze': call to POL_Wine_SetVideoDriver
#   Add messages for newcomers.
#   Add silent install (it's a bit faster).

# KNOWN ISSUES
#   2019-07-24, Wine 4.0.1: POL Error when launching but game does launch. Game v2.3.7.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Villagers and Heroes"
PREFIX="villagers-and-heroes"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
   
POL_SetupWindow_Init
POL_SetupWindow_SetID 1985
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "Mad Otter Games" "www.villagersandheroes.com" "Arcadien (arc@arcadien.net)" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.1"
   
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
 
#######################################
# Setup GPU                           #
####################################### 
 
# Set Graphic Card (useful if laptop with dual GPU)
POL_Wine_SetVideoDriver
 
 
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message "Please do not run the game as soon installed. Uncheck the checkbox." "$TITLE"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
 
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ];then
        POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "VHSetup.exe" "/SILENT"
fi
   
POL_Shortcut "VHLauncher.exe" "$TITLE"  "Game;Roleplaying"
# icon: AMLIcon.ico but I have no idea how to use it.

POL_SetupWindow_message "Game installed (the launcher)." "$TITLE"

POL_SetupWindow_Close
POL_System_TmpDelete
exit 0

Contributions

Filters:

Contribute
Member Wiadmości
Dadu042 Wednesday 24 July 2019 at 19:39
Dadu042
Moderator

Information

This update has been approved by the team.

Wiadmości

Tutorial played 20 min.

 

As soon as launched, Wine does crash (process still unknown from me) however this does not stop the game.

Differences

@@ -15,7 +15,12 @@
 # [Dadu042] (2019-07-20)
 #   Repair download URL.
 # [Dadu042] (2019-07-24)
-#   Fix 'script freeze': call to POL_Wine_SetVideoDriver
+#   Fix 'script freeze': call to POL_Wine_SetVideoDriver
+#   Add messages for newcomers.
+#   Add silent install (it's a bit faster).
+
+# KNOWN ISSUES
+#   2019-07-24, Wine 4.0.1: POL Error when launching but game does launch. Game v2.3.7.
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -50,7 +55,9 @@
  
  
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-   
+
+POL_SetupWindow_message "Please do not run the game as soon installed. Uncheck the checkbox." "$TITLE"
+
 if [ "$INSTALL_METHOD" == "LOCAL" ]; then
         cd "$HOME"
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
@@ -61,12 +68,14 @@
 elif [ "$INSTALL_METHOD" == "DOWNLOAD" ];then
         POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe"
         POL_Wine_WaitBefore "$TITLE"
-        POL_Wine "VHSetup.exe"
+        POL_Wine "VHSetup.exe" "/SILENT"
 fi
    
 POL_Shortcut "VHLauncher.exe" "$TITLE"  "Game;Roleplaying"
- 
- 
+# icon: AMLIcon.ico but I have no idea how to use it.
+
+POL_SetupWindow_message "Game installed (the launcher)." "$TITLE"
+
 POL_SetupWindow_Close
 POL_System_TmpDelete
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-03-27)
# Last revision : (see changelog)
# Wine version used : see below
# Distribution used to test : Xubuntu 18.04 x64
# Author : Arcadien (arc@arcadien.net)
#
# Game based on: DirectX 9, MS Visual studio. 
#
# CHANGELOG
# [Arcadien (arc@arcadien.net)] (2014-03-27)
#   Initial writing.
# [Dadu042] (2019-05-23)
#   Repair download URL. Game start updating partially, then fail (a error window open: 'Connection problems were encountered while updating ...').
# [Dadu042] (2019-07-20)
#   Repair download URL.
# [Dadu042] (2019-07-24)
#   Fix 'script freeze': call to POL_Wine_SetVideoDriver
#   Add messages for newcomers.
#   Add silent install (it's a bit faster).

# KNOWN ISSUES
#   2019-07-24, Wine 4.0.1: POL Error when launching but game does launch. Game v2.3.7.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Villagers and Heroes"
PREFIX="villagers-and-heroes"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
   
POL_SetupWindow_Init
POL_SetupWindow_SetID 1985
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "Mad Otter Games" "www.villagersandheroes.com" "Arcadien (arc@arcadien.net)" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.1"
   
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
 
#######################################
# Setup GPU                           #
####################################### 
 
# Set Graphic Card (useful if laptop with dual GPU)
POL_Wine_SetVideoDriver
 
 
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"

POL_SetupWindow_message "Please do not run the game as soon installed. Uncheck the checkbox." "$TITLE"

if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
 
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ];then
        POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "VHSetup.exe" "/SILENT"
fi
   
POL_Shortcut "VHLauncher.exe" "$TITLE"  "Game;Roleplaying"
# icon: AMLIcon.ico but I have no idea how to use it.

POL_SetupWindow_message "Game installed (the launcher)." "$TITLE"

POL_SetupWindow_Close
POL_System_TmpDelete
exit 0

Odpowiedzi

Anonymous
Sunday 25 August 2019 at 6:52
Was working beautifully until tonight (Aug 24/2019) I am going to try and reinstall from this link again but the previous two times didn't work

Edytowane przez Dadu042

Dadu042 Wednesday 24 July 2019 at 17:53
Dadu042
Moderator

Warning

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

Wiadmości

Fix 'script freeze': call to POL_Wine_SetVideoDriver

Differences

@@ -14,57 +14,59 @@
 #   Repair download URL. Game start updating partially, then fail (a error window open: 'Connection problems were encountered while updating ...').
 # [Dadu042] (2019-07-20)
 #   Repair download URL.
- 
+# [Dadu042] (2019-07-24)
+#   Fix 'script freeze': call to POL_Wine_SetVideoDriver
+
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
-  
+   
 TITLE="Villagers and Heroes"
 PREFIX="villagers-and-heroes"
-  
+   
 POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
-  
+   
 POL_SetupWindow_Init
 POL_SetupWindow_SetID 1985
 POL_Debug_Init
-  
+   
 POL_SetupWindow_presentation "$TITLE" "Mad Otter Games" "www.villagersandheroes.com" "Arcadien (arc@arcadien.net)" "$PREFIX"
-
+ 
 POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
+  
  
-
 POL_Wine_SelectPrefix "$PREFIX"
 POL_Wine_PrefixCreate "4.0.1"
-  
+   
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
-
+ 
 #######################################
 # Setup GPU                           #
 ####################################### 
-
+ 
 # Set Graphic Card (useful if laptop with dual GPU)
-POL_Call POL_Wine_SetVideoDriver
-
-
-
+POL_Wine_SetVideoDriver
+ 
+ 
+ 
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
-  
+   
 if [ "$INSTALL_METHOD" == "LOCAL" ]; then
         cd "$HOME"
         POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
         SETUP_EXE="$APP_ANSWER"
         POL_Wine start /unix "$SETUP_EXE"
         POL_Wine_WaitExit "$TITLE"
-
+ 
 elif [ "$INSTALL_METHOD" == "DOWNLOAD" ];then
-	POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe" 
-	POL_Wine_WaitBefore "$TITLE"
-	POL_Wine "VHSetup.exe"
+        POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe"
+        POL_Wine_WaitBefore "$TITLE"
+        POL_Wine "VHSetup.exe"
 fi
-  
+   
 POL_Shortcut "VHLauncher.exe" "$TITLE"  "Game;Roleplaying"
-
-
+ 
+ 
 POL_SetupWindow_Close
 POL_System_TmpDelete
 exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-03-27)
# Last revision : (see changelog)
# Wine version used : see below
# Distribution used to test : Xubuntu 18.04 x64
# Author : Arcadien (arc@arcadien.net)
#
# Game based on: DirectX 9, MS Visual studio. 
#
# CHANGELOG
# [Arcadien (arc@arcadien.net)] (2014-03-27)
#   Initial writing.
# [Dadu042] (2019-05-23)
#   Repair download URL. Game start updating partially, then fail (a error window open: 'Connection problems were encountered while updating ...').
# [Dadu042] (2019-07-20)
#   Repair download URL.
# [Dadu042] (2019-07-24)
#   Fix 'script freeze': call to POL_Wine_SetVideoDriver

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
   
TITLE="Villagers and Heroes"
PREFIX="villagers-and-heroes"
   
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
   
POL_SetupWindow_Init
POL_SetupWindow_SetID 1985
POL_Debug_Init
   
POL_SetupWindow_presentation "$TITLE" "Mad Otter Games" "www.villagersandheroes.com" "Arcadien (arc@arcadien.net)" "$PREFIX"
 
POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
  
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.1"
   
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
 
#######################################
# Setup GPU                           #
####################################### 
 
# Set Graphic Card (useful if laptop with dual GPU)
POL_Wine_SetVideoDriver
 
 
 
POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
   
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"
 
elif [ "$INSTALL_METHOD" == "DOWNLOAD" ];then
        POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe"
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "VHSetup.exe"
fi
   
POL_Shortcut "VHLauncher.exe" "$TITLE"  "Game;Roleplaying"
 
 
POL_SetupWindow_Close
POL_System_TmpDelete
exit 0

Odpowiedzi

Dadu042 Saturday 20 July 2019 at 7:30
Dadu042
Moderator

Warning

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

Differences

@@ -5,6 +5,8 @@
 # Distribution used to test : Xubuntu 18.04 x64
 # Author : Arcadien (arc@arcadien.net)
 #
+# Game based on: DirectX 9, MS Visual studio. 
+#
 # CHANGELOG
 # [Arcadien (arc@arcadien.net)] (2014-03-27)
 #   Initial writing.
@@ -36,6 +38,15 @@
 POL_System_TmpCreate "$PREFIX"
 cd "$POL_System_TmpDir"
 
+#######################################
+# Setup GPU                           #
+####################################### 
+
+# Set Graphic Card (useful if laptop with dual GPU)
+POL_Call POL_Wine_SetVideoDriver
+
+
+
 POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
   
 if [ "$INSTALL_METHOD" == "LOCAL" ]; then
@@ -53,12 +64,6 @@
   
 POL_Shortcut "VHLauncher.exe" "$TITLE"  "Game;Roleplaying"
 
-#######################################
-# Setup GPU                           #
-####################################### 
-
-# Set Graphic Card (useful if laptop with dual GPU)
-POL_Call POL_Wine_SetVideoDriver
 
 POL_SetupWindow_Close
 POL_System_TmpDelete

New source code

#!/bin/bash
# Date : (2014-03-27)
# Last revision : (see changelog)
# Wine version used : see below
# Distribution used to test : Xubuntu 18.04 x64
# Author : Arcadien (arc@arcadien.net)
#
# Game based on: DirectX 9, MS Visual studio. 
#
# CHANGELOG
# [Arcadien (arc@arcadien.net)] (2014-03-27)
#   Initial writing.
# [Dadu042] (2019-05-23)
#   Repair download URL. Game start updating partially, then fail (a error window open: 'Connection problems were encountered while updating ...').
# [Dadu042] (2019-07-20)
#   Repair download URL.
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
  
TITLE="Villagers and Heroes"
PREFIX="villagers-and-heroes"
  
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
  
POL_SetupWindow_Init
POL_SetupWindow_SetID 1985
POL_Debug_Init
  
POL_SetupWindow_presentation "$TITLE" "Mad Otter Games" "www.villagersandheroes.com" "Arcadien (arc@arcadien.net)" "$PREFIX"

POL_RequiredVersion "4.3.4" || POL_Debug_Fatal "$APPLICATION_TITLE $VERSION is required to install $TITLE"
 

POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.1"
  
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

#######################################
# Setup GPU                           #
####################################### 

# Set Graphic Card (useful if laptop with dual GPU)
POL_Call POL_Wine_SetVideoDriver



POL_SetupWindow_InstallMethod "LOCAL,DOWNLOAD"
  
if [ "$INSTALL_METHOD" == "LOCAL" ]; then
        cd "$HOME"
        POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run:')" "$TITLE"
        SETUP_EXE="$APP_ANSWER"
        POL_Wine start /unix "$SETUP_EXE"
        POL_Wine_WaitExit "$TITLE"

elif [ "$INSTALL_METHOD" == "DOWNLOAD" ];then
        POL_Download "https://www.villagers-and-heroes.com/VHSetup.exe" 
        POL_Wine_WaitBefore "$TITLE"
        POL_Wine "VHSetup.exe"
fi
  
POL_Shortcut "VHLauncher.exe" "$TITLE"  "Game;Roleplaying"


POL_SetupWindow_Close
POL_System_TmpDelete
exit 0

Odpowiedzi

Edytowane przez Dadu042

Dadu042 Thursday 23 May 2019 at 11:18
Dadu042
Moderator

Warning

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

Wiadmości

Don't work. Read the changelog.

 

Wine 4.01 crash log:
--- verifying...

wine: Unhandled page fault on write access to 0x0000000c at address 0x1e015319 (thread 0009), starting debugger...
002b:fixme:dbghelp:elf_search_auxv can't find symbol in module

Wine 3.0 crash log:
--- verifying..

Differences

@@ -39,16 +39,4 @@
  
 POL_SetupWindow_Close
 POL_System_TmpDelete
-exit
-
-
-Wine 4.01 crash log:
---- verifying...
-
-wine: Unhandled page fault on write access to 0x0000000c at address 0x1e015319 (thread 0009), starting debugger...
-002b:fixme:dbghelp:elf_search_auxv can't find symbol in module
-
-
-Wine 3.0 crash log:
---- verifying...
-
+exit 0
\ No newline at end of file

New source code

#!/bin/bash
# Date : (2014-03-27)
# Last revision : (2014-03-27)
# Wine version used : see below
# Distribution used to test : Xubuntu 18.04 x64
# Author : Arcadien (arc@arcadien.net)
#
# CHANGELOG
# [Dadu042] (2019-05-23)
#   Repair download URL. Game start updating partially, then fail (a error window open: 'Connection problems were encountered while updating ...').
# [Arcadien (arc@arcadien.net)] (2014-03-27)
#   Initial writing.

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="Villagers and Heroes"
PREFIX="villagersandheroes"
 
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"
 
POL_SetupWindow_Init
POL_SetupWindow_SetID 1985
POL_Debug_Init
 
POL_SetupWindow_presentation "$TITLE" "Mad Otter Games" "www.villagersandheroes.com" "Arcadien (arc@arcadien.net)" "$PREFIX"
 
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "4.0.1"
 
POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"
POL_Download "https://www.madottergames.com/VHSetup.exe"

POL_Wine_WaitBefore "$TITLE"
POL_Wine "VHSetup.exe"
 
POL_Shortcut "VHLauncher.exe" "$TITLE" "Game;Roleplaying"
 
POL_SetupWindow_Close
POL_System_TmpDelete
exit 0

Odpowiedzi

Edytowane przez Dadu042