O'Reilly logo

PSP Hacks by C.K. Sample III

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Create a Portal for Your Memory Stick Files

Why not keep a directory of all the local images and text files on your Version 2.0 PSP in HTML format, for easy access via the browser? Better yet: why not automate the process with Perl and automatically grab all of your psp-tagged del.icio.us bookmarks in there to boot?

Well, you have a PSP with Version 2.0 or later of the firmware, so you don’t have all the great homebrew emulators available for the earlier versions. However, unless you downgrade from Version 2.0 [Hack #11] , you are making do by loading every JavaScript-capable game or program you can find onto your Memory Stick and converting all your documents to text files for viewing via the nifty little browser that Sony included with Version 2.0 of the firmware.

Let’s really trick out your PSP by putting together a Perl script that will run on Windows, Mac OS X, or Linux, with only a few dependencies. This script will automatically scrape the photos contained in your Memory Stick’s /PSP/PHOTO/ folder, scrape any text files contained in /PSP/NOTES/, optionally grab any links on your del.icio.us (http://del.icio.us) account that are tagged with “psp,” and build an index.html file linking to all these files and located at the root directory of your Memory Stick.

Install the Dependencies

This script uses PerlMagick and cURL to work its magic. Since Perl is included in most modern systems, there are only a few bits that you need to make sure are in place before beginning.

Windows. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required