Page 1 of 1

xsb-levels into Sokoban 2.3

Posted: Mon Feb 09, 2004 11:59 pm
by michael steins
How can xsb-levels be imported into Sokoban 2.3?
Is there an easy way to convert the format to the XML-standard?
Can Sokoban 2.3 be adapted so that xsb-levels can be imported?

Re: xsb-levels into Sokoban 2.3

Posted: Tue Feb 10, 2004 7:16 pm
by bjorn
There is one type of import supported. A level can be pasted from the Windows clipboard into the level editor. Just select the lines with the #$*+ characters, copy and use Edit Paste in the level editor. You must only copy the actual level lines, no comments or other lines.

I am thinking about making a real import utility, but I find that the XSB format isn't very standardized. The actual level is not a problem, it's the meta information (title, author and such). This can be before or after the level, it can be with or without comment ";". It can be with or without key words, such as "Title:" or "Author:".

In case you know about levels that is not included in the game today, please send me a tip about where I can find them. I will convert and publish all levels I can get permission for.

Re: xsb-levels into Sokoban 2.3

Posted: Thu Feb 19, 2004 5:48 am
by roh1961
Try this link to a converter and copy the txt file to the clipboard and import