Difference between revisions of "Inkscape-dev"

From X-Moto
Jump to: navigation, search
Line 22: Line 22:
 
= Pre-requesites =
 
= Pre-requesites =
  
You have to install the svg2lvl inkscape extension.
+
They are the same that for the 0.3.0 version of svg2lvl : http://wiki.xmoto.free.fr/index.php?title=Inkscape-0.3.0#Pre-requesites
 
 
== GNU/Linux ==
 
 
 
We suppose that you have do the checkout into ~/xmoto-cvs/
 
 
 
$ cd ~/xmoto-cvs/svg2lvl/
 
$ mkdir -p ~/.inkscape/extensions/
 
$ cp -rf * ~/.inkscape/extensions/
 
 
 
Then, you can launch inkscape.
 
 
 
== MacosX ==
 
 
 
You have to install PyXML. See http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX#Enabling_python_effects for an howto.
 
 
 
Then, install svg2lvl the same way as under GNU/Linux.
 
 
 
== Windows 95 & 98 ==
 
 
 
Copy all the file from the cvs into the share/extensions/ directory of the inkscape installation.
 
(It will ask if you want to override the inkex.py and bezmisc.py files, answer no)
 
 
 
Then, you can launch inkscape.
 
 
 
== Windows 2000 & XP ==
 
 
 
Copy all the files from cvs into the C:\Documents And Settings\<USER>\Applications Data\Inkscape\extensions\ directory.
 
 
 
Then, you can launch inkscape.
 
  
 
= TODO =
 
= TODO =

Revision as of 18:48, 5 January 2007

Català - Español


Documentation for the developpement version of svg2lvl


Disclaimer

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.

Svg made with the 0.2.0 version of svg2lvl are not compatible with this developement version of svg2lvl.

Required softwares

  • Inkscape (0.45 or later or svn version)
  • Python (>= 2.3)
  • Svg2lvl converter and inkscape extension from cvs
$ cvs -z3 -d:pserver:anonymous@xmoto.cvs.sourceforge.net:/cvsroot/xmoto co -P svg2lvl/

Pre-requesites

They are the same that for the 0.3.0 version of svg2lvl : http://wiki.xmoto.free.fr/index.php?title=Inkscape-0.3.0#Pre-requesites

TODO

  • show xmoto textures in Inkscape. DONE
  • show xmoto sprites in Inkscape. IN PROGRESS
  • allow xmoto to update texture informations when new textures are downloaded by xmoto. IN PROGRESS
  • create an automatic installation for Unix and Windows. TODO
  • allow inkscape to open .lvl files. IN PROGRESS