Page 5 of 21
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 7:32 am
by archibalduk
Tyees wrote:If I go back in time, will it over write the league histories? I noticed I started up a game for 1950 and it still had the 05/06 data for cups and awards. I can test it if no one knows, but figured I'd ask first
The game will crash once you reach the end of the first competition that takes place in the game towards the end of the year IIRC (I've tried it). You'll need to remove all of the 1950/51+ competition histories from club_comp_history.dat and nation_comp_history.dat. As mentioned, Marek's guide is a good place to start.
You'll also get .cpp errors with regards to contracts because many players will have 50 year contracts. I can fix the contract errors using the contract editor I'm finishing off.
This is as far as I have gotten with regards to enabling retro rosters. I'm wondering whether draft dates will also need to be changed...
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 4:25 pm
by nino33
archibalduk wrote: I'm wondering whether draft dates will also need to be changed...
Are the "NHL Draft" and the "CHL Draft" (WHL, OHL, QMJHL) the only two drafts in game?
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 6:29 pm
by Manimal
nino33 wrote:archibalduk wrote: I'm wondering whether draft dates will also need to be changed...
Are the "NHL Draft" and the "CHL Draft" (WHL, OHL, QMJHL) the only two drafts in game?
Those and the CHL Import Draft are the only ones
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 6:55 pm
by archibalduk
nino33 wrote:archibalduk wrote: I'm wondering whether draft dates will also need to be changed...
Are the "NHL Draft" and the "CHL Draft" (WHL, OHL, QMJHL) the only two drafts in game?
I think I know where you're going with this! I've written a mass contract expiry adjustment tool which allows you to increase/decrease/randomise contract expiry years (I just have to finalise the user interface). Once I've completed this, I can easily create a version that will do the same for the draft dates (I could add an additional option to only alter those for a certain year onwards and also to set them all to the same year).
So if you work according to the 2006 start date in the mean time, you could use my tool to adjust it all for a 1974 start date at a later stage in your DB development.
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 7:54 pm
by nino33
That's great news!
I was actually considering doing it manually!
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 8:35 pm
by Lazion
Manimal wrote:nino33 wrote:archibalduk wrote: I'm wondering whether draft dates will also need to be changed...
Are the "NHL Draft" and the "CHL Draft" (WHL, OHL, QMJHL) the only two drafts in game?
Those and the CHL Import Draft are the only ones
And SI has left data for waiver draft in exe file.
Wrong topic, but what I would love to see is attribute editor which edits numbers in masses in specific age groups.
Don't know how hard that is to write, but eh.. atleast that sounds easy.
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 10:10 pm
by archibalduk
Lazion wrote:Wrong topic, but what I would love to see is attribute editor which edits numbers in masses in specific age groups.
Don't know how hard that is to write, but eh.. atleast that sounds easy.
Edit which numbers?
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 10:11 pm
by archibalduk
nino33 wrote:That's great news!
I was actually considering doing it manually!
Just keep on working according to the 2006 date and I'll figure out how to get it all automatically adjusted to 1974 for you.

Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Wed Oct 12, 2011 10:30 pm
by nino33
archibalduk wrote:Just keep on working according to the 2006 date and I'll figure out how to get it all automatically adjusted to 1974 for you.

Awesome! Sounds good!
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 10:32 am
by archibalduk
Smetana wrote:archibalduk wrote:Yeah I'm pretty much at a loss too.
](./images/smilies/wallbash.gif)
Could you email your ehm2007.exe file to me and I'll see if it works on my machine. If it does then it suggests there is something specific about your system that is the cause of the issue.
Will do. Thank you.
Hey Smetana
I took a look at your exe - it is identical to mine (I checked using HxD which can compare two files byte-for-byte) and it worked okay with the Patch on my laptop. It has to be some sort of system-related issue. I think you said you were simply using Windows 7. Do you run any software that may interfere with the patching process - maybe an Anti Virus Scanner or even some other software that might be running in the background?
I'm going to create a modified version of the patch which will apply the patch and will then double-check that each offset has been correctly modified by listing the values of each offset on the screen. So you will be able to see whether the values are still set as 2006/07 or whether they have been successfully changed to 2011/12. This will hopefully determine for sure whether there is something preventing the data in the RAM being changed.
Edit Try the patch I have posted two posts below this one (or click here:
http://www.ehmtheblueline.com/forums/vi ... 33#p129433 ).
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 11:30 am
by Viking
archibalduk wrote:I promise I will create a CD version however.
Super. Thank you.
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 1:36 pm
by archibalduk
Smetana - Try using
CSD Checker.zip which I have uploaded here:
https://skydrive.live.com/?cid=a0fa740e ... C5C5%21280#
1) Load EHM so that you are at the opening main menu (the screen with the New Game / Load Game / etc buttons).
2) Extract
CSD Checker.exe from the zip file and put it somewhere like you desktop (or anywhere you like - it doesn't matter where).
3) If you are using Windows Vista or 7: Right-click on the
CSD Checker.exe file -> Properties -> Compatibility -> Tick the box titled
'Run this program as an adminstrator'. Click on OK.
4) Double-click on
CSD Checker.exe.
5) You will see that a window appears with a list. For each of the items in the list, the
STATUS should be listed as
OK. Also, the
AFTER should be listed as the same value as the
TARGET (i.e. 13 of the
AFTERs should be
2011 and the other one should be
2012). In other words, it should look
exactly the same as this:
6) Finally, in EHM 2007, click on the New Game button and it should have the correct 2011/12 season start date.
The CSD Checker works by applying the patch and then checking to see that the patch has worked okay. The column entitled
TARGET indicates what value each item in the list should be changed to. The
AFTER shows what value each item in the list actually is following the patch being applied. Therefore, if the patch has worked, both columns will show the same value.
If the patch hasn't worked then the
TARGET and
AFTER columns will have different values in them.
The
BEFORE column shows the value of each item before it was patched. 13 of these values should be listed as
2006 and the remaining one should be
2007.
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 2:40 pm
by Smetana
Your assistance is greatly appreciated, Archi. Thanks very much. I'll give this a go as soon as I have a chance. Getting set right now to head out, driving up to Pittsburgh for Sabres/Pens tonight, and to get my first look at Consol.

Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 2:46 pm
by archibalduk
Smetana wrote:Your assistance is greatly appreciated, Archi. Thanks very much. I'll give this a go as soon as I have a chance. Getting set right now to head out, driving up to Pittsburgh for Sabres/Pens tonight, and to get my first look at Consol.

