Difference between revisions of "Compiling ScummVM/Symbian"

Jump to navigation Jump to search
Tags: Mobile edit Mobile web edit
Tags: Mobile edit Mobile web edit
(10 intermediate revisions by the same user not shown)
Line 5: Line 5:
to get used to. If you choose to continue you will need the following items:
to get used to. If you choose to continue you will need the following items:


* UIQ 3.x SDK (To build for UIQ3 devices)(Build scripts in SDK need tweaking in order to build scummvm since Symbian OS GCCE never builds as large projects as ScummVM before)
* UIQ 3.x SDK (To build for UIQ3 devices)(Build scripts in SDK need tweaking in order to build scummvm since Symbian OS GCCE never builds as large projects as ScummVM before).
* UIQ 2.1 SDK (To build for UIQ2 devices):<br>http://www.symbian.com/developer/sdks_uiq.asp
* [http://www.symbian.com/developer/sdks_uiq.asp UIQ 2.1 SDK] (To build for UIQ2 devices).
** ECompXL, an EPOC application compression library:<br>http://www.yipton.demon.co.uk/ecompxl/latest/readme.html (To build for UIQ devices)
** [http://www.yipton.net/content/ecompxl/ ECompXL], an EPOC application compression library(To build for UIQ devices).
* Nokia S60 1st, 2nd edition,3rd edition SDK (To build for S60 devices)
* Nokia S60 1st, 2nd edition,3rd edition SDK (To build for S60 devices).
* Nokia S80 SDK (To build for S80 devices)
* Nokia S80 SDK (To build for S80 devices).
* Nokia 7710 SDK (To build for the 7710/S90 device)
* Nokia 7710 SDK (To build for the 7710/S90 device).
* Python 2.5+:<br>https://www.python.org/
* [https://www.python.org/ Python] 2.5+.
To download next prerequsities Symbian-ready follow the link(newer the best):<br>https://sourceforge.net/projects/scummvms60git/files/libs/
To download next prerequsities Symbian-ready follow the [https://sourceforge.net/projects/scummvms60git/files/libs/ link](newer the best).
* libsdl, Simple Directmedia Layer, a cross-platform multimedia library:<br>http://www.libsdl.org/ (see note about ESDL below)
* [http://www.libsdl.org SDL 1.2].
* libmad, a high-quality MPEG audio decoder:<br>http://www.underbit.com/products/mad/
* [http://www.underbit.com/products/mad/ libmad], a high-quality MPEG audio decoder.
* zlib, a massively spiffy yet delicately unobtrusive compression library:<br>http://www.zlib.net/
* [http://www.zlib.net/ zlib], a massively spiffy yet delicately unobtrusive compression library.
* libvorbis, the free audio codec:<br>https://wiki.xiph.org/Tremor
* [https://wiki.xiph.org/Tremor libtremor], the free audio decoder for OGG support.
* libpng, the free
* [http://download.savannah.gnu.org/releases/freetype/ freetype], for TTF font support.
* libjpeg, the free
* [http://www.libpng.org/pub/png/libpng.html libpng], for PNG support.
* [http://libjpeg.sourceforge.net/ libjpeg], for JPEG support.


These are probably too heavy-duty for your phone:
These are probably too heavy-duty for your phone:
* flac, the Free Lossless Audio Codec:<br>http://flac.sourceforge.net/
* [https://github.com/knik0/faad2 libfaad2]. Free audio decoder for AAC support.
* libmpeg2, a free MPEG-2 video stream decoder:<br>http://libmpeg2.sourceforge.net
* [https://xiph.org/flac/ flac], the Free Lossless Audio Codec.
* libtheora, the free video codec:<br>
* [http://libmpeg2.sourceforge.net libmpeg2], a free MPEG-2 video stream decoder.
* [https://www.theora.org/ libtheora], the free THEORA video decoder.
* [http://liba52.sourceforge.net/ liba52], the free audio decoder for AC-3 support.


== Compiling ScummVM ==
== Compiling ScummVM ==
Line 38: Line 41:


SDL:<br>
SDL:<br>
The latest version of SDL at this point in time is 1.2.13. This version<br>
The latest version of SDL at this point in time is 1.2.15. This version<br>
works great for compiling on other platforms.
works great for compiling on other platforms.


zlib:<br>
ScummVM(new, WIP):<br>
The zlib-x.x.x.tar.gz does not come with UIQ .mpp build files, that's why<br>
By default build for S60v3<br>
I added them for you in epoc-zlib.zip. Extract in <DevRoot>/zlib/ which will<br>
a) run build_me.py to build all the targets/variants that you have configured.
create the epoc dir. In <DevRoot>/zlib/epoc/ go:<br>
A detailed log will be placed in the symbian folder with Build.err.log and Build.out.log.
> bldmake bldfiles<br>
> abld build<br>


libmad:<br>
The libmad-x.x.x.tar.gz does not come with UIQ .mpp build files, that's<br>
why I added them for you in epoc-libmad.zip. Extract in <DevRoot>/libmad/ which<br>
will create the epoc dir. In <DevRoot>/libmad/epoc/ go:<br>
> bldmake bldfiles<br>
> abld build<br>


ScummVM:<br>
ScummVM(old):<br>
In <DevRoot>\scummvm\backends\platform\symbian\ go:<br>
In <DevRoot>\scummvm\backends\platform\symbian\ go:<br>
a) Edit and update the BuildPackageUpload_LocalSettings.pl for the kind of build (SDK installed etc) and variants
a) Edit and update the BuildPackageUpload_LocalSettings.pl for the kind of build (SDK installed etc) and variants
21

edits

Navigation menu