Difference between revisions of "Compiling ScummVM/PlayStation Portable"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Tidy up PSP compilation page and add link to MinPSPW)
(→‎Hard Way: Update links for pspdev.org to their Github Repository (especially as pspdev.org seems intermittent/down/overloaded).)
Line 4: Line 4:
  
 
The hard way is obtaining and building everything from source manually:
 
The hard way is obtaining and building everything from source manually:
 +
 +
The website for this is [http://www.pspdev.org here], but they host all their code on Github.
  
 
Required:
 
Required:
* PSP Toolchain (svn co svn://svn.pspdev.org/psp/trunk/psptoolchain)
+
* [https://github.com/pspdev/psptoolchain PSP Toolchain]
* 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.
+
* [https://github.com/pspdev/pspsdk PSPSDK] - This usually gets installed by the PSP toolchain, so you should not have to do it manually.
* SDL (svn co svn://svn.pspdev.org/psp/trunk/SDL)
+
* [https://github.com/pspdev/psp-ports/tree/master/SDL SDL]
* zlib (svn co svn://svn.pspdev.org/psp/trunk/zlib)
+
* [https://github.com/pspdev/psp-ports/tree/master/zlib zlib]
* libmad (svn co svn://svn.pspdev.org/psp/trunk/libmad)
+
* [https://github.com/pspdev/psp-ports/tree/master/libmad libmad]
* libpng (needed for the image browser and visual keyboard)
+
* [https://github.com/pspdev/psp-ports/tree/master/libpng libpng] (needed for the image browser and visual keyboard)
  
 
Optional:
 
Optional:
* libTremor (svn co svn://svn.pspdev.org/psp/trunk/libTremor)
+
* [https://github.com/pspdev/psp-ports/tree/master/libTremor 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.
+
* [http://libmpeg2.sf.net libmpeg2] - As this is not in [https://github.com/pspdev/psp-ports pspdev/psp-ports], 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 ==
 
== Easy Way ==

Revision as of 03:18, 20 March 2014

There are 2 ways to get the necessary components to build for the PSP -- the easy way and the hard way.

Hard Way

The hard way is obtaining and building everything from source manually:

The website for this is here, but they host all their code on Github.

Required:

Optional:

  • libTremor
  • libmpeg2 - As this is not in pspdev/psp-ports, 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.

To build, from msys, go to the scummvm directory. Create a subdirectory called something like 'builds/psp' and change to it (cd builds/psp). Now call configure by typing '../../configure --host=psp --enable-plugins --default-dynamic' This will build for the PSP with plugins enabled, which is recommended or you may not have enough memory. The PSP-2000 and above can handle not using plugins. In that case you'll only type '../../configure --host=psp'.

Now type 'make' and wait for compilation and linking to complete. You'll end up with an 'EBOOT.PBP' file, as well as plugins (if you asked for them) in the /plugins directory.

Don't forget the kbd.zip file from /backends/platform/psp if you want the visual keyboard to work.