Page 15 of 82

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 4:21 pm
by Alessandro
archibalduk wrote:Unfortunately I have been working some fairly lengthy hours these past two weeks (and probably for the next two weeks as well) and so I have not made much progress. However, the Rules and Structures editing screens are complete as far as possible. There are some settings for which I don't have the definitions and without these certain aspects cannot be edited (well, the numerical value can generally be edited but we just won't know what it means). I should have the definitions at some point in the future however (but probably not in time for the next release). It seems as though the definitions are going to be pretty essential for getting a playable league up and running. Although I can add new playable leagues, I get a crash when I click on a team's schedule screen button (but the game seems to generate schedules because I get a news item announcing the season's opening games).

I'm going to release the next version as soon as I have finished fixing some bugs identified in the last version (e.g. start date editing and adding clubs). Once I've done that, I'll start a new thread so that we can discuss our experiments with league structure editing. Hopefully with a few of us looking at it, we can get some new playable leagues working correctly.
Archi - I guess you know I'm ready to test the hell out of it :thup:

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 4:32 pm
by jonathanorjas
archibalduk wrote:Unfortunately I have been working some fairly lengthy hours these past two weeks (and probably for the next two weeks as well) and so I have not made much progress. However, the Rules and Structures editing screens are complete as far as possible. There are some settings for which I don't have the definitions and without these certain aspects cannot be edited (well, the numerical value can generally be edited but we just won't know what it means). I should have the definitions at some point in the future however (but probably not in time for the next release). It seems as though the definitions are going to be pretty essential for getting a playable league up and running. Although I can add new playable leagues, I get a crash when I click on a team's schedule screen button (but the game seems to generate schedules because I get a news item announcing the season's opening games).

I'm going to release the next version as soon as I have finished fixing some bugs identified in the last version (e.g. start date editing and adding clubs). Once I've done that, I'll start a new thread so that we can discuss our experiments with league structure editing. Hopefully with a few of us looking at it, we can get some new playable leagues working correctly.
Nice work as usual, can't wait to use the editor to edit the swedish leagues. :-D

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 4:38 pm
by archibalduk
otfdre wrote:ERROR Training_Manager::Load_From_Disk: Cannot Read Position Training. When Using Ehm AFTER USING EHM Editor v0.1.0 Then Game Crash After Advancing.
I can't tell from an error message alone as to what the issue is. You need to describe exactly what you edited.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 5:22 pm
by otfdre
TRANSFER RULES SALARY CAP

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 5:49 pm
by archibalduk
You need to change all of the Saved Game settings on the Settings -> Maintenance screen to disabled. This will not however fix your game (it will just ensure no further games are corrupted).

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 6:47 pm
by archibalduk
I have uploaded a new version of the Editor here: http://www.ehmtheblueline.com/forums/vi ... 87#p206841

I will start a new thread later/tomorrow with some information on creating new playable leagues and so that we can share our experiments, findings, etc. In the meantime, here's the changelist:

CHANGELIST: VERSION 0.1.1 (11-Dec-2016)

New Features:
  • Competition Structures editing screen;
  • Currencies editing screen;
  • Drafts editing screen; and
  • Injuries editing screen.
Fixes and Improvements:
  • Added club table sorting;
  • Added copy and paste functions to the Finance Info, Ruling Bodies and Transfer Rules editing screen;
  • Added spin boxes to Database Header and Saved Game Header editing screens;
  • Added Stage Generic Type setting to the Stage Names editing screen;
  • Added status tip and tool tip support to input widgets (status tips will be rolled-out over time for each editor widget - this has been rolled-out to the Basic Rules & Structure editing screen so far);
  • Added text report function to Competition Structures editing screen;
  • Added version control to the customisable data in the "Common" folder so that revised text files can be pushed in future releases;
  • Changed default Maintenance settings for saved games in order to avoid various in game crashes;
  • Club Competition line buttons now use the correct static Selection Dialog for more efficient memory usage;
  • Default saved game file path is now the My Documents folder and the default import and export folders are now the Desktop folder;
  • Exported csv files now encapsulate cells containing delimiter characters with quotation marks;
  • Fixed in-game crash when adding new clubs to the database;
  • Fixed default values for Gender settings;
  • Fixed start date editing in the Database Header editing screen;
  • Fixed various default values when creating new affiliations, arenas, clubs, club competitions, nations, staff awards and transfer rules;
  • Minor performance improvement when reading databases and saved games;
  • Officials can now be created;
  • Prevented false error appearing in the logger when saving databases; and
  • Updated Professional Status settings on the Clubs editing screen.
Known Limitations and Bugs:
If you encounter an issue which is not listed below then please do report it here: http://www.ehmtheblueline.com/forums/vi ... 10&t=14290
  • Not all of the Club Competition Basic Rules data is entirely user-friendly at this stage as various definitions are not yet known;
  • EHM 2004-2007 support not fully operational;
  • Not all data can be added or deleted yet (an error message will be displayed where this is not possible);
  • Clicking on the Cancel button when viewing the Open Database/Saved Game dialog will disable the Open buttons, requiring a restart of the Editor;
  • The mouse cursor does not change when hovering over certain editing fields which makes certain tasks, such as editing Club Contracted/Playing For, not immediately obvious (the field should be clicked on in order to display the selection dialog window);
  • The improved table display has not yet been rolled out to all tables/screens;
  • Table column widths have not yet been set (and will frequently appear too narrow/small);
  • Certain icons could be improved/replaced;
  • Drop-down menus are all sorted alphabetically which is not always appropriate;
  • Set a non-player's Nation Contract is completely untested and may cause a crash;
  • Altered club competition names do not carry across the various editing screens;
  • Only csv/txt file formats are supported at the moment; and
  • The default file format and editor text settings do not currently work.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 7:06 pm
