EHM Assistant: A saved game editor/scout

Discuss all aspects of editing the data in EHM here. Have a question about the Pre Game Editor, editing the .cfg files, hex editing the .dat 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.

Please note that discussion about roster updates belongs in the Game Add-ons Forum.
Post Reply
User avatar
morsy
Junior League
Posts: 22
Joined: Fri Jun 11, 2010 9:39 pm

EHM Assistant: A saved game editor/scout

Post by morsy » Sat Apr 11, 2015 5:49 pm

Just wondering if anyone is working on a save game editor or scouting program.

***MODERATOR NOTE***
A saved game editor/scout for EHM:EA has now been released: The EHM:EA Assistant by garfild.

Latest version: http://www.ehmtheblueline.com/forums/vi ... 27#p188827

archibalduk wrote:Here are some instructions:

1. Load EHM and load your saved game.
2. Load the Assistant and click on File -> Load Game. The Assistant will now start reading all of the game data from the RAM.
3. Once all of the data has finished load, you'll find that each screen in the Assistant is blank. To display data on a screen you can do one of two things:
3a. Click on the Display All button to list all data; and/or
3b. Click on the Filter and use it to select what data you want to see.
4. To edit data, double-click on the item in the list and then you'll see that you can edit values, etc.

NOTE: As per my message a few minutes ago, it is not possible to move players/non-players to other teams or make them free agents (well, you can kind of do it, but you'll find the player will end up in an unfixable limbo between teams).

User avatar
archibalduk
TBL Admin Team
Posts: 19061
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: Save game editor/scout

Post by archibalduk » Sat Apr 11, 2015 10:39 pm

Not that I'm aware of.

Ahall88
Junior League
Posts: 15
Joined: Fri Jan 14, 2011 8:42 am

Re: Save game editor/scout

Post by Ahall88 » Sat May 02, 2015 10:12 pm

Any chance we'll see one eventually?

What sort of programming knowledge would it take to start making one from scratch? I've done a little C, C++, and some web stuff(HTML, PHP, etc.), plus I have a lot of time on my hands right now, maybe I'll put it to some good use for a change, lol.

User avatar
archibalduk
TBL Admin Team
Posts: 19061
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: Save game editor/scout

Post by archibalduk » Sat May 02, 2015 10:19 pm

You'd need to know any language which allows you to read or write files. Theoretically any of those you mention could work, but probably C, C++ or Java would be the best of those you mention (well, you didn't mention Java but it follows from html and php).

The challenge however is figuring out the database structure. This isn't something you can just figure out - it will take tens or hundreds of hours of testing and trial and error. I've been writing tools for the EHM 2007 DB and saved game format for several years but I'm not even attempting anything with the EHM:EA format because it's just too much work to figure it out (and in fact I think it is near impossible owing to the fact the DB tables are now in a single file rather than individual files).

Ahall88
Junior League
Posts: 15
Joined: Fri Jan 14, 2011 8:42 am

Re: Save game editor/scout

Post by Ahall88 » Sat May 02, 2015 10:51 pm

Dang, that's disappointing to here.

No more cheating in EHM for me, lol.

Oh well, I'm just happy that it's back, I was really disappointed in FHM.

demons19
Junior League
Posts: 31
Joined: Sat Jul 04, 2009 5:58 am

Saved Game Editor

Post by demons19 » Mon May 04, 2015 3:14 am

Is there a saved game editor for the new game yet?
Thanks

User avatar
nino33
Mr. Goalie
Posts: 5842
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: Saved Game Editor

Post by nino33 » Mon May 04, 2015 4:57 am

demons19 wrote:Is there a saved game editor for the new game yet?
No, and it's very unlikely there'll be one anytime soon
The DB format is different than EHM07, and it's unknown, and with the game still in development it's still changing

garfild
Prospect
Posts: 81
Joined: Tue May 05, 2015 4:58 pm
Custom Rank: EHM:EA Assistant Author
Favourite Team: None

Re: Save game editor/scout for EHM:EA

Post by garfild » Tue May 05, 2015 8:36 pm

Or try this, read data from RAM
https://www.mediafire.com/folder/o02wpfqxpz9j2/EHM

require
EHM:EA 15.2.0.43618
NET Framework 4.5

User avatar
archibalduk
TBL Admin Team
Posts: 19061
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: Save game editor/scout for EHM:EA

