Inkscape-dev

From X-Moto
Revision as of 22:16, 25 September 2009 by The only dude (talk | contribs) (Required softwares)
Jump to: navigation, search

Català - Español


Documentation for the developpement version of Inksmoto Level Editor


Disclaimer

This version of Inksmoto Level Editor is not stable and not fully tested, but you can test it anyway.

Svg made with the 0.2.0 version of Inksmoto Level Editor are not compatible with this developement version of Inksmoto Level Editor.

Required softwares

The next version of Inksmoto will require Inkscape 0.46 or 0.47 This version of Inkscape no longer uses python-xml, but lxml instead. PyGtk is now needed instead of Tk. And python too (don't know the minimum required version required, but Inkscape 0.46 is packaged with python 2.5).

  • inkscape
  • python
  • python-lxml
  • python-gtk2

Installation on Linux

Installation of the prerequisites

For example on a debian/ubuntu:

sudo apt-get install inkscape python python-lxml python-tk python-imaging-tk

Using the .deb file

Under debian/ubuntu, you can use this .deb file to install Inksmoto with the command line or graphically:

  • Command line:
wget http://download.tuxfamily.org/xmoto/svg2lvl/dev/inksmoto-0.5.0~svn-1.deb
sudo dpkg -i inksmoto-0.5.0~svn-1.deb

Warning: If you have previously installed the svn version in your home dir, you should better delete it:

rm -rf ~/.inkscape/extensions

Using the svn

run:

sudo apt-get install subversion
mkdir ~/.inkscape
cd ~/.inkscape
svn co svn://svn.tuxfamily.org/svnroot/xmoto/svg2lvl/trunk/extensions

Installation on Windows

Using the generated setup

Just download and execute this executable: http://download.tuxfamily.org/xmoto/svg2lvl/dev/Inkscape-0.46_inksmoto-0.5.0~svn_win32.exe

Manual installation

Download

Install them

Install them by double clicking on the .exe/.msi files.

Copy

Copy those files/directories from your Python 2.5 installation into your Inkscape 0.46 installation:

C:\Python25\Lib\lib-tk in C:\Program Files\Inkscape\python\Lib\
C:\Python25\DLLs\_tkinter.pyd in C:\Program Files\Inkscape\python\DLLs\
C:\Python25\DLLs\tk84.dll in C:\Program Files\Inkscape\python\DLLs\
C:\Python25\DLLs\tcl84.dll in C:\Program Files\Inkscape\python\DLLs\
C:\Python25\tcl in C:\Program Files\Inkscape\python\
C:\Python25\site-packages\PIL in C:\Program Files\Inkscape\python\Lib\site-packages\
C:\Python25\site-packages\PIL.pth in C:\Program Files\Inkscape\python\Lib\site-packages\

Download

Svn Inksmoto: http://svn.tuxfamily.org/viewvc.cgi/xmoto_svg2lvl/trunk/extensions.tar.gz?view=tar

Install

Extract extensions.tar.gz with 7z or WinRar. Then copy the content of the extracted extensions directory into:

 C:\Program Files\Inkscape\share\extensions\

(It will ask you if you want to replace existed inkex.py and bezmisc.py, you can do it, as they are the same as the one from Inksmoto)

Remove old version of Inksmoto

If you have installed previous svn versions of Inksmoto, to avoid potentials conflicts, you should better delete this directory:

C:\Documents And Settings\<Your Name>\Application Data\Inkscape\extensions\

Updating the svn version

Download

Latest svn Inksmoto: http://svn.tuxfamily.org/viewvc.cgi/xmoto_svg2lvl/trunk/extensions.tar.gz?view=tar

Install

Extract extensions.tar.gz with 7z or WinRar. Then copy the content of the extracted extensions directory into:

 C:\Program Files\Inkscape\share\extensions\

(It will ask you if you want to replace existed inkex.py and bezmisc.py, you can do it, as they are the same as the one from Inksmoto)

Installation on Mac OS X

Download

Install

Install them.

Download Inksmoto

Svn Inksmoto: http://svn.tuxfamily.org/viewvc.cgi/xmoto_svg2lvl/trunk/extensions.tar.gz?view=tar [edit]

Install Inksmoto

Extract extensions.tar.gz with the appropriate Mac OS X tool. Then copy the content of the extracted extensions directory into:

/<look on a macosx to know the inkscape installation directory>/extensions/

(It will ask you if you want to replace existed inkex.py and bezmisc.py, you can do it, as they are the same as the one from Inksmoto)

TODO

You can see the progress of the developpement in the bug tracker: http://todo.xmoto.tuxfamily.org/index.php?project=2&do=index