The forum

Need Help, Heros of Might and Magic 3 Complete not working.

Author Replies
Crims0nBlade Friday 23 August 2013 at 23:32
Crims0nBladeAnonymous

Hello, im new to the forum and im normally very shy about posting, in fact this is my first post.  But i really need help and im not a computer wiz or programmer so... please be kind.

My Distribution:Linux 3.2.0-52 generic

My Software:Wine 1.5.16, i've also tried it on 1.7.0

My Desktop: It is KDE

My problem: I Installed Heroes of M and M 3:Complete through playonlinux using the setup file from GOG.com.  This was week ago and it worked, although it did occasionally crash. (didn't have chance to investigate)  Well, the night i get the game, i recieve a few updates for my computer.  I update, then after im done i try playing the game through playonlinux.  it crashed and I then call a friend, the guy who gave me the Linux OS.  He advises i reinstall the game, I did this and it still crashed when trying to play it.  I ask again and i am advised to go to this forum.  I reasearched but couldn't find any similar issue. (I'm not sure how to find what i was looking for ethier...)  Well after trying the latest wine software (1.7.0) it still crashes giving me the same script error or whatever as before so here is the script.

[08/23/13 15:48:00] - Running wine-1.5.16 --version (Working directory : /home/tim/.PlayOnLinux)
wine-1.5.16

PlayOnLinux logfile
-------------------
Date: 08/23/13 15:48:00

> PlayOnLinux Version
  4.2.1
> uname -a
  Linux tim-desktop 3.2.0-52-generic #78-Ubuntu SMP Fri Jul 26 16:23:24 UTC 2013 i686 i686 i386 GNU/Linux
> lsb_release -a
 
> wine --version
  wine-1.5.16
> POL_WINEVERSION
  1.5.16
> WINEPREFIX
  /home/tim/.PlayOnLinux//wineprefix/HoMM3_gog
> Distribution
  Ubuntu 12.04.3 LTS
> glxinfo \\| grep rendering
  direct rendering: Yes
> glxinfo \\| grep renderer
  OpenGL renderer string: Mesa DRI Intel(R) 865G x86/MMX/SSE2
> OpenGL libs (Direct rendering testing)
  32bits direct rendering is enabled
 

[08/23/13 15:48:44] - Running wine-1.5.16 cmd /c echo %ProgramFiles% (Working directory : /home/tim/.PlayOnLinux)
C:\\Program Files
[08/23/13 15:48:51] - ----- Starting function POL_Install_nop -----
[08/23/13 15:48:54] - ----- Ending function POL_Install_nop -----
[08/23/13 15:48:54] - ----- Starting function POL_GoG_install -----
[08/23/13 15:48:55] - ----- Starting function POL_Function_SetNativeExtension -----
[08/23/13 15:48:55] - Running wine-1.5.16 regedit /home/tim/.PlayOnLinux//tmp/nativeext.reg (Working directory : /home/tim/.PlayOnLinux/tmp)
[08/23/13 15:48:55] - Content of /home/tim/.PlayOnLinux//tmp/nativeext.reg
-----------
REGEDIT4

[HKEY_CLASSES_ROOT\\.pdf]
@="pdffile"
"Content Type"="application/pdf"

[HKEY_CLASSES_ROOT\\pdffile\\Shell\\Open\\command]
@="winebrowser \\"%1\\""
-----------
[08/23/13 15:48:55] - ----- Ending function POL_Function_SetNativeExtension -----
[08/23/13 15:48:56] - ----- Starting function POL_Install_gdiplus -----
[08/23/13 15:48:56] - Running wine-1.5.16 WindowsXP-KB975337-x86-ENU.exe /extract:C:\\Tmp /q (Working directory : /home/tim/.PlayOnLinux/ressources)
fixme:advapi:DecryptFileA "C:\\\\Tmp\\\\" 00000000
[08/23/13 15:48:59] - Running wine-1.5.16 regedit /home/tim/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/tim/.PlayOnLinux/wineprefix/HoMM3_gog/drive_c/Tmp)
[08/23/13 15:48:59] - Content of /home/tim/.PlayOnLinux//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\\Software\\Wine\\DllOverrides]
"*gdiplus"="native"
-----------
[08/23/13 15:48:59] - ----- Ending function POL_Install_gdiplus -----
[08/23/13 15:49:00] - Running wine-1.5.16 /home/tim/Downloads/setup_homm3_complete_2.0.0.16.exe POL_GoG_install (Working directory : /home/tim/.PlayOnLinux/tmp)
fixme:process:SetProcessDEPPolicy (1): stub
fixme:process:SetProcessDEPPolicy (1): stub
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:shell:SHAutoComplete stub
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:win:EnumDisplayDevicesW ((null),0,0x33f420,0x00000000), stub!
fixme:win:WINNLSEnableIME hwnd 0x10138 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10138 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x1013a enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x1013a enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10138 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x10138 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x10136 enable 0: stub!
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\\\GOG Games\\\\Heroes of Might and Magic 3 Complete\\\\unins000.exe") stub
intel_do_flush_locked failed: Input/output error
[08/23/13 15:52:26] - ----- Ending function POL_GoG_install -----
[08/23/13 15:52:28] - Running wine-1.5.16 regedit /home/tim/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/tim/.PlayOnLinux/tmp)
[08/23/13 15:52:28] - Content of /home/tim/.PlayOnLinux//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\\Software\\Wine]
"Version"="winxp"
-----------
[08/23/13 15:52:28] - Running wine-1.5.16 regedit /home/tim/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/tim/.PlayOnLinux/tmp)
[08/23/13 15:52:28] - Content of /home/tim/.PlayOnLinux//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\\Software\\Wine\\Direct3D]
"VideoMemorySize"="256"
-----------
[08/23/13 15:52:32] - Running wine-1.5.16 regedit /home/tim/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/tim/.PlayOnLinux/tmp)
[08/23/13 15:52:32] - Content of /home/tim/.PlayOnLinux//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\\Software\\Wine\\X11 Driver]
"Managed"="N"
-----------
[08/23/13 15:52:33] - Running wine-1.5.16 wineboot (Working directory : /home/tim/.PlayOnLinux/tmp)
[08/23/13 15:52:52] - Running wine-1.5.16 Heroes3.exe (Working directory : /home/tim/.PlayOnLinux/wineprefix/HoMM3_gog/drive_c/GOG Games/Heroes of Might and Magic 3 Complete)
intel_do_flush_locked failed: Input/output error
[08/23/13 15:53:31] - Running wine-1.5.16 Heroes3.exe (Working directory : /home/tim/.PlayOnLinux/wineprefix/HoMM3_gog/drive_c/GOG Games/Heroes of Might and Magic 3 Complete)
intel_do_flush_locked failed: Input/output error
[08/23/13 15:57:32] - Running wine-1.7.0 Heroes3.exe (Working directory : /home/tim/.PlayOnLinux/wineprefix/HoMM3_gog/drive_c/GOG Games/Heroes of Might and Magic 3 Complete)
wine: configuration in '/home/tim/.PlayOnLinux//wineprefix/HoMM3_gog' has been updated.
intel_do_flush_locked failed: Input/output error

