From X-Moto
Revision as of 09:26, 20 October 2006 by The only dude (talk | contribs)
Jump to: navigation, search

Documentation for the developpement version of svg2lvl


This version of svg2lvl is not stable and not fully tested, but you can test it anyway. It requires Inkscape functionnalities that will be available in the next version of Inkscape, so to test this svg2lvl version, you have to compile Inkscape from source.

See Inkscape svn to get Inkscape source code and Inkscape developper documentation to compile it.

By the way, the developpement version has only be tested under Linux. So, it may not work at all under other operating systems.

Required softwares

  • Inkscape (svn version)
  • Python (>= 2.4)
  • Svg2lvl converter and inkscape extension from cvs
$ cvs -z3 co -P xmoto/tools/svg2lvl/


You have to install the svg2lvl inkscape extension.


We suppose that you have do the checkout into ~/xmoto-cvs/

$ cd ~/xmoto-cvs/xmoto/tools/svg2lvl/
$ mkdir -p ~/.inkscape/extensions/textures/
$ cp *.inx *.py ~/.inkscape/extensions/
$ cp textures/*.jpg ~/.inkscape/extensions/textures/
$ ln -s /usr/share/inkscape/extensions/ ~/.inkscape/extensions/
$ ln -s /usr/share/inkscape/extensions/ ~/.inkscape/extensions/
$ ln -s /usr/share/inkscape/extensions/ ~/.inkscape/extensions/

Then, you can launch inkscape.


  • change the way xmoto properties are handled in inkscape objects label. DONE
  • fix the xmoto level size. DONE
  • show xmoto textures in Inkscape. DONE
  • show xmoto sprites in Inkscape. IN PROGRESS
  • use list of value in extensions windows. DONE
  • allow xmoto to update texture informations when new textures are downloaded by xmoto. IN PROGRESS
  • change the way inkscape object style is handled by svg2lvl extensions. IN PROGESS
  • create an automatic installation for Unix and Windows. TODO