Wow - have fun! I'm
very envious!!

Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 3:33 pm
by Jypfan92
How the patch works? I downloaded "CSD Checker.zip" and opened EHM. I clicked "Checker" to run as adminstrator but when i double-click it, it just gives error: "this application has failed to start because MSVCP100.dll was not found. Re-installing the application may fix this problem. Then becomes that black window, but that's empty.
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 3:58 pm
by archibalduk
Do you have the following two libraries installed?
Microsoft Visual C++ 2010 Redistributable Package -
http://www.microsoft.com/download/en/de ... px?id=5555
Microsoft .NET Framework 4 (or higher) -
http://www.microsoft.com/net
The above two files are needed if you want to use the patch.
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 7:06 pm
by Jypfan92
Nope. Haven't read much this thread, cuz I have not much spare time at army. But thanks for info, the patch looks good
Btw, is it possible to add stats of 06/07-10/11 and drafts of 07-11?
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sat Oct 15, 2011 8:56 pm
by archibalduk
Jypfan92 wrote:Nope. Haven't read much this thread, cuz I have not much spare time at army. But thanks for info, the patch looks good

You may want to take a look at this thread:
http://www.ehmtheblueline.com/forums/vi ... =88&t=8283 - This provides all of the information you'll need and is also a much more user friendly version of the patch (although there are a few fairly minor bugs which will be fixed once I release the next version).
Jypfan92 wrote:Btw, is it possible to add stats of 06/07-10/11 and drafts of 07-11?
Yes and yes!

Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sun Oct 16, 2011 8:50 am
by Jypfan92
archibalduk wrote:Jypfan92 wrote:Btw, is it possible to add stats of 06/07-10/11 and drafts of 07-11?
Yes and yes!