Highlighted in red is my problem.  It occurred twice because i was trying both wine versions. (1.5.16 and 1.7.0 respectivly)

I read the post about what to post in a bug report but im not good with computers and didn't understand what it was ment by my computer's configuration.  If it would help with solving my problem just explain to me what it is and how i know what mine is.

Please if anyone could help, i would be grateful.
booman Saturday 24 August 2013 at 15:49
booman

Someone blogged this exact problem with an Intel chipset: intel_do_flush_locked
Of course this is completely at your own risk, but it definitely sounds like a driver issue.
I tested Heroes of Might-n-Magic 3 months ago and it worked perfectly on my Nvidia GeForce 550 Ti

† Booman †
Mint 21.3 64-bit | Nvidia 550| GeForce GTX 1650
Linux for Beginners | PlayOnLinux Guides | PlayOnLinux Explained
Daerandin Saturday 24 August 2013 at 16:12
DaerandinAnonymous

I have experienced issues with Heroes 3 complete, GOG version when using the official install script. However, I never bothered investigating it much since switching wine version to 1.4 made the game run without problem for me. Also, I have nvidia gpu.

You can try setting wine version to 1.4 and see if that helps you. Another issue I have experienced rarely is that some games need to be run with virtual desktop enabled, most likely because I am on a laptop and the laptop monitor can't handle all resolutions.