Post by archibalduk » Tue May 05, 2015 10:02 pm

garfild wrote:Or try this, read data from RAM
https://www.mediafire.com/folder/o02wpfqxpz9j2/EHM

require
EHM:EA 15.2.0.43618
NET Framework 4.5
Incredible!! :notworthy:

Image

mpronger
Top Prospect
Posts: 106
Joined: Sat Apr 09, 2005 6:03 pm

Re: Save game editor/scout for EHM:EA

Post by mpronger » Tue May 05, 2015 10:03 pm

garfild wrote:Or try this, read data from RAM
https://www.mediafire.com/folder/o02wpfqxpz9j2/EHM

require
EHM:EA 15.2.0.43618
NET Framework 4.5
Instant EHM Hall of Fame for you buddy. :thup:

User avatar
umwoz
Minor League
Posts: 229
Joined: Fri Jan 21, 2011 7:27 pm

Re: Save game editor/scout for EHM:EA

Post by umwoz » Tue May 05, 2015 10:29 pm

Well that came out of nowhere. Did notice a slight issue in that switching a players team(playing and contract) didn't move the contract over.

Really interested in what we can learn from pulling the save game up. Namely... What the game does to edit db entered attributes and why.

User avatar
CeeBee
All-Star
Posts: 1140
Joined: Tue Dec 23, 2008 12:38 pm
Location: The old guy in Chase BC Canada

Re: EHM:EA Assistant: A saved game editor/scout

Post by CeeBee » Wed May 06, 2015 12:17 am

Dang, got XP on my laptop and net 4.03 is the highest I can get...I wonder what the wife would say about a new laptop for me...... ahem her:-D

User avatar
umwoz
Minor League
Posts: 229
Joined: Fri Jan 21, 2011 7:27 pm

Re: EHM:EA Assistant: A saved game editor/scout

Post by umwoz » Wed May 06, 2015 12:51 am

I'm gonna hop in and see what the game assigns for off/def role to newgens. I know this is a greedy way of thinking but I wish the software pulled the actual player role and not just the off/def role.

User avatar
riazorblues86
Top Prospect
Posts: 128
Joined: Sat Apr 11, 2015 7:49 pm
Favourite Team: New Jersey Devils

Re: EHM:EA Assistant: A saved game editor/scout

Post by riazorblues86 » Wed May 06, 2015 6:08 am

WOW.. :thup: :thup: :thup:

garfild
Prospect
Posts: 81
Joined: Tue May 05, 2015 4:58 pm
Custom Rank: EHM:EA Assistant Author
Favourite Team: None

Re: EHM:EA Assistant: A saved game editor/scout

Post by garfild » Wed May 06, 2015 4:13 pm

umwoz wrote:Well that came out of nowhere. Did notice a slight issue in that switching a players team(playing and contract) didn't move the contract over.

Really interested in what we can learn from pulling the save game up. Namely... What the game does to edit db entered attributes and why.
I don't now why game not changing this values, I find them and add.
umwoz wrote:I'm gonna hop in and see what the game assigns for off/def role to newgens. I know this is a greedy way of thinking but I wish the software pulled the actual player role and not just the off/def role.
Tool is writen on EHM 2007 db structure and only def/off role was. When I find new roles it will be added.

User avatar
umwoz
Minor League
Posts: 229
Joined: Fri Jan 21, 2011 7:27 pm

Re: EHM:EA Assistant: A saved game editor/scout

Post by umwoz » Wed May 06, 2015 4:19 pm

garfild wrote:
umwoz wrote:Well that came out of nowhere. Did notice a slight issue in that switching a players team(playing and contract) didn't move the contract over.

Really interested in what we can learn from pulling the save game up. Namely... What the game does to edit db entered attributes and why.
I don't now why game not changing this values, I find them and add.
umwoz wrote:I'm gonna hop in and see what the game assigns for off/def role to newgens. I know this is a greedy way of thinking but I wish the software pulled the actual player role and not just the off/def role.
Tool is writen on EHM 2007 db structure and only def/off role was. When I find new roles it will be added.
No worries man. Great work you've done on this.

User avatar
archibalduk
TBL Admin Team
Posts: 19061
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: EHM:EA Assistant: A saved game editor/scout

Post by archibalduk » Wed May 06, 2015 7:51 pm

