Difference between revisions of "Inkscape-dev"
Line 11: | Line 11: | ||
See [http://wiki.inkscape.org/wiki/index.php/WorkingWithSVN Inkscape svn] to get Inkscape source code and [http://wiki.inkscape.org/wiki/index.php/Category:Developer_Documentation Inkscape developper documentation] to compile it. | See [http://wiki.inkscape.org/wiki/index.php/WorkingWithSVN Inkscape svn] to get Inkscape source code and [http://wiki.inkscape.org/wiki/index.php/Category:Developer_Documentation Inkscape developper documentation] to compile it. | ||
− | Svg made with | + | Svg made with the 0.2.0 version of svg2lvl are not compatible with this developement version of svg2lvl. |
=Required softwares = | =Required softwares = | ||
− | * [http://www.inkscape.org/ Inkscape] (svn version) | + | * [http://www.inkscape.org/ Inkscape] (0.45 or later or svn version) |
− | * [http://www.python.org/ Python] (>= 2. | + | * [http://www.python.org/ Python] (>= 2.3) |
* Svg2lvl converter and inkscape extension from cvs | * Svg2lvl converter and inkscape extension from cvs | ||
$ cvs -z3 -d:pserver:anonymous@xmoto.cvs.sourceforge.net:/cvsroot/xmoto co -P svg2lvl/ | $ cvs -z3 -d:pserver:anonymous@xmoto.cvs.sourceforge.net:/cvsroot/xmoto co -P svg2lvl/ | ||
Line 49: | Line 49: | ||
== Windows 2000 & XP == | == 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. | Then, you can launch inkscape. | ||
Line 57: | Line 55: | ||
= TODO = | = TODO = | ||
− | |||
− | |||
* show xmoto textures in Inkscape. DONE | * show xmoto textures in Inkscape. DONE | ||
* show xmoto sprites in Inkscape. IN PROGRESS | * show xmoto sprites in Inkscape. IN PROGRESS | ||
− | |||
* allow xmoto to update texture informations when new textures are downloaded by xmoto. 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 | * create an automatic installation for Unix and Windows. TODO | ||
− | + | * allow inkscape to open .lvl files. IN PROGRESS | |
− |
Revision as of 18:39, 5 January 2007
Contents
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
You have to install the svg2lvl inkscape extension.
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
- 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