Editing Game Code

Discuss all aspects of editing the data and databases in EHM here. Have a question about the EHM Editor, EHM Assistant, editing the .cfg files, hex editing the .dat or .db files? Want to tweak the EHM exe file to change league rules/structure, start date etc? This is the place!
Forum rules
This is the forum to discuss all aspects of editing the EHM data and tweaking the game.

Have a bug or feature request for the EHM Editor? Post them in the EHM Editor thread. Please start a new thread or post in another thread if you have a question about how to use the EHM Editor.

Given the large number of questions on similar topics, we ask that you start a new thread for a new question unless you can locate a similar question in an existing thread. This will hopefully ensure that similar questions do not get buried in large threads.

Useful links: EHM 1 Assistant (Download) | EHM 1 Editor (Download) | EHM 1 Editor Tutorials | Editing Rules & Structures Guide | Converting EHM 2004 / 2005 DBs to EHM 1 | Converting an EHM 2007 DB to EHM 1 | Extra_config.cfg | Import_config.cfg | Player Roles
Post Reply
User avatar
Javs
Minor League
Posts: 238
Joined: Mon Mar 07, 2005 11:48 pm
Location: Ontario

Editing Game Code

Post by Javs »

All this new information that has come forward in the last few months has be interested in NHL EHM 07 again.

My question is, with all of this information, has anyone tried digging deep into the code yet? Maybe finding a way to keep overage CDN Jr. players from leaving their respective teams late in the season to join the NHL? Or finding a way for players to sign longer contracts in the NHL?

Those are my only problems that are holding me back from getting back into EHM full-Red Wings.

Thanks for everything!

EDIT: I would just like to add, I normally would like to look this stuff up myself, but being away from EHM for so long I have fallen far behind in the game.
User avatar
B. Stinson
TBL Admin Team
Posts: 5131
Joined: Mon May 08, 2006 11:22 pm
Favourite Team: Philadelphia Flyers
Location: Telford, PA

Re: Editing Game Code

Post by B. Stinson »

Unfortunately, we can't condone looking into the code, since it's against the license agreement (accessing and altering the .EXE).

What has been going on so far, I believe, has all been to do with data that's loaded into memory at run-time, so it's not altering the code in any way.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing Game Code

Post by Alessandro »

Anyway I highly doubt anyone has even the slightest clue about what to do...
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing Game Code

Post by archibalduk »

To be honest, I don't think SI would be too fussed if we change the odd value here and there in the exe file in order to update the game's rules, etc. Obviously decompiling the exe to generate source code is a big no no (and probably not possible given the "wrappers" that modern software uses to protect from this).

In any event, you're better digging into the code loaded into the memory when the game runs. According to Hobbit13, the exe code is compressed whereas when it is in the memory it is uncompressed. As it is compressed, it is not a case of simply editing a single value to change something such as the start date - whereas it is a case of editing single values when editing the data in the RAM. I doubt I would have successfully implemented the Start Date Patch by editing the exe.

Alessandro and Hobbit13 have managed to change various league rules in the game by editing the memory data. I think Lazion has had some success with tweaking the game schedules too. However, modifying the AI is much less achievable. Having said that, a user named Taipani managed to change a wide array of rules and AI in Championship Manager 2001/02 - so if you know what you're doing then it is possible. Hobbit13 seems to have the best understanding of modifying the game - but I haven't seen him around for some time.

I'd recommend checking out this thread: http://www.ehmtheblueline.com/forums/vi ... 110&t=8160
User avatar
CM0304
Prospect
Posts: 82
Joined: Mon Nov 21, 2011 2:55 am

Re: Editing Game Code

Post by CM0304 »

I think Tapani is a memeber who sacked by SI,or just the nickname of one SI staff. :doh:
User avatar
CM0304
Prospect
Posts: 82
Joined: Mon Nov 21, 2011 2:55 am

Re: Editing Game Code

Post by CM0304 »

memory editing is not the whole thing,as we can not add function and features.we cannot add buttons,new features
and the game is almost with no new sparks
.u all know this
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Re: Editing Game Code

Post by Alessandro »

Ok. What do you suggest then?
User avatar
archibalduk
TBL Admin Team
Posts: 20373
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Re: Editing Game Code

Post by archibalduk »

CM0304 wrote:memory editing is not the whole thing,as we can not add function and features.we cannot add buttons,new features
and the game is almost with no new sparks
.u all know this
I don't understand your point. We all know we cannot add features etc. All we're trying to do is keep the game up to date. This is all we can do both technically and lawfully.
User avatar
CM0304
Prospect
Posts: 82
Joined: Mon Nov 21, 2011 2:55 am

Re: Editing Game Code

Post by CM0304 »

I see,if we'd make something new.we'd do it from the draft.
User avatar
batdad
The Great One
Posts: 12616
Joined: Thu Aug 17, 2006 7:46 pm
Custom Rank: Mr Technology
Favourite Team: Syracuse Bulldogs.
Location: Look behind you, you peon

Re: Editing Game Code

Post by batdad »

Dude. What the heck are u talking about?
User avatar
CM0304
Prospect
Posts: 82
Joined: Mon Nov 21, 2011 2:55 am

Re: Editing Game Code

Post by CM0304 »

sorry I MEAN We 'd do it from the scratch 8-[
Post Reply