garfild wrote:
umwoz wrote:Well that came out of nowhere. Did notice a slight issue in that switching a players team(playing and contract) didn't move the contract over.

Really interested in what we can learn from pulling the save game up. Namely... What the game does to edit db entered attributes and why.
I don't now why game not changing this values, I find them and add.
It's because there are three tables that control a player's contract (at least in EHM 2007):

- staff.dat - sets the Club Contracted and Club Playing For (this is what is currently editable in the Assistant);
- club.dat - there is a ClubSquadList int array which stores Staff IDs for each player currently on the roster (see code below);
- contract.dat - this is a collection of two or three tables which detail each staff's contracts (i.e. year on year salary, clauses, bonuses, etc - and also future contracts). IIRC there are two tables - one for current contracts and one for contracts of future transfers.

You have to update all three of the above in order to move a player/non-player to a new team.

Code: Select all

struct CLUBS
{
// original data
LONG	ClubID;
LONG	ClubCash;
LONG	ClubAttendance;
LONG	ClubMinAttendance;
LONG	ClubMaxAttendance;
LONG	ClubEuroFlag;
LONG	ClubTacticTraining[ MAX_TACTIC_TRAINING ];
LONG	ClubTacticSelected;
LONG ClubFanSupport;
LONG ClubPlayerBudget;
NATIONS_PTR	ClubNation;
CLUB_COMPS_PTR	ClubDivision;
CLUB_COMPS_PTR	ClubLastDivision;
CLUB_COMPS_PTR	ClubReserveDivision;
ARENAS_PTR	ClubStadium;
ARENAS_PTR	ClubPracticeFacilities;
COLOURS_PTR	ClubForegroundColour1;
COLOURS_PTR	ClubBackgroundColour1;
COLOURS_PTR	ClubTrimColour1;
COLOURS_PTR	ClubForegroundColour2;
COLOURS_PTR	ClubBackgroundColour2;
COLOURS_PTR	ClubTrimColour2;
COLOURS_PTR	ClubForegroundColour3;
COLOURS_PTR	ClubBackgroundColour3;
COLOURS_PTR	ClubTrimColour3;
STAFF_PTR	ClubFavouriteStaff1;
STAFF_PTR	ClubFavouriteStaff2;
STAFF_PTR	ClubFavouriteStaff3;
STAFF_PTR	ClubDislikedStaff1;
STAFF_PTR	ClubDislikedStaff2;
STAFF_PTR	ClubDislikedStaff3;
CLUBS_PTR	ClubRivals1;
CLUBS_PTR	ClubRivals2;
CLUBS_PTR	ClubRivals3;
STAFF_PTR	ClubChairman;
STAFF_PTR	ClubDirectorList[ DIRECTOR_SIZE ];
STAFF_PTR	ClubManager;
STAFF_PTR	ClubAssistantManager;
STAFF_PTR	ClubHeadCoach;
STAFF_PTR	ClubHeadScout;
STAFF_PTR	ClubSquadList[ SQUAD_SIZE ];
STAFF_PTR	ClubCoachList[ COACH_SIZE ];
STAFF_PTR	ClubScoutList[ SCOUT_SIZE ];
STAFF_PTR	ClubPhysioList[ PHYSIO_SIZE ];
STAFF_PTR	ClubCaptain;
STAFF_PTR	ClubAssistantCaptain1;
STAFF_PTR	ClubAssistantCaptain2;
SHORT	ClubReputation;
SHORT	ClubYearFounded;
CHAR	ClubName[STANDARD_TEXT_LENGTH];
CHAR	ClubNameShort[SHORT_TEXT_LENGTH];
CHAR ClubAbbreviation[ REAL_SHORT_TEXT_LENGTH ];
CHAR	ClubNickName[ STANDARD_TEXT_LENGTH ];
CHAR	ClubGenderNameShort;
CHAR	ClubLastPosition;
CHAR	ClubProfessionalStatus;
CHAR	ClubOwnStadium;
CHAR	ClubHomeMatchDay;
CHAR	ClubTraining;
CHAR	ClubPLC;
CHAR	ClubGenderName;
CHAR	ClubEuroSeeding;
CHAR	ClubHasLinkedClub;
CHAR	ClubMarketSize;
};

