Page 1 of 1
heroes of might and magic 5
Posted: Fri May 19, 2006 1:59 am
by russianpirate
my brother just ordered homm5 for his windows comp,
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
i was wondering if anyone here knows how to run it?
thanks a lot.. im really hoping for this game to work
Re: heroes of might and magic 5
Posted: Fri May 19, 2006 5:35 am
by GetCool
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
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.
I know how you feel, though, when a new Windows game is released that you can't run for a while. I have a copy of Oblivion sitting in my drawer, because I bought it right before I wiped my Windows partition for good. Such is the life we live.
Posted: Sat May 20, 2006 2:13 am
by russianpirate
Yes.. the Australian version arrived
Here is how you can fix the crashing during the loading of the map:
1. Get a HEX editor (I used ghex)
2. Download NOCD crack for Heroes V (gamecopyworld.com has one)
3. Copy the nocd exe over the original exe (keep the orig just in case)
4. Find this hex string in the nocd exe:
Code: Select all
51 56 8B F1 8B 4E 08 2B 4E 04 8B 46 28 C1 F9 02
5.Change the first 51 to C3
6.Run using cedega (wine wont work

but you can get cvscedega

).. play around with settings to make it run smoothly
I read about this on some russian gaming forums becauase Heroes crashed for them in windows like this too.
Posted: Sat May 20, 2006 5:21 am
by GetCool
So it's really just a copy protection issue, then? The game runs fine in Cedega?
Too bad I don't use Cedega. Maybe I'll try the demo in Wine some day I'm bored.
Posted: Sat May 20, 2006 7:09 am
by russianpirate
No its not a copy protection thing. I think it has to do with the pixel shaders or maybe something else graphics-related.. this hex change just prevents some check or some other verification from being run.. not sure
However, the game does crash from time to time.. :-\ can get used to that though
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)..
Posted: Tue Jun 06, 2006 12:05 am
by s0j0urn3r
Which version of the no-cd did you used? Juz bought the game and tried to use the english no-cd to run in cedega but I can't find the hex string anywhere.
Posted: Tue Jun 06, 2006 6:08 am
by peter_poulsen
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)..
Whenever I want to kill cedega/wine I run:
that usually does the trick (other games then HOMM may die without taking cedega/wine with it

)
Posted: Thu Jun 08, 2006 2:10 am
by russianpirate
I know thats how you kill it lol
But.. I want a script that kills wineserver when h5 hangs cause i have no control of the input whatsoever..
Right now i decided to use SSH to kill it from my bro's laptop
Posted: Fri Jun 09, 2006 2:37 pm
by eNTi
can't you even switch to another x session?
Posted: Fri Jun 09, 2006 5:20 pm
by russianpirate
nope all of direct input is blocked so you need to use ssh or a realtime script/program to kill it
Posted: Sat Jun 10, 2006 1:03 am
by GetCool
russianpirate wrote:nope all of direct input is blocked so you need to use ssh or a realtime script/program to kill it
Yes, this is what used to happen to me when a Windows application under Wine went screwy.
I would guess that any scripted solution for this would be pretty complex and/or a dirty hack, as it would have to be some kind of cron job or polling daemon. And if you're thinking of ways to write a polling daemon that automatically kills a problematic app, then it's probably time to stop using the problematic app (at least until it is better supported). But of course, we all have our own priorities.
Posted: Sat Jun 10, 2006 1:30 am
by russianpirate
Well im not that good with programming yet (still on page 80/800? of teach yourself perl in 21 days and im kinda lazy so i stop reading it for days sometimes lol) and a cron job that looks for a dead program every 30sec-1min would seriously slow everything down.. well.. actually ps -A every 2 sec probably wouldnt kill anyone lol.. but still its too dirty and ssh works better for me
But.. if anyone is willing to write a script/daemon to kill wine/cedega when its defunct or hung.. I would greatly appreciate it

Posted: Sat Jun 10, 2006 3:32 am
by GetCool
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

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.
Furthermore, this is dirty, and I do not recommend putting something like this into a cron job.
Code: Select all
#!/bin/sh
if [[ -n $( ps -e | grep defunct | grep wine ) ]] ; then
killall -9 wine
fi
Posted: Sat Jun 17, 2006 11:13 am
by EmptyDoor
Posted: Thu Jun 22, 2006 11:42 am
by russianpirate
Posted: Thu Jun 22, 2006 3:39 pm
by peter_poulsen
No wonder!! That hexedit fix is fixing everything! (at least it is running smooth on my machine)
Posted: Sat Jun 24, 2006 12:22 pm
by russianpirate
Ya btw there is a patch 1.1. The fix doesn't work for that, but you don't even need it for 1.1 I'm pretty sure. I'm just waiting for a nocd. If you updated to 1.1 and you can't run the game.. just replace the exe with the 1.0 exe cracked by reloaded.. that's what I did and its fine.
Patch to 1.1:
http://www.maps4heroes.com/heroes5/patch_1_1_eng.php
Crack for 1.1:
http://rapidshare.de/files/22972230/u-hmm11c.rar.html
Tested: Works with Cedega 5.2

of course there is still the mouse rotating problem, but keyboard works fine
PS: If you can read russian or use a translator, there is A LOT of information of the
Heroes 5 forum on AG.RU.. that's where a lot of devels from Nival post and tell about upcoming releases.. and the 1.1 patch was available there before anywhere else.
Posted: Sat Jul 29, 2006 1:41 pm
by crazy-bee
Its pretty strange. If I use this hex fix, I do see the splash screen, and then only a black screen. If I keep the original exe, I get further, but the game crahs at at end of loading a mission
I cannot install Patch 1.01 ("Game not installed").
Heroes of Might & Magic 5 - random map generator
Posted: Fri Sep 15, 2006 8:50 am
by ev123
The instruction on installation and generation of maps for Heroes 5 here:
Heroes 5 random map generator