Heroes of Might and Magic V

Retail CD release

Application Details:

Version: 1.x
License: Retail
Votes: 3
Latest Rating: Platinum
Latest Wine Version Tested: 4.19-staging

Maintainers: About Maintainership

Link Download updates #1 Link Download Updates #2 Link New maps

Test Results

Old test results
The test results you have selected are very old and may not represent the current state of Wine.
Selected Test Results

What works

The game with all patches up to 1.5, campaign, scenarios.

What does not



What was not tested


Hardware tested


  • GPU:
  • Driver:

Additional Comments

game crashes at startup if "Allow windows manager to control the windows" option isn't set, (I'm running KDE 3.5.4). This is nasty, because resolution changes messes up icon arrangement on desktop.

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
ShowArch Linux x86_64Nov 09 20194.19-stagingYes Yes NoPlatinumZenAnonX 
ShowArch Linux x86_64Nov 02 20111.3.31Yes Yes NoPlatinuman anonymous user 
ShowUbuntu 11.10 "Oneiric" amd64 (+ variants like Kubuntu)Oct 30 20111.3.28Yes Yes NoBronzeOlof Englund 
ShowUbuntu 10.10 "Maverick" i386 (+ variants like Kubuntu)Jan 25 20111.3.12Yes Yes NoPlatinumStepho 
ShowUbuntu 10.04 "Lucid" amd64 (+ variants like Kubuntu)Oct 08 20101.3.4Yes No NoGarbagean anonymous user 

Known Bugs

Bug # Description Status Resolution Other apps affected
14025 Heroes of Might Magic V: camera does not move well NEW View
20190 HOMMV Map Editor pane shrinks on every refresh (Unhandled query type 4) NEW View
21564 Warning Forever / Dragon Age: Origins - ignores keyboard input after losing/regaining focus NEW View

Show all bugs

HowTo / Notes



To allow camera change by holding down the right mouse button, edit input.cfg found in /profiles/and change MOUSE_AXIS_X & MOUSE_AXIS_Y to 90. The C: drive can normally be found in ~/.wine/drive_c.

If you can't find the patch you're looking for at one of the update sites, try the other one.



If the setup program asks for 'setup.exe', kill it, and then run 'killall -9 IKernel.exe'

If the game does not allow you to choose a resolution higher than 1024x768, run regedit and add the key HKEY_CURRENT_USER\Software\Wine\Direct3D, then add the string value VideoMemorySize and set it to the amount of video memory you have


The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

by CerealBox on Thursday January 9th 2020, 20:18
I know this is kinda basic, but I'm new to wine so bear with me please. How do you actually install HMM5? Just bear with me here. My thanks and appreciation.
cheat console with tilde
by Alexander on Monday July 14th 2014, 14:05
In order to use cheats one must access the console. This is done by pressing the tilde button. The location of the tilde button changes depending upon your language setting (keyboard layout). I believe wine is defaulting on the US layout and I found my tilde button to be below the Esc key, above the Tab key and to the left of number 1:

tilde 1

I am using the danish keyboard layout and the "tilde" button is actually "½" on my keyboard.

Initially I could not get the cheat console working, but I solved the problem with adding XMODIFIERS='' and LANG=da_DK.UTF-8 to my desktop shortcut - right click - Properties - Launcher tab.

The Command: part of my launcher is:
env XMODIFIERS='' WINEPREFIX="/home/alexander/.wine" LANG=da_DK.UTF-8 wine C:\\windows\\command\\start.exe /Unix /home/alexander/.wine/dosdevices/c:/users/Public/Desktop/Heroes\ of\ Might\ and\ Magic\ V\ Collector\ Edition.lnk
msvcp71.dll error
by Aliekezhi on Thursday January 9th 2014, 18:13
My Heroes 5 was always working, but suddenly, with no apparent reason I had those errors :

err:msvcp:mutex_ctor Out of memory
err:module:attach_process_dlls "msvcp71.dll" failed to initialize, aborting

A workaround is to go in winecfg, Dll overrides, and add msvcp71.dll to native
don't want to start
by Airee on Thursday June 2nd 2011, 12:44
I've played homm5 on my laptop when there was windows. now i've ubuntu 10.10 and tried to run it. i've put virtual desktop with 1024x768 resolution, added a string value with my 64 memory size in wine register and it don't want to run. i guess problem may be in my grafic card (intel express mobile 965), but it ran in windows, so i don't even. here is debug information from terminal:

