ROAR playing record importer

asloser

The Head Tuomo of the Finnish ASL Community
Joined
Jan 29, 2003
Messages
1,147
Reaction score
1,792
Location
Klaukkala-Finland
Country
llFinland
Can you send me your data in a text file and I'll see what's going on. If you can preserve the copy/paste text (so ideally don't put it into word,excel - just the plain text in an attachment would be great) - cheers.
sure will send an email....
 

daveramsey

Elder Member
Joined
Jun 10, 2006
Messages
1,851
Reaction score
1,148
Location
Hertfordshire
First name
Dave
Country
llUnited Kingdom
sure will send an email....
Thanks - that's helped.

Please retry, and let me know. I found the problem. The scenarios that can't be imported are because either the side can't be found (I do a substring match, but there are definitely differences) and the scenario titles sometimes don't match (for example 'Totsugeki! (ATL3 redone)' or the apostrophes are different, etc..
 

asloser

The Head Tuomo of the Finnish ASL Community
Joined
Jan 29, 2003
Messages
1,147
Reaction score
1,792
Location
Klaukkala-Finland
Country
llFinland
Thanks - that's helped.

Please retry, and let me know. I found the problem. The scenarios that can't be imported are because either the side can't be found (I do a substring match, but there are definitely differences) and the scenario titles sometimes don't match (for example 'Totsugeki! (ATL3 redone)' or the apostrophes are different, etc..
Success! There are some things to check for instance the players with names including Nordic characters öäåø cause duplicates as the importer does not recognize them, ROAR not using those characters and people in Archive spelling their name correctly. And some, especially older, scenarios are named differently.

I will go through what is in but so far it seems to be very useful -you can get in most of the data in right (maybe ~80% is all right) and then you'll just have to correct or manually enter the rest.

30115
 
Last edited:

Michael R

Minor Hero
Staff member
Moderator
Joined
Feb 4, 2003
Messages
4,845
Reaction score
4,529
Location
La Belle Province
First name
Michael
Country
llCanada
I will try the importer when I return home from traveling. Here is an idea that I will use. Import only one year at a time. I believe this will make it easier to check for errors and find them. A pattern of error might show up that can be corrected for subsequent imports.
 

asloser

The Head Tuomo of the Finnish ASL Community
Joined
Jan 29, 2003
Messages
1,147
Reaction score
1,792
Location
Klaukkala-Finland
Country
llFinland
I will try the importer when I return home from traveling. Here is an idea that I will use. Import only one year at a time. I believe this will make it easier to check for errors and find them. A pattern of error might show up that can be corrected for subsequent imports.
I wish you had this idea yesterday.

Signed, man with 1100 lines to check and correct. 🤣
 

daveramsey

Elder Member
Joined
Jun 10, 2006
Messages
1,851
Reaction score
1,148
Location
Hertfordshire
First name
Dave
Country
llUnited Kingdom
The importer will show you rows that have failed (for the reasons mentioned above) - but you can edit the source file and re-upload without worrying about duplicates so in theory, it's straightforward to find the issues and correct them. If there are common errors that are easy to spot on the Archive's side, it's obviously possible for the titles/sides to be edited if they need fixing.
 

asloser

The Head Tuomo of the Finnish ASL Community
Joined
Jan 29, 2003
Messages
1,147
Reaction score
1,792
Location
Klaukkala-Finland
Country
llFinland
The importer will show you rows that have failed (for the reasons mentioned above) - but you can edit the source file and re-upload without worrying about duplicates so in theory, it's straightforward to find the issues and correct them. If there are common errors that are easy to spot on the Archive's side, it's obviously possible for the titles/sides to be edited if they need fixing.
One thing I noticed is that if a scenario is republished it will default to the original version. For exaple Best of Friends Scenrios will show as the original FrF being played. Still beats having to enter everything manually.
 

daveramsey

Elder Member
Joined
Jun 10, 2006
Messages
1,851
Reaction score
1,148
Location
Hertfordshire
First name
Dave
Country
llUnited Kingdom
One thing I noticed is that if a scenario is republished it will default to the original version. For exaple Best of Friends Scenrios will show as the original FrF being played. Still beats having to enter everything manually.
Ok - I've updated it to now search on the scenario ID (ie, AP52) which matches as a case-insenstive, match removing all spaces from the search (to hit AP 52, ap52, etc) and title, then if this fails, just the title- so this might catch a few of them. I know that the archive and roar don't always use the same notation but this might help.

If you need me to wipe your playings so you can re-import, just let me know.
 

Sparafucil3

Forum Guru
Joined
Oct 7, 2004
Messages
11,675
Reaction score
5,708
Location
USA
First name
Jim
Country
llUnited States
Ok - I've updated it to now search on the scenario ID (ie, AP52) which matches as a case-insenstive, match removing all spaces from the search (to hit AP 52, ap52, etc) and title, then if this fails, just the title- so this might catch a few of them. I know that the archive and roar don't always use the same notation but this might help.

If you need me to wipe your playings so you can re-import, just let me know.
Just a thought: why not lower case any user input that is part of a matching process? You can then add a to.lower() wrapper around your matching text and user input on either side no longer matters. -- jim
 

asloser

The Head Tuomo of the Finnish ASL Community
Joined
Jan 29, 2003
Messages
1,147
Reaction score
1,792
Location
Klaukkala-Finland
Country
llFinland
If you need me to wipe your playings so you can re-import, just let me know.
Please do. I think my games make for an interesting test case as there is quite many of them and it has already been done once.
 

bendizoid

Official ***** Dickweed
Joined
Sep 11, 2006
Messages
4,762
Reaction score
3,491
Location
Viet Nam
Country
llUnited States
Success! There are some things to check for instance the players with names including Nordic characters öäåø cause duplicates as the importer does not recognize them, ROAR not using those characters and people in Archive spelling their name correctly. And some, especially older, scenarios are named differently.

I will go through what is in but so far it seems to be very useful -you can get in most of the data in right (maybe ~80% is all right) and then you'll just have to correct or manually enter the rest.

View attachment 30115
What happened in 2007 and 2017 ? Too much drinking or not enough? I see you got the ASL bug in 1998, won your very first scenario then got beat up in 1999 to pay your dues. Followed by a nice winning streak for about 7 years only then the wheels come off about every 10 years. Very nice, Just say’in.

Oops, strayed off topic
 
Last edited:

asloser

The Head Tuomo of the Finnish ASL Community
Joined
Jan 29, 2003
Messages
1,147
Reaction score
1,792
Location
Klaukkala-Finland
Country
llFinland
What happened in 2007 and 2017 ? Too much drinking or not enough? I see you got the ASL bug in 1998, won your very first scenario then got beat up in 1999 to pay your dues. Followed by a nice winning streak for about 7 years only then the wheels come off about every 10 years. Very nice, Just say’in.

Oops, strayed off topic
Well, I actually first played ASL circa 1990-1991, then I dabbled with for a couple of years and started playing and learning more systematically in 1994/5.

The records I kept until 1998 have been lost with old PCs crashing, started using ROAR in dec 1998.

2004-2007 I played a lot of playtest games for Hakkaa Päälle! and I was suffering a mild burout with ASL by 2007.

Between 2010-2017 I was playing a lot less, other things in life became more important, and there were even long 7-8 month gaps without a single game. By 2017 I had become so rusty that it was no longer enjoyable. I've never been a masterclass player, but the games mostly ended in frustration when I lacked the routine to play while knowing I used to do a lot better. So by winter 2017-18 it was about either quitting or playing more regularly to get my chops back.

I decided to start playing more regularly, booked my trip to ASLOK 2018 and took up VASL for live and PBEM play. Last 6 years I've played more ASL than ever before.

so that is the story.
 
Last edited:
Top