Open main menu

Difference between revisions of "Compiling ScummVM/BeOS/ZETA/Haiku"

no edit summary
(New page: '''Compiling BeOS version for scummvm.''' As scummvm is relying on a BONE version you need the BONE network stack (DanO, ZETA and Haiku) version for BeOS to compile (needs libbind and lib...)
 
Line 1: Line 1:
'''Compiling BeOS version for scummvm.'''
== Compiling ScummVM with GCC under BeOS ==


As scummvm is relying on a BONE version you need the BONE network stack (DanO, ZETA and Haiku) version for BeOS to compile (needs libbind and libsocket).
As scummvm is relying on a BONE version you need the BONE network stack (DanO, ZETA and Haiku) version for BeOS to compile (needs libbind and libsocket).


For now you need to download the source over svn
== Getting the source ==
* Open a Terminal and type:


        ''svn co https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk scummvm''
''svn co https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk scummvm''


If you want to make a complete port be sure to also have libogg, libvorbis, libmad, libflac andlibmpeg2 installed with headers (I'll provide a zip for those interested later.
== Tools/libraries needed ==
===Mandatory (these should also install dependencies)===
* gcc-c++
* SDL


===Optional===
* [http://flac.sourceforge.net/ flac] (Free Lossless Audio Codec, needed if you want to play compressed games without quality loss)
* [http://www.underbit.com/products/mad/ libmad] (MPEG Audio Decoder, needed if you want to play MP3-compressed games)
* [http://www.xiph.org/downloads/ libOGG and libVorbis] (OGG Vorbis decoder, needed if you want to play OGG-Vorbis-compressed games)
* [http://libmpeg2.sourceforge.net/ libMPEG2] (.mpg video decoder, needed for the re-encoded cutscenes in Broken Sword 1/2)
== Configuring ScummVM ==
Open Terminal and run configure with these options:
Open Terminal and run configure with these options:


''LDFLAGS=-L''<path to where you have the libs/headers installed> ''./configure --prefix=''<path to where you want to install> ''--with-nasm-prefix=''<path to nasm>
''LDFLAGS=-L''<path to where you have the libs/headers installed> ''./configure --prefix=''<path to where you want to install> ''--with-nasm-prefix=''<path to nasm>


scummvm is like most games based on a unix kind of system and uses /usr paths hence the prefix path, I'm always using /boot/apps/Games/<game_port> myself for obvious reasons.
== Compiling ScummVM ==
run make
 
== Installing ScummVM ==
Run make install to install ScummVM (you can then run it using "scummvm" from any directory), if you are using a different directory scummvm will probably revert to the classic view due to not finding the gui theme in the subfolder but will nevertheless work ok.
19

edits