aika@Aria:/media/Athena/Games/Homm5/bin$ wine H5_Game.exe
fixme:d3d_caps:select_card_intel_mesa Card selection not handled for Mesa Intel driver
fixme:d3d_caps:init_driver_info Unhandled vendor 8086.
wine: Unhandled page fault on read access to 0x00000059 at address 0x7e595de6 (thread 0043), starting debugger...
Unhandled exception: page fault on read access to 0x00000059 in 32-bit code (0x7e595de6).
Register dump:
CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
EIP:7e595de6 ESP:0032f438 EBP:0032f4c0 EFLAGS:00210246( R- -- I Z- -P- )
EAX:00000001 EBX:7e5d3ff4 ECX:00000000 EDX:00000001
ESI:00000000 EDI:00000000
Stack dump:
0x0032f438: 00000020 7e5b1640 0032f480 7bc35223
0x0032f448: 7e5b1640 0032f4d8 7e5d4fe9 7e5b2ac0
0x0032f458: 7c192fe0 00000001 00000c51 7d634ff4
0x0032f468: 00000010 7c225d58 0032f4c0 b7776ff4
0x0032f478: 00000000 7e5d4fe8 7bc7c9fe 7e519361
0x0032f488: 00008086 0032f9bc 7e5d10e0 7e5c8920
=>0 0x7e595de6 in wined3d (+0xe5de6) (0x0032f4c0)
1 0x7e5085bb in wined3d (+0x585ba) (0x0032fb60)
2 0x7e51359a in wined3d (+0x63599) (0x0032fb80)
3 0x7e59a78a WineDirect3DCreate+0x59() in wined3d (0x0032fbc0)
4 0x7e5e9c6d Direct3DCreate9+0x5c() in d3d9 (0x0032fbf0)
5 0x00a9794e in h5_game (+0x69794d) (0x00400000)
6 0x00000003 (0x00905a4d)
7 0xf7ea33e8 (0x8b647500)
0x7e595de6: testb $0x2,0x59(%ecx)
Module Address Debug info Name (125 modules)
PE 340000- 37b000 Deferred libcurl
PE 380000- 396000 Deferred zlibwapi
PE 3a0000- 3cc000 Deferred ubistats
PE 400000- 1183000 Export h5_game
PE 1190000- 13e3000 Deferred d3dx9_25
PE 13f0000- 1486000 Deferred fmod
PE 10000000-10013000 Deferred zlib1
PE 50000000-50086000 Deferred granny2
PE 70bd0000-70c34000 Deferred shlwapi
PE 78000000-78044000 Deferred msvcrt
ELF 7b800000-7b97c000 Deferred kernel32
\-PE 7b810000-7b97c000 \ kernel32
ELF 7bc00000-7bcb7000 Deferred ntdll
\-PE 7bc10000-7bcb7000 \ ntdll
ELF 7bf00000-7bf04000 Deferred
PE 7c340000-7c396000 Deferred msvcr71
PE 7c3a0000-7c41b000 Deferred msvcp71
ELF 7d30d000-7d318000 Deferred
ELF 7d318000-7d322000 Deferred
ELF 7d322000-7d649000 Deferred
ELF 7d649000-7d665000 Deferred
ELF 7d750000-7d75a000 Deferred
ELF 7d75a000-7d75e000 Deferred
ELF 7d75e000-7d7b1000 Deferred
ELF 7d8dd000-7d8e6000 Deferred
ELF 7d8e6000-7d922000 Deferred
ELF 7d922000-7d927000 Deferred
ELF 7d927000-7d938000 Deferred
ELF 7d938000-7d93c000 Deferred
ELF 7d93c000-7d944000 Deferred
ELF 7d944000-7d968000 Deferred
ELF 7d968000-7da17000 Deferred
ELF 7da17000-7da27000 Deferred
ELF 7da27000-7da33000 Deferred
ELF 7da33000-7daa7000 Deferred
ELF 7daa7000-7db42000 Deferred
ELF 7db42000-7db71000 Deferred
ELF 7db71000-7dbbb000 Deferred
ELF 7dc1e000-7dc52000 Deferred uxtheme
\-PE 7dc20000-7dc52000 \ uxtheme
ELF 7dc52000-7dc5c000 Deferred
ELF 7dc5c000-7dc62000 Deferred
ELF 7dc62000-7dc66000 Deferred
ELF 7dc66000-7dc6e000 Deferred
ELF 7dc6e000-7dc78000 Deferred
ELF 7dc78000-7dc7e000 Deferred
ELF 7dc7e000-7dc82000 Deferred
ELF 7dc82000-7dca3000 Deferred imm32
\-PE 7dc90000-7dca3000 \ imm32
ELF 7dca3000-7dcbd000 Deferred
ELF 7dcbd000-7ddda000 Deferred
ELF 7ddda000-7ddea000 Deferred
ELF 7ddea000-7de03000 Deferred
ELF 7de03000-7de0c000 Deferred
ELF 7de19000-7de1d000 Deferred
ELF 7de1d000-7debf000 Deferred winex11
\-PE 7de30000-7debf000 \ winex11
ELF 7df1f000-7df46000 Deferred
ELF 7df46000-7df76000 Deferred
ELF 7df78000-7df7e000 Deferred
ELF 7df87000-7dffe000 Deferred
ELF 7dffe000-7e025000 Deferred msacm32
\-PE 7e000000-7e025000 \ msacm32
ELF 7e025000-7e03b000 Deferred psapi
\-PE 7e030000-7e03b000 \ psapi
ELF 7e03b000-7e093000 Deferred dbghelp
\-PE 7e040000-7e093000 \ dbghelp
ELF 7e093000-7e0cc000 Deferred dinput
\-PE 7e0a0000-7e0cc000 \ dinput
ELF 7e0cc000-7e0e7000 Deferred dinput8
\-PE 7e0d0000-7e0e7000 \ dinput8
ELF 7e0e7000-7e1ce000 Deferred oleaut32
\-PE 7e100000-7e1ce000 \ oleaut32
ELF 7e1ce000-7e28c000 Deferred comdlg32
\-PE 7e1d0000-7e28c000 \ comdlg32
ELF 7e28c000-7e2c3000 Deferred winspool
\-PE 7e290000-7e2c3000 \ winspool
ELF 7e2c3000-7e2df000 Deferred oleacc
\-PE 7e2d0000-7e2df000 \ oleacc
ELF 7e2df000-7e303000 Deferred mpr
\-PE 7e2f0000-7e303000 \ mpr
ELF 7e303000-7e318000 Deferred
ELF 7e318000-7e373000 Deferred wininet
\-PE 7e320000-7e373000 \ wininet
ELF 7e373000-7e387000 Deferred
ELF 7e387000-7e3a7000 Deferred iphlpapi
\-PE 7e390000-7e3a7000 \ iphlpapi
ELF 7e3a7000-7e3c2000 Deferred wsock32
\-PE 7e3b0000-7e3c2000 \ wsock32
ELF 7e3c2000-7e3dd000 Deferred crtdll
\-PE 7e3d0000-7e3dd000 \ crtdll
ELF 7e3dd000-7e471000 Deferred winmm
\-PE 7e3f0000-7e471000 \ winmm
ELF 7e471000-7e49e000 Deferred ws2_32
\-PE 7e480000-7e49e000 \ ws2_32
ELF 7e49e000-7e5d6000 Export wined3d
\-PE 7e4b0000-7e5d6000 \ wined3d
ELF 7e5d6000-7e60a000 Export d3d9
\-PE 7e5e0000-7e60a000 \ d3d9
ELF 7e60a000-7e67d000 Deferred rpcrt4
\-PE 7e620000-7e67d000 \ rpcrt4
ELF 7e67d000-7e77b000 Deferred ole32
\-PE 7e690000-7e77b000 \ ole32
ELF 7e77b000-7e866000 Deferred comctl32
\-PE 7e780000-7e866000 \ comctl32
ELF 7e891000-7ea6a000 Deferred shell32
\-PE 7e8a0000-7ea6a000 \ shell32
ELF 7ea6a000-7eac4000 Deferred advapi32
\-PE 7ea80000-7eac4000 \ advapi32
ELF 7eac4000-7eb4f000 Deferred gdi32
\-PE 7ead0000-7eb4f000 \ gdi32
ELF 7eb4f000-7ec7f000 Deferred user32
\-PE 7eb60000-7ec7f000 \ user32
ELF 7efa6000-7efb2000 Deferred
ELF 7efb2000-7efc9000 Deferred
ELF 7efc9000-7efef000 Deferred
ELF 7eff1000-7eff5000 Deferred
ELF 7eff5000-7f000000 Deferred
ELF b74b0000-b74b5000 Deferred
ELF b74b5000-b74bd000 Deferred
ELF b74be000-b74c2000 Deferred
ELF b74c2000-b761f000 Deferred
ELF b7620000-b763a000 Deferred
ELF b764b000-b778b000 Deferred
ELF b778d000-b77ab000 Deferred
process tid prio (all id:s are in hex)
0000000e services.exe
00000014 0
00000010 0
0000000f 0
00000011 winedevice.exe
00000018 0
00000016 0
00000013 0
00000012 0
0000001d explorer.exe
0000001e 0
00000039 explorer.exe
00000009 0
0000002a winefile.exe
00000038 0
0000000c (D) D:\Games\Homm5\bin\H5_Game.exe
00000046 0
0000001b 0
00000043 0 0 0x7e595de6 in wined3d (+0xe5de6) (0x0032f4c0)
1 0x7e5085bb in wined3d (+0x585ba) (0x0032fb60)
2 0x7e51359a in wined3d (+0x63599) (0x0032fb80)
3 0x7e59a78a WineDirect3DCreate+0x59() in wined3d (0x0032fbc0)
4 0x7e5e9c6d Direct3DCreate9+0x5c() in d3d9 (0x0032fbf0)
5 0x00a9794e in h5_game (+0x69794d) (0x00400000)
6 0x00000003 (0x00905a4d)
7 0xf7ea33e8 (0x8b647500)
RE: don't want to start
by Airee on Sunday June 12th 2011, 16:12
At 11.04 Natty this problem persists... wine 1.2.3
RE: don't want to start
by Linards on Monday June 13th 2011, 2:22
Please give us your video card information using this command:

