Playstation Portable (PSP)
[[Image:<...>|right]]
Nethostfs
Using nethostfs you can stream your legally backed up games, music, movies and more straight from your Linkstation to your PSP. You can also rip your games straight to your Linkstation using mediaripper
Nethostfs v1.8: Get this version for ppc here: http://aabb6467.hp.infoseek.co.jp/pspfiles/nethostfs_kurobox.zip or here Get this version for mips here: http://downloads.nas-central.org/LS2_MIPSel/Packages/mipsel-nethostfs.tar.gz
Nethostfs v2.1: I bundled all versions together (arm, mips, ppc). It can be got here for the moment:
Features
- Network Streaming
Running nethostfs
To run nethostfs you will need to have a custom firmware (3.52 m33-2 is the latest at time of writing that works with iR Shell 3.61) To run nethostfs v2.1 you'll need (5.00 m33-3 iRShell 4.8 or Hostcore)
Installing nethostfs
This is the server that will allow the PSP to connect to your Linkstation. You can download the source code and patch required from this Japenese guys blog HERE. The source code will compile but not work (due to Big Endian?), so there's a patch too. Fortunately there is a pre-compiled binary in there that just works, so:
cd /tmp wget http://aabb6467.hp.infoseek.co.jp/pspfiles/nethostfs_kurobox.zip unzip nethostfs_kurobox.zip cd nethostfs_kurobox cp nethostfs /usr/bin
I've then just got a script to start it at boot. You will obviously need to change "/mnt/share/PSPGames" to where your games are stored.
pico /etc/init.d/nethostfs
Copy this to it:
#!/bin/sh # PATH=/usr/sbin:/usr/bin:/bin:${PATH} export PATH NETHOSTFS='/usr/bin/nethostfs' PORT='7513' case "$1" in start) echo -n "Starting nethostfs: " $NETHOSTFS -p $PORT /mnt/share/PSPGames & echo "done" sleep 1 ;; stop) echo -n "Shutting down nethostfs: " $NETHOSTFS -p $PORT poweroff & killall nethostfs sleep 1 echo "done" ;; restart) echo -n "Restarting nethostfs: " $0 stop sleep 1 $0 start ;; status) echo "Status of nethostfs: " ps auxw|grep nethostfs ;; *) echo "Usage: nethostfs {start|stop|restart|status}" exit 1 esac exit 0
Then link it:
cd /etc/rc2.d && ln -s /etc/init.d/nethostfs S99nethostfs
cd /etc/rc6.d && ln -s /etc/init.d/nethostfs K99nethostfs
cd /etc/rc0.d && ln -s /etc/init.d/nethostfs K99nethostfs
Configuring
If you want to rip the games you legally own to your Linkstation you will need Waites "mediaripper"
Once mediaripper is installed you'll need to adjust it abit:
pico /usr/local/bin/ripper.conf
INTERVAL=60 IMGDIR="/mnt/share/Images" VIDDIR="/mnt/share/Video" MUSICDIR="/mnt/share/Music" UMDDIR="/mnt/pspgames" IMGTYPES="jpg bmp gif" VIDTYPES="xvid mpg wmf" MUSICTYPES="ogg mp3 wav flac" UMDTYPES="iso dax cso"
Remove from the very bottom of usbripper.sh "umount $USBS" and "done" then add:
pico /usr/local/bin/usbripper.sh
#Get UMD FINDNAME="" for TYPE in $UMDTYPES ; do if [ "$FINDNAME" != "" ] ; then FINDNAME=`echo -n "$FINDNAME -o "` fi FINDNAME=`echo "$FINDNAME -name \"*.$TYPE\" "` done FINDNAME=`echo -n " find $USBS \\( $FINDNAME \\) -print -exec cp -af {} $UMDDIR \\; "` eval $FINDNAME umount $USBS done