League Sizes

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
fireholder
Junior League
Posts: 25
Joined: Thu Apr 02, 2009 9:45 pm
Location: MI

League Sizes

Post by fireholder »

I did a quick search but didn't find anything that highlighted this...

Is there any way to change the number of teams in a playable league, as well as changing the number of games played?

Ideally I'd like a league with 12 teams and 50 or so games played. Is it in any way possible to make that happen?
User avatar
Tasku
TBL Admin Team
Posts: 8158
Joined: Sat Jul 10, 2004 9:36 pm
Custom Rank: W-WPoTBLfaSaD
Favourite Team: WSH Capitals
Location: Finland

Re: League Sizes

Post by Tasku »

Nope, cannot be done. League rules or size can't be changed. You can only swap teams places in different leagues.
fireholder
Junior League
Posts: 25
Joined: Thu Apr 02, 2009 9:45 pm
Location: MI

Re: League Sizes

Post by fireholder »

hm. but i thought with some extra program it could be done? i had a patch made for me by Hobbit13 (i think) who changed it so the AAL-4/UHL could dress 20 man rosters instead of 18.

This is what he had sent me:
Ok here you go! Here's a link to the file you must load using ArtMoney (you then use yournormal EHM exe):

http://www.mediafire.com/?a56v6sl0rs140k2


How to use the patch:
Step 1
Download Art Money from here: http://www.artmoney.ru/e_download.htm (Free version, of course) and install it.
Step 2
Launch Art Money, ignore the ad then go to Options > Additional, then select Save/Load values in file-table. Close Art Money.
Step 3
The .amt file can go anywhere, however, it would be better to unzip it within the Table folder of the Art Money directory.
Step 5
Launch EHM and wait until you'll get to the main screen, where you can choose load saved game, start a new game, etc.
Step 6
Launch Art Money, select the EHM process from the process bar on the top of the screen under the menu bar. Click on Load on the bottom of the page and open the file ISHL.amt
Step 7
Control that your table was loaded correctly. In order to do so, the entries should have a value of 22 and 20. If they don’t, reload the patch until you see them (one attempt should be enough).
Step 9
Create a new game with your desired selected leagues
Step 10
Control that the game was created correctly. Just check the league info tab of the All American-4 and see if the roster size has changed.

You'll always need to run Art Money when using this patch.


Btw you can change the roster size and players dressed to whatever you want! Just change it at step 7.
User avatar
Tasku
TBL Admin Team
Posts: 8158
Joined: Sat Jul 10, 2004 9:36 pm
Custom Rank: W-WPoTBLfaSaD
Favourite Team: WSH Capitals
Location: Finland

Re: League Sizes

Post by Tasku »

Ah, yes, Alessandro and Archi have been working on a patch to change certain rules and have been somewhat successful, but that requires a whole lot more than just the Pre Game Editor. I was more thinking what you can do with the editor. What us mere mortals can do, you know :-D
User avatar
nino33
Mr. Goalie
Posts: 6088
Joined: Sat Aug 07, 2010 3:37 am
Custom Rank: Retro Rosters Specialist
Favourite Team: 1970s hockey

Re: League Sizes

Post by nino33 »

fireholder wrote:Is there any way to change the number of teams in a playable league, as well as changing the number of games played?
I wish there was!

AFAIK the superpatch (http://www.ehmtheblueline.com/forums/vi ... =13&t=8739) that Hobbit13/Alessandro created only changed the number of teams in one League (Austrian EBEL league brought to 10 teams); mostly it added shoot-outs and adjusted foreigner restrictions

The "Editing league structures & rules using a hex editor" thread might interest you http://www.ehmtheblueline.com/forums/vi ... t=hobbit13
The "Can hardcoded leagues and tournaments be modified?" thread might interest you http://www.ehmtheblueline.com/forums/vi ... t=hobbit13
User avatar
Primis
Freeware Moderator
Posts: 1698
Joined: Tue Aug 03, 2010 7:46 pm
Location: Michigan, USA

Re: League Sizes

Post by Primis »

What they have done is figure out how to clone league rules to other leagues IIRC, they have not figured out how to actually create your own league rules.
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: League Sizes

Post by archibalduk »

Technically yes it is possible to change the number of teams and GP for a league. However, the ability to modify these things is very much in its infancy. I can't remember for sure whether we have absolute flexibility to change the number of teams and GP or whether it has to mirror existing leagues. I think it can be changed freely, but I'm not 100% on that. It's not that straightforward though. It involves an awful lot of trial and error via hex memory editing.

League rules can be relatively freely altered, but again it is a bit of a pain to do.

If you're interested, I'd highly recommend reading the entirety of this thread: http://www.ehmtheblueline.com/forums/vi ... 110&t=8142
Post Reply