TBL: Facepack Year Updater Broken

All general EHM-related discussion goes here. It's the place to chat about gameplay, online gameplay or concepts NOT related to specific topics. Claim bragging rights and impress the community by posting your records! CLICK HERE to purchase your copy of EHM 1.
Forum rules
Data Editing Forum: Editing the game, databases or saved games. Home of the EHM Editor and the EHM Assistant.

Game Add-ons Forum: Database projects, graphics and sounds. Any discussion which does not relate to editing databases or saved games.

Game Knowledge Discussion: Attributes, coaching, drafting, scouting, tactics and training/practice.

Rosters Forum: Discussion relating to all database and roster projects for Eastside Hockey Manager.

Technical Support: Difficulties, crashes and errors when installing or running the game (and nothing else). Any issues relating to the TBL Rosters must be posted in the TBL Rosters forum. Questions about how to install add-ons must be posted in the Game Add-ons Forum.

General EHM Chat: Anything relating to Eastside Hockey Manager 2004 / 2005 / 2007 / 1 which does not fall within any of the other forums.

Please carry out a forum search before you start a new thread.
User avatar
Iceman90
Top Prospect
Posts: 105
Joined: Sun Jun 24, 2007 10:00 pm
Location: Calgary

TBL: Facepack Year Updater Broken

Post by Iceman90 »

I love the facepack year updater. Great idea.

However, the feature seems to be broken.

I took this image as a test: A.J._Thelen_11_3_1984.jpg and wanted to change it to A.J._Thelen_11_3_1986.jpg

Once I ran the -2 year bat file, the image got renamed to this:

A.J._Thelen_11_3_1998.jpg2002012


I just wanted to point this out so whoever is in charge of that feature can fix it.
User avatar
McQwak
Stanley Cup Winner
Posts: 1439
Joined: Mon Nov 05, 2007 1:59 pm
Custom Rank: Now with capital letters!
Location: Prague, Czech rep.

Post by McQwak »

This should be fixed by adding an _ in front of each number in the batch file (ie. from *1981.* to *_1981.*).
User avatar
Iceman90
Top Prospect
Posts: 105
Joined: Sun Jun 24, 2007 10:00 pm
Location: Calgary

Post by Iceman90 »

I tried that earlier too. It gives me a filename of this: A.J._Thelen_11_3_2012.jpg
User avatar
philou21
The Great One
Posts: 9406
Joined: Sun Nov 23, 2008 8:15 pm
Custom Rank: 24 cups!!!
Favourite Team: Colorado Avalanche
Location: Trois-Rivières, Québec

Post by philou21 »

Archi says that some things wouldn't work because of the new site. Just wait a couple of days.
User avatar
Reave
Drafted
Posts: 197
Joined: Wed Apr 15, 2009 9:59 am
Favourite Team: Färjestad BK
Location: Sweden

Post by Reave »

The only bug(?) I have is at '1981 to 1980' and '1971 to 1970'. Example: "Derek_Meech_21_4_1981980.jpg" This is only happen somtimes and its easy and fast to fix, so it's no biggie. Great feature, much better then removing x year on your own. Thanks.
User avatar
axwel3221
Checking Line
Posts: 522
Joined: Thu Oct 08, 2009 4:58 pm
Location: Helsinki, Finland

Post by axwel3221 »

philou21 wrote:Archi says that some things wouldn't work because of the new site. Just wait a couple of days.
What has this to do with it at all? :D
User avatar
McQwak
Stanley Cup Winner
Posts: 1439
Joined: Mon Nov 05, 2007 1:59 pm
Custom Rank: Now with capital letters!
Location: Prague, Czech rep.

Post by McQwak »

Reave wrote:The only bug(?) I have is at '1981 to 1980' and '1971 to 1970'. Example: "Derek_Meech_21_4_1981980.jpg" This is only happen somtimes and its easy and fast to fix, so it's no biggie. Great feature, much better then removing x year on your own. Thanks.
Solution:
McQwak wrote:This should be fixed by adding an _ in front of each number in the batch file (ie. from *1981.* to *_1981.*).
It's basically my DOB updater tool. I'm glad to inspire you, Archi :joy:
User avatar
philou21
The Great One
Posts: 9406
Joined: Sun Nov 23, 2008 8:15 pm
Custom Rank: 24 cups!!!
Favourite Team: Colorado Avalanche
Location: Trois-Rivières, Québec

Post by philou21 »

axwel3221 wrote:
philou21 wrote:Archi says that some things wouldn't work because of the new site. Just wait a couple of days.
What has this to do with it at all? :D

My bad, I thought he got problems downloading it.
User avatar
kuulapaa
Stanley Cup Winner
Posts: 1410
Joined: Fri Apr 28, 2006 6:14 pm
Custom Rank: General Roster Soreness
Favourite Team: Tampereen Ilves
SBHL Team: Los Angeles Kings
Location: Finland

