How to import scores?

8 posts / 0 new
Last post
blackrose
Offline
Joined: 2005-04-27
How to import scores?

I can't figure out how to import scores from a text file collection. I have tried pointing the Import scores tool at a folder full of text file collections with solutions, only to have it tell me: "Imported 0 scores from 0 files."

Why is this not working? What am I doing wrong? Must the files have a certain extension? .xsb? .txt? .sok? How does this work, *exactly*?

bjorn
Offline
Joined: 2013-04-18

The "Import Scores" function under the "Tools" menu, can be used to import and merge scores from another installation of the game. If you for example have an installation on a laptop and want to merge these scores to the ones on your "main" computer.

The only supported format is the one used in my *.ssc files.

blackrose
Offline
Joined: 2005-04-27

Thank you for pointing out my mistake. I misread the update notes because I keep hoping that you will make it easier to import solutions from other programs.

I would really urge you to add the functionality of being able to easily import scores from text file collections and have them show as my own (give me the yellow dot). I know I'm not the only one with many large text collections which may be completely solved. However, importing the solutions into Sokoban for Windows is tedious in the extreme.

Take the Buddy Casamis collections, for example. One has more than 1000 levels, another over 700, yet another over 500. My only options are to import the solutions one by one, or to solve each level again. Both are more time consuming than the collections are worth, but I want those yellow dots that prove I've solved the collections (and I have, in the past, with another program).

Also problematic is the necessity to watch each solution play out to the end in order to import the solution as my own. Some of my Vipul Patel solutions take more than half an hour for the animation to finish. It took *eight hours* to import my solutions for "Maximum 100,000 moves."

The ability to turn off animations might help that. I'm an advanced enough player that I usually don't need to see the animation. It's the first thing I turn off when running other Sokoban programs. Leave it on by default for new players, but give us long-time players the option to turn it off completely, pretty please?

Please also look at your pathfinding algorithm. On large maps, it can take as much as a minute for the program to find the path. On really large maps, such as Eric Tchong's Atlas 3 "beemaze," the program just hangs. Typically on Eric's larger levels, I had to endure pauses of 10-30 seconds or more. This, plus having to wait for the animation to finish, really increases the amount of time it takes to complete Eric's collections.

I'm a very busy person, with many responsibilities and a husband who just had a stroke to take care of. I understand if you cannot make any of these changes right away (being probably a busy person yourself), but please consider them for future updates.

-km

bjorn
Offline
Joined: 2013-04-18

Thanks for your suggestions!

Import scores from text file collections

To do that I need to know the format of such a file. Is there only one type of file or are there different ones, depending on what Sokoban program you used?

Also problematic is the necessity to watch each solution play out to the end in order to import the solution as my own

You want to get it listed with your name rather than "Imported". That's easy and will be done. As a workaround, you could open the Score file in a text editor (such as wordpad) and use search and replace to change "Imported".

Turn off animations

You mean to make a drag and drop move instantaneously. That should be simple. It will be implemented.

Please also look at your pathfinding algorithm

I am doing research here. But it's extremely complex and I can't give you any promises right now.

/Björn

blackrose
Offline
Joined: 2005-04-27

You want to get it listed with your name rather than "Imported". That's easy and will be done. As a workaround, you could open the Score file in a text editor (such as wordpad) and use search and replace to change "Imported".

That's a great change, but I still have to import each and every solution, One. At. A. Time. Imagine trying to do that with the Buddy Casamis collections. It's more than 2200 levels. One. At. A. Time. No sane person would attempt it -- or if they did, they wouldn't be sane when they finished! Biggrin

By format, I mean the usual text file -- ascii maps followed by LuRD string solutions and/or snapshots. Different programs add different tags for level names, solutions and snapshots. Most of them ignore each other's tags and just look for the ascii map and the LuRD. Sometimes it's necessary to edit the file a bit to make the solutions visible to another program, but that usually involves a quick global search and replace of a tag the program doesn't like.

-km

bjorn
Offline
Joined: 2013-04-18

It would be great if you could send me a couple of example files with solutions.

blackrose
Offline
Joined: 2005-04-27

Sorry to take so long to get back to you.

I can send you a couple example files if you can tell me how to attach a file to a post here, or provide me with an email addy to send them to.

-k

bjorn
Offline
Joined: 2013-04-18

No problem. Ming has sent me a couple of files already, but please send yours also in case they have a different format.

Just click the email button.