User avatar
archibalduk
TBL Admin Team
Posts: 19061
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: EHM:EA Assistant: A saved game editor/scout

Post by archibalduk » Wed May 06, 2015 7:53 pm

garfild wrote:Tool is writen on EHM 2007 db structure and only def/off role was. When I find new roles it will be added.
The Goalie Style field is now the Player Role field. You just need to support char values ranging from -1 to 46.

Rediscoveryx
Junior League
Posts: 13
Joined: Sun May 03, 2015 2:35 pm
Favourite Team: Skellefteå AIK

Re: Save game editor/scout for EHM:EA

Post by Rediscoveryx » Wed May 06, 2015 7:55 pm

garfild wrote:Or try this, read data from RAM
https://www.mediafire.com/folder/o02wpfqxpz9j2/EHM

require
EHM:EA 15.2.0.43618
NET Framework 4.5
Have you got some instructions ln how to use the tool? I can't seem to figure out how to get hold of the data...

User avatar
archibalduk
TBL Admin Team
Posts: 19061
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: EHM:EA Assistant: A saved game editor/scout

Post by archibalduk » Wed May 06, 2015 8:02 pm

That's a fair point. Here are some instructions:

1. Load EHM and load your saved game.
2. Load the Assistant and click on File -> Load Game. The Assistant will now start reading all of the game data from the RAM.
3. Once all of the data has finished load, you'll find that each screen in the Assistant is blank. To display data on a screen you can do one of two things:
3a. Click on the Display All button to list all data; and/or
3b. Click on the Filter and use it to select what data you want to see.
4. To edit data, double-click on the item in the list and then you'll see that you can edit values, etc.

NOTE: As per my message a few minutes ago, it is not possible to move players/non-players to other teams or make them free agents (well, you can kind of do it, but you'll find the player will end up in an unfixable limbo between teams).

Obalobex
Junior League
Posts: 24
Joined: Thu Jul 21, 2011 9:33 am

Re: EHM:EA Assistant: A saved game editor/scout

Post by Obalobex » Wed May 06, 2015 9:08 pm

man, i guess its no surprise from ehm 2007, but this thing is re-emphasizing how useless scouting actually is. the top 5 guys in this years draft have potentials of 120, 126, 130, 132 and 154. last draft before i had this tool i picked up a bunch of goalies in the 4th and 5th rounds - one of them has a PA of 186 o_o

edit: oh yeah, thanks for making this thing man :)

mpronger
Top Prospect
Posts: 106
Joined: Sat Apr 09, 2005 6:03 pm

Re: EHM:EA Assistant: A saved game editor/scout

Post by mpronger » Wed May 06, 2015 11:43 pm

I'm assuming the tool will stop working tomorrow when the bi-weekly EHM-EA update is released?

User avatar
batdad
The Great One
Posts: 12612
Joined: Thu Aug 17, 2006 7:46 pm
Custom Rank: Mr Technology
Favourite Team: Syracuse Bulldogs.
Location: Look behind you, you peon

Re: EHM:EA Assistant: A saved game editor/scout

Post by batdad » Thu May 07, 2015 12:18 am

Scouting is useful...just have to know how to use it.

User avatar
riazorblues86
Top Prospect
Posts: 128
Joined: Sat Apr 11, 2015 7:49 pm
Favourite Team: New Jersey Devils

Re: EHM:EA Assistant: A saved game editor/scout

Post by riazorblues86 » Thu May 07, 2015 2:27 am

this apps really help to scout possible young player in draft..really helping so much.. :thup:

Rediscoveryx
Junior League
Posts: 13
Joined: Sun May 03, 2015 2:35 pm
Favourite Team: Skellefteå AIK

Re: EHM:EA Assistant: A saved game editor/scout

Post by Rediscoveryx » Thu May 07, 2015 5:02 am

Obalobex wrote:man, i guess its no surprise from ehm 2007, but this thing is re-emphasizing how useless scouting actually is. the top 5 guys in this years draft have potentials of 120, 126, 130, 132 and 154. last draft before i had this tool i picked up a bunch of goalies in the 4th and 5th rounds - one of them has a PA of 186 o_o

edit: oh yeah, thanks for making this thing man :)
Isn't that a good thing? Otherwise you'd never see busts a la Daigle or late round gems a la Datsyuk.

Post Reply

Return to “Data Editing Forum”