PCM4 Startlists Tool v1.0
|
Jape |
Posted on 05-10-2008 22:33
|
Neo-Pro
Posts: 277
Joined: 12-06-2007
PCM$: 200.00
|
Pretty basic tool for creating startlists for the new PCM game. You can either build one from scratch manually or you can let them be automatically generated from Cyclingstartlists.com. It's not very thoroughly tested nor coded but it does the trick. I promised this tool to Aab-ern already some time ago but never got to it (sry for the wait dude).
Things you need:
- .NET Framework 3.5 - download here -
- SQL Compact Edition 3.5 DLL - download here -
- Eyolfur's Advanced editor for PCM4
Getting started
First thing you need to do after you installed the tool is import the DB for wich you want to create startlists for. You only need to do this once, the values are stored for the next time you start the tool. I always use a savegame for importing, so just start a new career if you need to. Click the 'Import new DB' and the steps shown there should be pretty self explanatory. (You'll need to tell the tool the folder in wich the exported XML files reside)
Creating startlists
As stated before, you have two options; start from a blank list and manually add/remove riders by doubleclicking either the selection panel on the right(adding) or double clicking rider names in the startlist itself(removing). You can also let the tool automatically generate a list from cyclingstartlists.com. To do this click 'New startlists from web' and browse to the appropriate race you want a list for. Click Import this startlist and the tool will try to analyze and match the cyclists on the webpage with the ones in your DB. This takes some time (on an average PC about 2-3 minutes). After the analyzing is finished you'll see a grid with all the teams in the list first and then the riders. For each team/cyclist there will be an icon on the left that will tell you if and how accuratly a match have been found. 4 or 3 green bars are direct matches or synonym matches (synonyms can be added by checking the synonym box when a match has not been found and selecting the right team/cyclist from the drop down list, obvious examples are: Team Colombia = Team Highroad, Scott - Beef = Saunier Duval, Denis Menchov = Denis Metsjov etc.) Any matches with less bars are approximate matches.
Due to the fact that the site uses another html markup for about every race it sometimes will fail to analyze the page properly. For ex. for the latest races on there change the 'style tag of teamname styles' in the configuration menu to style13 instead of style18. There are a couple more variables you can change should the analysis fail.
Exporting the actual startlist xml files
Simply click the 'export startlist' button and the xml file is automatically created. No need to rename it either since the file will get the appropriate name from the XML Name column for the race you selected.
Download here |
|
|
|
CrueTrue |
Posted on 05-10-2008 23:15
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Great to see you back in action, Jape. Well done! |
|
|
|
Dankan |
Posted on 07-10-2008 12:01
|
Protected Rider
Posts: 1065
Joined: 29-10-2006
PCM$: 200.00
|
Jape, I can't use the Startlists Tool with my 1990 DB. Should I send it to you so to ensure there's full compatibility with different kinds of DB's? |
|
|
|
Jape |
Posted on 07-10-2008 21:23
|
Neo-Pro
Posts: 277
Joined: 12-06-2007
PCM$: 200.00
|
Problems with the importing of the db you mean ? I can tell you that, even if you find startlists for 1990 on the internet, the automatic generation will not work. But if they actually are to be found somewhere i can maybe adapt it if you want, can't promise anything though. In any case send it to me, ill take a look at it |
|
|
|
Dankan |
Posted on 07-10-2008 21:53
|
Protected Rider
Posts: 1065
Joined: 29-10-2006
PCM$: 200.00
|
Nope, you definately don't understand me, or did I not explain myself right. When I try to create a blank startlist after loading my 1990 XML folder, no races are shown. |
|
|
|
Jape |
Posted on 07-10-2008 23:16
|
Neo-Pro
Posts: 277
Joined: 12-06-2007
PCM$: 200.00
|
ah i see, send me the db if you can, i'll check it out. You can also check out yourself if the DB is imported at all. In your my documents folder there is a folder named: PCM4 Startlists DB (you can also use the 'open startlists folder' button in the tool itself.). When it's empty it should be around 200k when filled properly it should be around 500k or more. |
|
|
|
Dankan |
Posted on 08-10-2008 08:44
|
Protected Rider
Posts: 1065
Joined: 29-10-2006
PCM$: 200.00
|
It's weighting around 450 KB, so I guess everything should be right I'll try to send it to you by PM in the coming days. |
|
|
|
AaB-ern |
Posted on 11-10-2008 23:31
|
Directeur Sportif
Posts: 1489
Joined: 29-11-2006
PCM$: 200.00
|
Very nice, that the tool is now done.
Looking forward to try it tomorrow
|
|
|
|
knasen |
Posted on 30-04-2009 20:29
|
Domestique
Posts: 416
Joined: 28-09-2007
PCM$: 200.00
|
Can someone explain to me how to chose database. I chose the My Documents\Pro Cyling Manager 08\Database\Solo\OfficialRelease |
|
|
|
CrueTrue |
Posted on 30-04-2009 20:31
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
You need to export the DB with the Full Editor. When the tool asks you where you DB is, locate the folder with the exported files in it (the .xml files). |
|
|
|
Ad Bot |
Posted on 21-12-2024 17:48
|
Bot Agent
Posts: Countless
Joined: 23.11.09
|
|
IP: None |
|
|
Indurain |
Posted on 06-05-2009 08:31
|
Junior Rider
Posts: 37
Joined: 24-03-2007
PCM$: 200.00
|
I see no races. I followd the instruction just like it says. I have the pcm daily 2009v3.2db does it work with that? |
|
|
|
CrueTrue |
Posted on 06-05-2009 08:38
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Obviously, you didn't, otherwise the races would show up
Did you export the DB with Full Editor? |
|
|
|
Indurain |
Posted on 06-05-2009 08:57
|
Junior Rider
Posts: 37
Joined: 24-03-2007
PCM$: 200.00
|
real useful comment, and you are the owner of the site. nice example |
|
|
|
CrueTrue |
Posted on 06-05-2009 09:23
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
I sense sarcasm in your post - may I remind you that I (probably) gave you the solution to your problem? |
|
|
|
Indurain |
Posted on 06-05-2009 10:03
|
Junior Rider
Posts: 37
Joined: 24-03-2007
PCM$: 200.00
|
No as I said I followed the intructions. so I allready did that. |
|
|
|
Tony Montana |
Posted on 06-05-2009 17:50
|
Amateur
Posts: 15
Joined: 23-10-2007
PCM$: 200.00
|
Indurain wrote:
No as I said I followed the intructions. so I allready did that.
Doesn´t work for me, too. Cant choose race.
XML files are there. have choosen right folder. named current db as name of db (tried others too) in second step of db-importing.
Need startlist for Giro. |
|
|
|
bobcatsman |
Posted on 06-05-2009 17:53
|
Neo-Pro
Posts: 273
Joined: 30-07-2008
PCM$: 200.00
|
Same problem, I can import the db but I can't create any startlist : The race selection page is totally blank. |
|
|
|
CrueTrue |
Posted on 06-05-2009 17:59
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Indurain: I'm sorry for my comments - you're right, for some reason, it doesn't work with the V3.2. |
|
|
|
Tony Montana |
Posted on 06-05-2009 18:04
|
Amateur
Posts: 15
Joined: 23-10-2007
PCM$: 200.00
|
CrueTrue wrote:
Indurain: I'm sorry for my comments - you're right, for some reason, it doesn't work with the V3.2.
Thank you, for that Info !
Would have been the next step to try it with another db.
Edited by Tony Montana on 06-05-2009 18:06
|
|
|
|
CrueTrue |
Posted on 06-05-2009 18:07
|
Tour de France Champion
Posts: 29989
Joined: 20-10-2006
PCM$: 200.00
|
Well, it works with the V2.1, so I've no idea why it doesn't work with V3. |
|
|