Post by kuulapaa »

My MacBook's hard drive disk crashed last week and I lost everything in it - including for example Challenge #17 data and also all of the facepacks I had downloaded. As it was a heck of a work to change the DOB's of the packs semi-manually, I just thought to ask if anyone knows any way of changing them in Mac like the way it is done with this updater? I have File List app, but don't know any other way to use it than change the years one by one in every pack.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Post by Alessandro »

What if someone writes a tool that allows you to edit the file names BACKWARD (Eg cards for lidas for use with no DOB change)?
User avatar
A9L3E
All-Star
Posts: 1230
Joined: Tue Sep 09, 2008 6:22 am
Custom Rank: Shiny gilded nameplate
Favourite Team: Helsingin Jokerit
Location: Vantaa, Finland

Post by A9L3E »

I would find use for that kind of tool because I don't play with Lidas' updates.
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Post by Alessandro »

A9L3E wrote:I would find use for that kind of tool because I don't play with Lidas' updates.
Same here
User avatar
McQwak
Stanley Cup Winner
Posts: 1439
Joined: Mon Nov 05, 2007 1:59 pm
Custom Rank: Now with capital letters!
Location: Prague, Czech rep.

Post by McQwak »

I can upgrade this tomorrow ;)
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Post by Alessandro »

That would be great. Thanks
User avatar
McQwak
Stanley Cup Winner
Posts: 1439
Joined: Mon Nov 05, 2007 1:59 pm
Custom Rank: Now with capital letters!
Location: Prague, Czech rep.

Post by McQwak »

Done! Stay tuned for mods approval ;)

The archive consists of 6 files:
update_plus_1.bat
update_plus_2.bat
update_plus_3.bat
update_plus_4.bat
update_minus_1.bat
update_minus_2.bat
update_minus_3.bat
update_minus_4.bat

These are scripts for PC that can be ran in \data\pictures\players\ or \data\pictures\nonplayers\ folder. It changes every year of birthdate by one, two or three years, depending on which script you run.

update_plus_1.bat is to be used for transition between Lidas1.3 to Lidas2.0 roster.
update_plus_2.bat is to be used for transition between original db to Lidas1.3 roster.
update_plus_3.bat is to be used for transition between original db to Lidas2.0 roster.
update_plus_4.bat is to be used for transition between original db to Lidas3.0 roster. :-D

update_minus_x.bat files can be used in opposite way (backward).
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Post by Alessandro »

Bravo =D>
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Post by Alessandro »

When this will be available?
User avatar
McQwak
Stanley Cup Winner
Posts: 1439
Joined: Mon Nov 05, 2007 1:59 pm
Custom Rank: Now with capital letters!
Location: Prague, Czech rep.

Post by McQwak »

I already submitted it :dunno:
User avatar
bruins72
TBL Admin Team
Posts: 14513
Joined: Fri Jan 20, 2006 3:13 pm
Custom Rank: Challenge Guy
Favourite Team: Boston Bruins
Location: Taunton, MA

Post by bruins72 »

I just approved the file. It should be available to download now. :thup:
User avatar
Alessandro
Olympic Gold
Posts: 2865
Joined: Sat Aug 27, 2005 1:54 pm
Custom Rank: TBL Rosters Man
Favourite Team: Team Russia
WHL Team: Calgary Flames

Post by Alessandro »

McQwak wrote:I already submitted it :dunno:
Thanks! Great stuff!!
User avatar
Iceman90
Top Prospect
Posts: 105
Joined: Sun Jun 24, 2007 10:00 pm
Location: Calgary

Post by Iceman90 »

Thanks, great work!
toffeenut2006
Junior League
Posts: 15
Joined: Sun Jan 29, 2006 8:12 pm

Post by toffeenut2006 »

Sorry for such a newb question but I can't seem to get this to work, I have copied the update_plus_1 bat file into the pictures folder, ran it but nothing changes. Any help would be much appreciated. Thanks.
User avatar
ponsjo95
Junior League
Posts: 18
Joined: Wed Jul 07, 2010 4:21 pm

Post by ponsjo95 »

toffeenut2006 wrote:Sorry for such a newb question but I can't seem to get this to work, I have copied the update_plus_1 bat file into the pictures folder, ran it but nothing changes. Any help would be much appreciated. Thanks.
I have the same problem, an easy tutorial would be great!
User avatar
McQwak
Stanley Cup Winner
Posts: 1439
Joined: Mon Nov 05, 2007 1:59 pm
Custom Rank: Now with capital letters!
Location: Prague, Czech rep.

Post by McQwak »

What OS do you guys use? I'm not sure it can work on non-Windows machines correctly.
Do other sctipts run fine (update_plus_2.bat ...)?
User avatar
ponsjo95
Junior League
Posts: 18
Joined: Wed Jul 07, 2010 4:21 pm

Post by ponsjo95 »

I use Windows Vista and none of them are working, !
Post Reply