by wildcat62
Thanks again, Archi.

Just tried to add a Las Vegas team to the Pacific and a Kansas City team to the Central after changing the number of teams in the NHL to 32 in the structures screen, but it looks like it didn't work and I'm now stuck on a greyed-out Select Options screen. Is that because increasing the league size isn't/will never be supported or might I have just done it wrong?

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 7:28 pm
by archibalduk
You have to update the structure settings in addition to increasing the club count. The NHL also has a Schedule Template which will need updating or removing.

I'll post some basic info later today/tomorrow but it'll initially be in connection with a simple single-conference league. The NHL is a complex league to modify.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 7:35 pm
by wildcat62
Okay thanks. I'll also be around to test for you, looking forward to it.

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 8:20 pm
by Fredlig
Have anyone succeeded with adding teams to the NHL. For example Vegas or even one more team? I tried to understand the structure and add Seattle and Vegas to the NHL. But the game crashed immediatly :roll:

And archi... :notworthy: :notworthy: :notworthy:

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 8:41 pm
by A9L3E
Is it possible to add entire tier structures, i.e. leagues with promotion/relegation ties between one another?

Re: EHM 1 Database & Saved Game Editor

Posted: Sun Dec 11, 2016 9:19 pm
by archibalduk
A9L3E wrote:Is it possible to add entire tier structures, i.e. leagues with promotion/relegation ties between one another?
Yes, exactly. Basically, everything that is already possible with the existing leagues in EHM - e.g. promotion, relegation, multiple conferences and divisions, playoffs, playouts, etc. It's just a case of figuring out how.

I think it's probably best to discuss league structure editing in a separate thread and so I have started one here (you'll see I have also posted a guide there with some basic details and an almost-working example): http://www.ehmtheblueline.com/forums/vi ... 10&t=17520

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Dec 12, 2016 4:52 pm
by ragot
Image

Getting this error when trying to run the editor. I've installed the redistributable so I don't think it's about that.

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Dec 12, 2016 8:11 pm
by archibalduk
ragot wrote:Image

Getting this error when trying to run the editor. I've installed the redistributable so I don't think it's about that.
It looks like you might be missing the "Platforms" sub-folder which should be located within the folder you extracted the "EHM Editor.exe" file. Within that folder there should be three DLL files: qminimal.dll, qoffscreen.dll and qwindows.dll.

Image

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Dec 12, 2016 9:08 pm
by ragot
No, I have that folder too and all the files in it. :dunno:

Re: EHM 1 Database & Saved Game Editor

Posted: Mon Dec 12, 2016 9:14 pm
by archibalduk
What version of Windows do you have? Did you ensure to install the 32-bit version of the Redistributable (and you are using the 2015 Redistributable)?

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 5:22 am
by ragot
Windows 10 and yes. The error message is different when the redistributable is not installed (says some files are missing, I've tried uninstalling and repairing from the installer).

Also I just bought the computer and did a fresh install of Windows 10 a couple of months ago and haven't really installed or done anything with it that would somehow conflict with the editor (of course I cant't be sure) so I have no idea what's going on.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 9:37 am
by Edgars
When adding new "Transfer Rules" item it's not possible to add items/info to "Transfer Windows" tab for that new entry...

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 9:11 pm
by archibalduk
Edgars wrote:When adding new "Transfer Rules" item it's not possible to add items/info to "Transfer Windows" tab for that new entry...
Thanks! Fixed.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 9:12 pm
by archibalduk
ragot wrote:Windows 10 and yes. The error message is different when the redistributable is not installed (says some files are missing, I've tried uninstalling and repairing from the installer).

Also I just bought the computer and did a fresh install of Windows 10 a couple of months ago and haven't really installed or done anything with it that would somehow conflict with the editor (of course I cant't be sure) so I have no idea what's going on.
Try copying the three DLL files from the "platforms" sub-folder and placing them in the same folder as the "EHM Editor.exe" file itself. The error message suggests as though it is looking in the wrong folder path.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 9:52 pm
by KevT90
Does the CA equal the addition of all attributes together ? Does it exclude the hidden attributes ?

If I am to modify the different attributes of a player in the editor, Do I have to manually upgrade the value of the general CA or is it gonna augment on its own from the total value of points added through the attributes ?

Thanks !

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 10:08 pm
by archibalduk
It doesn't equal the total of the attributes, but it does have a bearing. I suggest reading through this thread (it is for EHM 2007 but it'll give you a basic idea of roughly how it works): http://www.ehmtheblueline.com/forums/vi ... =13&t=4920

Note that the above link is outdated and things have moved on since EHM 1 and so I'd suggest also taking a look at this: http://www.ehmtheblueline.com/forums/vi ... 10&t=16778

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 10:09 pm
by thegreaterikku
Can I edit the salary cap with this? Still trying to find out how to use CJ's version with a salary cap that doesn't make the game stupid after three years.

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 10:15 pm
by archibalduk
thegreaterikku wrote:Can I edit the salary cap with this? Still trying to find out how to use CJ's version with a salary cap that doesn't make the game stupid after three years.
Yes, you can via the Transfer Rules screen. There's also the transfer_rules_config.cfg file located in the same folder as your database folder (if you're looking to edit the game start-up figures).

Re: EHM 1 Database & Saved Game Editor

Posted: Tue Dec 13, 2016 10:19 pm
by thegreaterikku
I've tried everything I could understand about the import feature and I never was able to upgrade the salary cap using the import function. If I can edit it in my save game, that would be a godsend.