README 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. MEGAZEUX ON GP2X
  2. As of MegaZeux 2.81g, Simon Parzer donated a port of MegaZeux to the GP2X. It
  3. has a few limitations, namely video (which has to be scaled down to 320x240),
  4. some minor performance issues and missing keyboard controls.
  5. It does however support playing MegaZeux games with support for sound effects
  6. and music. Several popular titles have been tested.
  7. CONFIGURATION
  8. The GP2X port will override the default audio_buffer to 128 samples; there is
  9. no need to set it explicitly in the config.txt. Also, the gp2x renderer will
  10. be automatically selected; there is no need to set it explicitly in the
  11. config.txt.
  12. The file pad.config must be included in the distribution and copied from
  13. arch/gp2x. This file contains necessary pad mappings for the GP2X controls.
  14. COMPILATION
  15. The only support toolchain for GP2X is the Open2X toolchain. It must be
  16. installed andadded to your environment's PATH variable. For example, if
  17. you have `arm-open2x-linux-gcc' in /usr/arm-linux/bin, you should do
  18. the following:
  19. export PATH=/usr/arm-linux/bin:$PATH
  20. It is now necessary to compile `SDL', `libmikmod' and `tremor'. Compilation
  21. of these libraries is not covered in this document. It may also be possible
  22. to use the pre-compiled libraries come with your toolchain.
  23. http://libsdl.org/ (1.2.10 or later)
  24. http://mikmod.raphnet.net/ (3.1.11 or later)
  25. http://svn.xiph.org/trunk/Tremor/
  26. Now you must run `config.sh'. The configuration script (config.sh) for the GP2X
  27. platform assumes that --prefix will specify the path to the GP2X SDK. For
  28. example, if you have the SDK installed to $TOOLCHAIN, you should specify:
  29. ./config.sh --platform gp2x --prefix $TOOLCHAIN --optimize-size \
  30. --disable-editor --disable-helpsys --disable-utils \
  31. --enable-mikmod --enable-release --enable-meter
  32. The configuration script will automatically enable/disable other flags on this
  33. platform; do not vary the command above, other than to change the prefix. The
  34. flag `--enable-mikmod' may be replaced with `--disable-audio' if you wish to
  35. disable audio support.
  36. You may now type `make' as normal to contruct a suitable binary for the GP2X.
  37. PACKAGING THE BUILD
  38. You can then use "make archive" to build a build/dist/gp2x/mzxgit-gp2x.zip
  39. file for distribution.
  40. --ajs.