Editing club competition history problem

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
Konstantinov16
Top Prospect
Posts: 133
Joined: Thu Aug 25, 2005 4:11 am
Location: Michigan
Contact:

Editing club competition history problem

Post by Konstantinov16 »

Hey, I have been playing the historic 97-98 rosters, but I noticed that when I go to league history, future cups that haven't been won yet are shown. This is especially annoying after winning a cup for that year, as it denotes two winners. I tried using the editor to edit the save game, deleted all the future history as well as the double cup year. When I go to load the save game, I get the message "The save game is corrupted and cannot be loaded. Debug info: v1.5.0b1669120 setup..cpp 1630 (load_game_data(): unable to load game database I) I have the beta enabled, but as far as I know that shouldn't be causing the issue. Any help would be greatly appreciated.
User avatar
archibalduk
TBL Admin Team
Posts: 20372
Joined: Tue Jul 06, 2004 8:44 pm
Custom Rank: Seaside + Fruit Juice Mode
Favourite Team: Guildford (EPL) / Invicta (NIHL)
Location: United Kingdom
Contact:

Editing club competition history problem

Post by archibalduk »

Editing the saved game will irreversibly corrupt it. This is because deleting records requires certain indexes within the saved game to be updated (only some of which the Editor can update). So you'd have to revert to a backup of your saved game.

The issue with the DB is because it was originally designed for EHM 2007 and the histories weren't removed, presumably due to the way the start date was hardcoded. As it happens, I'm working on an updated version of the 1998 DB which includes accurate league structures plus a bunch of updates CJ prepared, so I'll fix the histories at the same time.
User avatar
Filip Croatia
Fringe Player
Posts: 334
Joined: Thu Jul 08, 2010 5:55 pm
Location: Zagreb, Croatia

Editing club competition history problem

Post by Filip Croatia »

Interesting, IIRC there is option for this DB to be played without history showing winners past 1998. :dunno:
Post Reply