$ lspci | grep VGA

Note - use to paste long tracelogs for better viewability. Noone llikes reading terminal output as simple post-reply here ;) Developers are humans, too ;)
by Ernst on Wednesday February 23rd 2011, 4:46
Just figured out that the ZOOM problem can be fixed by setting bindconfigure MOUSE_AXIS_Z 3000

in the input_a2.cfg

Hope this helps.

Everything else works great now

by Gary Golden on Friday October 22nd 2010, 16:37
Note that the game creates user related config inside 'My Documents' which takes precedence over installed input.cfg.
Therefore when changing MOUSE_AXIS_X(Y) you should change it in wine 'My Documents' folder.
Displaying problems
by Konrad on Saturday June 5th 2010, 21:17
I'm experiencing very weird problem.
During the game some contents won't display. In example when Im in my castle and I click Recruit creatures nothing shows up. Can't do that straight from building too.
Same thing when I try to run campanion - I click on scenario name and nothing displays.
The game doesn't crash, I can return to what I was doing, so I don't think it's hardware issue.
Any help please?
RE: Displaying problems
by Konrad on Saturday June 5th 2010, 21:33
Oh, by the way.
I also have the problem with camera, but changing the input.cfg file didn't help...
Additional information
by cobolfoo on Sunday May 30th 2010, 3:58
I was able to run this game fullscreen in 1920x1080 without flickers under Ubuntu 10.04x64 (Core I7 + Radeon 5750)

- Make sure to disable compiz (Remove flickers)
- Run winecfg and toggle desktop emulation to the resolution you want, you might need to edit your HOMM IV profile in profiles folder in your game folder and set the resolution matching your emulated desktop resolution.
Install problem
by Diego on Friday March 26th 2010, 13:26

I try to install heroes V, but i have some problem.

I use wine-1.1.41 and install directx9 using winetricks.

When I try to install, the setup starts ok, I choose the language, and after that, the install go on with this error on my shell:

err:ole:marshal_object object doesn't expose interface {be6115a1-7de5-48dc-ad2a-25060e00fce2}, failing with error 0x80004002
err:ole:ClientIdentity_QueryMultipleInterfaces IRemUnknown_RemQueryInterface failed with error 0x80004002

At the end of install, I go a windows like this:

Unhandled Exception
Error Number: 0x8002000E

Setup will now terminate.

Can someone give-me a few tips?