README.linux 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. I. Getting the sources
  2. VCMI is still in development. You can get the sources with subversion:
  3. svn co https://vcmi.svn.sourceforge.net/svnroot/vcmi/trunk vcmi
  4. II. Compiling
  5. Optionaly, if you want to regenerate the build system, you will need the following tools:
  6. * libtool
  7. * automake
  8. * autoconf
  9. And then regenerate the build system with
  10. autoreconf -i
  11. To compile, at least the following packages (and their development counterparts) are needed to build:
  12. * libstdc++ devel
  13. * boost c++ libraries v1.37+ (1.35 will not work) (www.boost.org)
  14. * sdl,
  15. * sdl mixer
  16. * sdl image
  17. * sdl ttf
  18. * zlib
  19. Then do the usual
  20. ./configure
  21. followed by
  22. make
  23. That will generate vcmiclient, vcmiserver as well as 3 .so libraries.
  24. II. Installing Heroes of Might and Magic 3
  25. VCMI needs an installed version of Heroes III as well as WoG on top of it.
  26. The version of Heroes needed is (I think!) Shadow of Death or Complete.
  27. Wog can be downloaded from: http://www.maps4heroes.com/heroes3/files/allinone_358f.zip
  28. Wine can be used to install both.
  29. Once both programs are installed, you can install VCMI.
  30. Download the windows VCMI release (at time of writing: http://vcmi.antypika.aplus.pl/forum/dload.php?action=download&id=11) and extract it in a private directory. Then move some files to your Heroes3 directory:
  31. mv sprites /PATH_TO_H3_DIR/Sprites
  32. mv Data/* /PATH_TO_H3_DIR/Data
  33. mv Fonts Games /PATH_TO_H3_DIR/
  34. III. Installing VCMI
  35. Since VCMI is still in development, there's no install procedure, although something like
  36. DESTDIR=/path/to/heroes3 make install
  37. might work.
  38. For development puposes, it's better to use links. Go to your new Heroes3 directory, and type:
  39. ln -s /PATH_TO_VCMI/client/vcmiclient
  40. ln -s /PATH_TO_VCMI/server/vcmiserver
  41. ln -s /PATH_TO_VCMI/config
  42. ln -s /PATH_TO_VCMI/AI/GeniusAI/.libs AI
  43. And start ./vcmiclient