I would like to play HoMaM2 game

CPU=Intel® Celeron® G540 2.5gHz;
MB=Gigabyte H61M-S2V-B3 rev.1.0;
RAM=2x2=4giB DDR3-1333 mHz; ( In 15 days it will be 2x8=16giB DDR3-1600mHz );
VGA=[AMD/ATI] RV770 [Radeon HD 4850];
PSU=Trend Sonic ADK-A500W;

If it is possible, I would like to play HoMAM2 game and may be HoMAM3 game;

How to do that under:

  • Linux parrot 5.9.0-2parrot1-amd64 #1 SMP Debian 5.9.6-2parrot1 (2020-11-17) x86_64 GNU/Linux ?

YOu have to use wine to install and play it

1 Like

I installed wine, then I found a file named start in the top directory of the game and saved it as start.sh, then made it executable with command
chmod +x start.sh
wine start.sh
but there appears an error message:

0009:err:module:__wine_process_init failed to load L"Z:\home\gozer\GAMES\HoMM2\start.sh", error c000012f

When I try:

Running Heroes of Might and Magic 2
Starting DOSBox
/home/gozer/GAMES/HoMM2/game/dosbox/dosbox_x86_64: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

A file with a similar name exists: libpng12.so.0.59.0.

The file start contains a script:


GOG.com (www.gog.com)

Heroes of Might and Magic 2

chmod -R 0700 game desktop desktop-multi multi music


CURRENT_DIR="$( cd “$( dirname “${BASH_SOURCE[0]}” )” && pwd )"/game
source support/gog_com.shlib

Game info

GAME_NAME="$(get_gameinfo 1)"
VERSION="$(get_gameinfo 2)"
VERSION_DEV="$(get_gameinfo 3)"


run_game() {
echo “Running ${GAME_NAME}”
export LC_ALL=“C”
run_dosbox “dosboxHoMM2.conf” “dosboxHoMM2_single.conf”

default() {


define_option “-s” “–start” “start ${GAME_NAME}” “run_game” “$@”


standard_options “$@”

cd “${CURRENT_DIR}” && ln -sfn “./game/dosboxHoMM2.conf” …/config

So I can not start this game: “Heroes of Might and Magic 2”

Wine is used for start exe file. Not bash file
You are missing libpng12 which is not on repository anymore. You can download .so file on internet and put it to game folder

Thank You!
I just renamed the file existing libpng12.so.0.59.0 to libpng12.so.0
Then the game starts successfully