Open main menu

Difference between revisions of "Compiling ScummVM/PlayStation Portable"

Tidy up PSP compilation page and add link to MinPSPW
(Tidy up PSP compilation page and add link to MinPSPW)
Line 1: Line 1:
There are 2 ways to get the necessary components to build for the PSP -- the easy way and the hard way.
There are 2 ways to get the necessary components to build for the PSP -- the easy way and the hard way.


The hard way is obtaining and building everything:
== Hard Way ==


The hard way is obtaining and building everything from source manually:
Required:
* PSP Toolchain (svn co svn://svn.pspdev.org/psp/trunk/psptoolchain)
* PSP Toolchain (svn co svn://svn.pspdev.org/psp/trunk/psptoolchain)
* PSPSDK (svn co svn://svn.pspdev.org/psp/trunk/pspsdk) Note: This usually gets installed by the PSP toolchain, so you don't have to do it manually.
* PSPSDK (svn co svn://svn.pspdev.org/psp/trunk/pspsdk) - This usually gets installed by the PSP toolchain, so you don't have to do it manually.
* SDL (svn co svn://svn.pspdev.org/psp/trunk/SDL)
* SDL (svn co svn://svn.pspdev.org/psp/trunk/SDL)
* zlib (svn co svn://svn.pspdev.org/psp/trunk/zlib)
* zlib (svn co svn://svn.pspdev.org/psp/trunk/zlib)
* libmad (svn co svn://svn.pspdev.org/psp/trunk/libmad)
* libmad (svn co svn://svn.pspdev.org/psp/trunk/libmad)
* libTremor* (svn co svn://svn.pspdev.org/psp/trunk/libTremor)
* libmpeg2* ([http://libmpeg2.sf.net]) Note: As this is not in pspdev svn, you'll need to build it manually. Adding a psp target/host to config.sub and using a configure line similar to the SDL port worked.
* libpng (needed for the image browser and visual keyboard)
* libpng (needed for the image browser and visual keyboard)


<nowiki>*</nowiki>Optional
Optional:
* libTremor (svn co svn://svn.pspdev.org/psp/trunk/libTremor)
* [http://libmpeg2.sf.net libmpeg2] - As this is not in pspdev svn, you'll need to build it manually. Adding a psp target/host to config.sub and using a configure line similar to the SDL port worked.
 
== Easy Way ==


The easy way is to install MinPSPW, which is available for Windows and Linux. Everything is taken care of for you this way. This way is ''highly'' recommended.
The easy way is to install [http://sourceforge.net/projects/minpspw/ MinPSPW], which is available for Windows and Linux. Everything is taken care of for you this way. This way is ''highly'' recommended.


To build, from msys, go to the scummvm directory. Create a subdirectory called something like 'builds/psp' and change to it (cd builds/psp).
To build, from msys, go to the scummvm directory. Create a subdirectory called something like 'builds/psp' and change to it (cd builds/psp).
TrustedUser
574

edits