The Blue Line

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.

EHM Assistant: A saved game editor/scout

Postby morsy » Sat Apr 11, 2015 6: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: viewtopic.php?p=188827#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
morsy
Junior League
 
Posts: 22
Joined: Fri Jun 11, 2010 10:39 pm
Points: 0.23

Re: Save game editor/scout

Postby archibalduk » Sat Apr 11, 2015 11:39 pm

Not that I'm aware of.
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,314
Joined: Tue Jul 06, 2004 9:44 pm
Points: 194.31
Trophies:  1   2   1

Re: Save game editor/scout

Postby Ahall88 » Sat May 02, 2015 11: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.
Ahall88
Junior League
 
Posts: 15
Joined: Fri Jan 14, 2011 10:42 am
Points: 0.15

Re: Save game editor/scout

Postby archibalduk » Sat May 02, 2015 11: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).
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,314
Joined: Tue Jul 06, 2004 9:44 pm
Points: 194.31
Trophies:  1   2   1

Re: Save game editor/scout

Postby Ahall88 » Sat May 02, 2015 11: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.
Ahall88
Junior League
 
Posts: 15
Joined: Fri Jan 14, 2011 10:42 am
Points: 0.15

Saved Game Editor

Postby demons19 » Mon May 04, 2015 4:14 am

Is there a saved game editor for the new game yet?
Thanks
demons19
Junior League
 
Posts: 31
Joined: Sat Jul 04, 2009 6:58 am
Points: 0.31

Re: Saved Game Editor

Postby nino33 » Mon May 04, 2015 5: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
User avatar
nino33
Retro Rosters Specialist
Mr. Goalie
 
Posts: 5,673
Joined: Sat Aug 07, 2010 4:37 am
Points: 74.78

Re: Save game editor/scout for EHM:EA

Postby garfild » Tue May 05, 2015 9: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
garfild
EHM:EA Assistant Author
Prospect
 
Posts: 81
Joined: Tue May 05, 2015 5:58 pm
Points: 0.81

Re: Save game editor/scout for EHM:EA

Postby archibalduk » Tue May 05, 2015 11: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
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,314
Joined: Tue Jul 06, 2004 9:44 pm
Points: 194.31
Trophies:  1   2   1

Re: Save game editor/scout for EHM:EA

Postby mpronger » Tue May 05, 2015 11: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:
mpronger
Top Prospect
 
Posts: 106
Joined: Sat Apr 09, 2005 7:03 pm
Points: 1.06

Re: Save game editor/scout for EHM:EA

Postby umwoz » Tue May 05, 2015 11: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
umwoz
Minor League
 
Posts: 229
Joined: Fri Jan 21, 2011 9:27 pm
Points: 2.31

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

Postby CeeBee » Wed May 06, 2015 1: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
CeeBee
All-Star
 
Posts: 1,135
Joined: Tue Dec 23, 2008 2:38 pm
Points: 11.36

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

Postby umwoz » Wed May 06, 2015 1: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
umwoz
Minor League
 
Posts: 229
Joined: Fri Jan 21, 2011 9:27 pm
Points: 2.31

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

Postby riazorblues86 » Wed May 06, 2015 7:08 am

WOW.. :thup: :thup: :thup:
User avatar
riazorblues86
Top Prospect
 
Posts: 125
Joined: Sat Apr 11, 2015 8:49 pm
Points: 1.25

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

Postby garfild » Wed May 06, 2015 5: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.
garfild
EHM:EA Assistant Author
Prospect
 
Posts: 81
Joined: Tue May 05, 2015 5:58 pm
Points: 0.81

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

Postby umwoz » Wed May 06, 2015 5: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
umwoz
Minor League
 
Posts: 229
Joined: Fri Jan 21, 2011 9:27 pm
Points: 2.31

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

Postby archibalduk » Wed May 06, 2015 8: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
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,314
Joined: Tue Jul 06, 2004 9:44 pm
Points: 194.31
Trophies:  1   2   1

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

Postby archibalduk » Wed May 06, 2015 8: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.
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,314
Joined: Tue Jul 06, 2004 9:44 pm
Points: 194.31
Trophies:  1   2   1

Re: Save game editor/scout for EHM:EA

Postby Rediscoveryx » Wed May 06, 2015 8: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...
Rediscoveryx
Junior League
 
Posts: 13
Joined: Sun May 03, 2015 3:35 pm
Points: 0.13

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

Postby archibalduk » Wed May 06, 2015 9: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).
User avatar
archibalduk
Seaside + Fruit Juice Mode
TBL Admin Team
 
Posts: 18,314
Joined: Tue Jul 06, 2004 9:44 pm
Points: 194.31
Trophies:  1   2   1

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

Postby Obalobex » Wed May 06, 2015 10: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 :)
Obalobex
Junior League
 
Posts: 24
Joined: Thu Jul 21, 2011 10:33 am
Points: 0.24

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

Postby mpronger » Thu May 07, 2015 12:43 am

I'm assuming the tool will stop working tomorrow when the bi-weekly EHM-EA update is released?
mpronger
Top Prospect
 
Posts: 106
Joined: Sat Apr 09, 2005 7:03 pm
Points: 1.06

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

Postby batdad » Thu May 07, 2015 1:18 am

Scouting is useful...just have to know how to use it.
User avatar
batdad
Mr Technology
The Great One
 
Posts: 12,610
Joined: Thu Aug 17, 2006 8:46 pm
Points: 243.68
Trophies:  24   11   10

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

Postby riazorblues86 » Thu May 07, 2015 3:27 am

this apps really help to scout possible young player in draft..really helping so much.. :thup:
User avatar
riazorblues86
Top Prospect
 
Posts: 125
Joined: Sat Apr 11, 2015 8:49 pm
Points: 1.25

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

Postby Rediscoveryx » Thu May 07, 2015 6: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.
Rediscoveryx
Junior League
 
Posts: 13
Joined: Sun May 03, 2015 3:35 pm
Points: 0.13

Next

Return to Data Editing Forum

Who is online

Users browsing this forum: No registered users and 3 guests