archibalduk
EHM The Blue Line
Well that went much better than expected. I've gone from 60 jerseys per second (single-threaded) to 205 jerseys per second (multi-threaded)!
Well that went much better than expected. I've gone from 60 jerseys per second (single-threaded) to 205 jerseys per second (multi-threaded)!
Multi-threading is basically parallel processing. Modern CPUs have the ability to run multiple threads simultaneously. So instead of generating one jersey at a time, it can generate multiple jerseys simultaneously.
It's taking about 10 minutes to do 73,000 images which doesn't seem too bad. Annoyingly it crashed towards the end but I'm not sure why as it works with smaller batches of images. It might be that a player name wasn't a valid file name or maybe too many files in a folder. Windows really doesn't seem to cope well with several thousand images in a folder.
The Editor lets you export jersey data for selected leagues and/or nationalities, so that's one way of filtering it. I can add CA and PA to the spreadsheet or I can export reputation - which set of data would be preferable?
Yup I am already planning on:
- Combined Aussie+NZ
- Combined Balkan league
- Combined Baltic league
Some of these countries have very small and limited domestic leagues so this will allow some more fleshed out competitions IMO.
I’d filter on per-league and list of clubs, not sure I’d allow such large batches like the entirety of the DB.
Can we also have a “default” color scheme option (like matching the EHM default skin and BKs Modern skin)?
I thought PA might be kind of a cool way to filter because you could set a limit (say '100') and then in your saved game - on junior type teams only the players who would seriously worth scouting would have a jersey. Kind of like an early scout filter...not so much that it gives the game away but enough that when you cycle thru a random J18 team in Sweden or a Minnesota HS team, you can start to see some guys who may be worth following because they show up with a jersey image.
I mean - in theory you could set it really high to like 160 to identify stars but then a majority of NHL players wouldn't get a jersey either.
Just a thought on how that could be used...but don't want to complicate it too much.
Any updates on Baltic league?
@archibalduk
So what I did was renamed my current player picture folder to 1players and made a new players folder, set that as output.
Ran all 70k+ in the TBL DB while I made a quick lunch and no issues there, everything was exported straight into my game before I was back.
Great to hear! Thanks for letting me know.
I'd say whole process from export to working in game was between 5-10 minutes.
Thanks for doing this!
Really nice doing this like Mid August after the draft:
Love it - I know many will still prefer photos of players when possible and that's cool too but I think the universal application of this adds a huge amount of graphical consistency and upgrade to the game.
I feel like archi's done the legwork - now we need to get Riz to implement as an in-game feature someday so the jersey generation is automatic!
No I blame archi for no progress on any of my DB since I've been screwing around playing in the jersey generator
Cursory look - as of 20/21 there are 7 Latvian clubs and 5 each in Lithuania and Estonia top divisions (17 total). I'd like to narrow the scope down to 12 clubs...the Latvian league is naturally a little stronger so maybe final make-up would be 6 Latvia, 3 Lithuania, 3 Estonia (or even take all 7 Latvian clubs and add the 5 best options from Lithuania and Estonia) - taking the strongest/most history rich of the clubs and/or maybe making a new expansion franchise in Lithuania and Estonia that could arrive as clubs with higher intent than the traditional clubs in those countries. Riga will stay in the KHL of course.
If you are familiar with hockey in that region I am open to suggestions, otherwise I generally just scroll through league history and geography to try and pick the higher performing clubs to make the cut to the new league.
Edit: May bump the league to 14 for variety actually...but I'm probably not going to go higher than that for club count. 7 Latvian clubs and 7 between Lithuania and Estonia.
Trying this now, looks absolutely awesome. Do you happen to know what the word is for later game play? I'm currently in 2040 on my latest save and if possible would like to try to get this generator working for that with the current for my save rosters.
Trying this now, looks absolutely awesome. Do you happen to know what the word is for later game play? I'm currently in 2040 on my latest save and if possible would like to try to get this generator working for that with the current for my save rosters.
It's the team jersey number but if one isn't assigned then it'll be the national team jersey number. If there's no national team jersey number either then it's the favourite jersey number.
Marc Bergevin sure loves couloured ties!Heh if we found some decent templates we could do something like suits with a coloured tie for GMs and coloured tracksuits for coaches, etc!