home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2009 February / maximum-cd-2009-02.iso / DiscContents / SMC_1.6_win32.exe / docs / readme-linux.txt < prev    next >
Encoding:
Text File  |  2008-01-12  |  2.8 KB  |  72 lines

  1.  
  2. - Readme for Linux -
  3.  
  4. To run this game on Linux, you have two possibilities: You can either
  5. compile your own binary or you can use a pre-compiled version if it's
  6. available for download, too. The pre-compiled version sometimes is statically linked,
  7. so it should run on all Linux/i86 systems. To use it simply run the
  8. "smc" executable in the 1.* folder.
  9.  
  10. If it does not work or if you are using any other system than Linux/i86, you
  11. have to get the source code and compile your own executable file.
  12.  
  13. The rest of this file describes how to compile this game for Linux.
  14. The build files are just a quick-n-dirty hack and are not very well tested,
  15. so if you run into problems, please contact me. 
  16.  
  17. 1.) Requirements
  18.  
  19. You need:
  20. - The Secret Maryo Chronicles source distribution.
  21. - The GCC G++ compiler (version 3.4 or higher)
  22. - Following libraries (with headers/development files):
  23.     Boost Filesystem ( >= 1.31 )
  24.     SDL ( >= 1.2.10 )
  25.     SDL_image ( >= 1.2.0 )
  26.         libpng
  27.     SDL_mixer ( >= 1.2.0 )
  28.         libvorbis
  29.     SDL_ttf ( >= 2.0 )
  30.         FreeType 2
  31.     CEGUI ( >= 0.5 )
  32.         Either SILLY, DevIL or FreeImage
  33. - GNU make
  34. - autoconf (2.57 or higher) and automake (IMPORTANT: version 1.7 or higher)
  35.  
  36. 2.) How to build the sources with automake/autoconf ?
  37.  
  38. Change to the directory with the "autogen.sh" and "configure.ac" files.
  39. Then run the autogen.sh script by typing "./autogen.sh" (alternatively
  40. you can also run "autoreconf -i" instead).
  41. You'll get a "configure" script - run it by typing "./configure".
  42. (You might want to run "./configure --help" first to have a look at the
  43. available options).
  44. If everything is fine, you'll get the Makefile. Now you can build SMC by
  45. simply running "make".
  46.  
  47.  
  48. 3.) How to install the game from the source distribution ?
  49.  
  50. Make sure you have the graphics and levels files from the either the binary
  51. Linux distribution of Secret Maryo Chronicles or from the Windows version of SMC
  52. (i.e. you need the folder "data" folder with all its sub-folders like "font",
  53. "levels", "music", "pixmaps", "sounds", "world" and more ) and copy these data
  54. sub-folders to the "data" directory in the source tree. You should also
  55. download the music files package if you want to have background musics.
  56.  
  57. Now type "make install" to install the game in the directory that has been
  58. determined while running the "configure" script.
  59.  
  60.  
  61. 4.) How to start ? 
  62.  
  63. Afer installation, the "smc" executable has been placed in the "bin" folder
  64. that has been determined while running "configure". Simply run this executable
  65. to start SMC. Run it with the parameter "--help" to see the possible options.
  66.  
  67. 5.) Please Contribute
  68.  
  69. If you get SMC compiled on a distribution or Operating System which SMC doesn't support
  70. please send your modifications and a link to the prebuild installation packages.
  71.  
  72.