Oh, and one question: is there db that has already all stats or should i add them myself?
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sun Oct 16, 2011 9:24 am
by archibalduk
Jypfan92 wrote:Oh, and one question: is there db that has already all stats or should i add them myself?
Manimal and co are working on the next version (v4.0 IIRC) of their roster update. This will hopefully contain updated contacts, some updated histories and possibly the draft dates.
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Sun Oct 16, 2011 1:11 pm
by Manimal
Yeah, we're looking to add player histories. I'm not sure how much we will find the time to add for the first release as it is very time consuming work
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Fri Oct 21, 2011 8:42 pm
by archibalduk
Konstantinov16 wrote:Hi, sorry but I think I might've posted a thread in the wrong forum earlier. I'm trying to get help with the custom start date patch... My NHL EHM 2007 program stops working when I apply the patch, essentially it crashes. I have tried both apply patch, start standard and windowed. Not sure what is causing this to happen. I have the required updates (.net 4.0 and C++ 2010), and the game works without applying the custom start date patch... When I try to apply the custom start date patch, it tells me that NHL EHM 2007 has stopped working... the generic Windows 7 error. Can anyone help please?
Please could you download
CSD Checker v1.2b2.zip from
HERE. Then follow these instructions:
1) Load EHM so that you are at the opening main menu (the screen with the New Game / Load Game / etc buttons).
2) Extract
CSD Checker.exe from the zip file and put it somewhere like you desktop (or anywhere you like - it doesn't matter where).
3) If you are using Windows Vista or 7: Right-click on the
CSD Checker.exe file -> Properties -> Compatibility -> Tick the box titled
'Run this program as an adminstrator'. Click on OK.
4) Double-click on
CSD Checker.exe.
5) A command prompt window will appear with some information. Could you take a screenshot of it and post it here please?
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Fri Oct 21, 2011 10:39 pm
by Konstantinov16
Sorry for posting in the wrong forums earlier. Here is the image requested.

Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Fri Oct 21, 2011 10:50 pm
by archibalduk
The screenshot you posted indicates that the data loaded into the RAM is
very different to that of other users. Hence why the patch isn't working.
What edition of EHM are you running? eLicense, CD-ROM or cracked? I'm guessing you're running the eLicense edition of the game? If so, then there's something to do with your system setup that is resulting in the data being loaded differently. Are you running anything like an anti-virus or a firewall - or anything else that runs in the background?
Could you try following instructions 1-9 from
this post? Once you have followed those instructions, please could you email the .AMT file and your ehm2007.exe file to me - I will try and take a look later this weekend. I suspect you may have the same issue as Smetana.
Re: Custom Start Date Patch: Questions, Errors and Help
Posted: Fri Oct 21, 2011 10:54 pm
by Konstantinov16
archibalduk wrote:The screenshot you posted indicates that the data loaded into the RAM is
very different to that of other users. Hence why the patch isn't working.
What edition of EHM are you running? eLicense, CD-ROM or cracked? I'm guessing you're running the eLicense edition of the game? If so, then there's something to do with your system setup that is resulting in the data being loaded differently. Are you running anything like an anti-virus or a firewall - or anything else that runs in the background?
Could you try following instructions 1-9 from
this post? Once you have followed those instructions, please could you email the .AMT file and your ehm2007.exe file to me - I will try and take a look later this weekend. I suspect you may have the same issue as Smetana.
I just read through this thread right before you posted, I believe I see the problem already - I am using the CD-ROM version of the game. I will patiently wait until you have completed the eLicence version before you start on the CD-ROM version, but could you please confirm for sure that this would cause the problem? Thanks!