
Well, I can't really help you, but with such a new game I wouldn't get my hopes up just yet. According to this thread, HoM&M 4 is still a work in progress under Wine/Cedega.russianpirate wrote:i really love homm (especially 3).. and i tried to play the demo on my comp (cedega 5.1), the game installs and loads, but after i start the game, it loads then just crashes.. i read somewhere that someone ran it with cedega

Code: Select all
51 56 8B F1 8B 4E 08 2B 4E 04 8B 46 28 C1 F9 02

Whenever I want to kill cedega/wine I run:russianpirate wrote: EDIT: If anyone is skilled with scripting or programming.. is it possible to make a script that kills wine when heroes 5 crashes (cause i dont feel like restarting my comp)..
Code: Select all
killall -9 wine wineserver

Yes, this is what used to happen to me when a Windows application under Wine went screwy.russianpirate wrote:nope all of direct input is blocked so you need to use ssh or a realtime script/program to kill it

Well, it would actually be quite easy to write a script that would identify a defunct process named "wine", for example, and kill it. However, I'm not so sure if wine will be marked "defunct" or not when it hangs like this; by definition, "defunct" really means that the process has not been properly destroyed by its parent process. Whether or not this applies, I'm not sure.russianpirate wrote:But.. if anyone is willing to write a script/daemon to kill wine/cedega when its defunct or hung.. I would greatly appreciate it
Code: Select all
#!/bin/sh
if [[ -n $( ps -e | grep defunct | grep wine ) ]] ; then
killall -9 wine
fi


