Difference between revisions of "Inkscape-dev"
(→Installation on Windows) |
|||
Line 53: | Line 53: | ||
= Installation on Windows = | = Installation on Windows = | ||
− | ==Download== | + | ==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=== | ||
*Python 2.5: http://python.org/ftp/python/2.5.2/python-2.5.2.msi | *Python 2.5: http://python.org/ftp/python/2.5.2/python-2.5.2.msi | ||
Line 59: | Line 65: | ||
*Inkscape 0.46: http://downloads.sourceforge.net/inkscape/Inkscape-0.46.win32.exe | *Inkscape 0.46: http://downloads.sourceforge.net/inkscape/Inkscape-0.46.win32.exe | ||
− | ==Install them== | + | ===Install them=== |
Install them by double clicking on the .exe/.msi files. | Install them by double clicking on the .exe/.msi files. | ||
− | ==Copy== | + | ===Copy=== |
Copy those files/directories from your Python 2.5 installation into your Inkscape 0.46 installation: | Copy those files/directories from your Python 2.5 installation into your Inkscape 0.46 installation: | ||
Line 74: | Line 80: | ||
C:\Python25\site-packages\PIL.pth 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== | + | ===Download=== |
Svn Inksmoto: http://svn.tuxfamily.org/viewvc.cgi/xmoto_svg2lvl/trunk/extensions.tar.gz?view=tar | Svn Inksmoto: http://svn.tuxfamily.org/viewvc.cgi/xmoto_svg2lvl/trunk/extensions.tar.gz?view=tar | ||
− | ==Install== | + | ===Install=== |
Extract extensions.tar.gz with ''7z'' or ''WinRar''. | Extract extensions.tar.gz with ''7z'' or ''WinRar''. | ||
Line 85: | Line 91: | ||
(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) | (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== | + | ===Remove old version of Inksmoto=== |
If you have installed previous svn versions of Inksmoto, to avoid potentials conflicts, you should better delete this directory: | 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\ | 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= | =Installation on Mac OS X= |
Revision as of 18:54, 17 December 2008
Contents
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. This version of Inkscape no longer uses python-xml, but lxml instead. Tk is still needed. And python too (don't know the minimum required version required, but Inkscape 0.46 is packaged with python 2.5).
- inkscape (=0.46)
- python (=2.5)
- python-lxml
- python-tk
- python-imaging-tk
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
- Graphically:
- download the .deb file http://download.tuxfamily.org/xmoto/svg2lvl/dev/inksmoto-0.5.0~svn-1.deb
- double click on it from the file explorer to install it (with GDebi)
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
- Python 2.5: http://python.org/ftp/python/2.5.2/python-2.5.2.msi
- PIL 1.1.6: http://effbot.org/downloads/PIL-1.1.6.win32-py2.5.exe
- Inkscape 0.46: http://downloads.sourceforge.net/inkscape/Inkscape-0.46.win32.exe
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
- Python 2.5: http://pythonmac.org/packages/py25-fat/dmg/python-2.5-macosx.dmg
- PIL 1.1.6: http://pythonmac.org/packages/py25-fat/dmg/PIL-1.1.6-py2.5-macosx10.4-2007-05-18.dmg
- Inkscape 0.46:
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
Code documentation
On this page there's informations on how the code is structured (in french) Inksmoto-code-documentation