So you could try either of these methods since it is quick and easy to test.
petch Sunday 25 August 2013 at 19:39
petch

The version of Wine used in this script have been carefully selected, so I will not change it.

See http://www.playonmac.com/en/topic-9996-HoMM3_HD_issue.html

Edited by petch

Daerandin Sunday 25 August 2013 at 22:52
DaerandinAnonymous

I am not suggesting to change the wine version in the script. Also, I have not tried the HD patch for Heroes 3 so I can't comment on that. I just checked it myself just now. If I turn off virtual desktop in wine, it crashes. I can run it with wine version 1.4 and not letting window manager control the window. Admittedly, this is only a shot in the dark regarding op's problem. Still, it's quick to test which is why I suggested it.

As for my problem, I have not been able to diagnose the issue from the debug info, but I am not expert on that. It has just been my experience that laptops sometimes have issues with certain resolutions. I also happen to know that wine version 1.4 handles fullscreen differently to 1.5 and up wine versions. I couldn't start the original Dawn of War with anything greater than wine version 1.4 unless I used a virtual desktop so the game could find a usable resolution. The Dark Crusade and Soulstorm expansions can run in my native resolution, so they would start without issue.

Sorry don't mean to hijack the topic. I only wanted to clarify my reasoning.
petch Monday 26 August 2013 at 0:44
petch

The HD patch could actually help, as I don't think the original game supports anything but 4:3 resolutions; If your screen is not 4:3, that could be the problem.
Crims0nBlade Tuesday 27 August 2013 at 20:41
Crims0nBladeAnonymous

Well i tried the hd patch but it didn't work. If you want i could show the debug info but i wasn't sure it would make a difference seeing as i had the game working before i updated the computer. But ill show you the info if you want.

Also i tried it on 1.4 and it still didn't work. same issue as before.  intel_do_flush_locked failed: Input/output error

Edited by Crims0nBlade

Crims0nBlade Tuesday 27 August 2013 at 21:01
Crims0nBladeAnonymous

Out of curiousity and after a system update i tried to play one of my other games i had on playonliunx:Elders Scrolls Daggerfall. It crashed as well and in a similar manner but reading the debug didn't show the same error. But perhaps both crashes could be related because they crashed and the message pops up, Both saying error in main. most intresting but im not sure what to do.
Daerandin Tuesday 27 August 2013 at 21:19
DaerandinAnonymous

You could try the fix from booman's link. You can make sure to make a copy of the grub config file, so it will be easy to revert these changes if it does not work or simply creates other issues.

I found a mention of the same issue on the Arch forums:

https://bbs.archlinux.org/viewtopic.php?id=140103


So this appears to be a well known issue according to the info there, but it does not seem that anyone found a proper solution yet, except to change acceleration method.

Edited by Daerandin

Crims0nBlade Wednesday 28 August 2013 at 15:08
Crims0nBladeAnonymous

Sigh, well I'm a bit intimidated by going into the grub files as i don't know how to do what he is talking about, and what he is talking about sounds familiar as playing the game before the update was possible if only for a few minutes. It matches and i think ill try later when i have a better computer. Thank you all for your help.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com