Playstation Portable (PSP)
From NAS-Central Buffalo - The Linkstation Wiki
(→Nethostfs) |
|||
| Line 4: | Line 4: | ||
===Nethostfs=== | ===Nethostfs=== | ||
| - | Using | + | 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 |
| - | + | Get this version for ppc here: http://aabb6467.hp.infoseek.co.jp/pspfiles/nethostfs_kurobox.zip | |
| - | + | Get this version for mips here: <------> | |
| - | + | ||
| - | + | ||
| - | |||
| - | |||
| - | |||
| - | |||
===Features=== | ===Features=== | ||
| - | |||
* Network Streaming | * Network Streaming | ||
| Line 37: | Line 30: | ||
cp nethostfs /usr/bin | cp nethostfs /usr/bin | ||
| - | I've then just got a script to start it at boot. | + | 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 | pico /etc/init.d/nethostfs | ||
| Line 61: | Line 54: | ||
echo -n "Shutting down nethostfs: " | echo -n "Shutting down nethostfs: " | ||
$NETHOSTFS -p $PORT poweroff & | $NETHOSTFS -p $PORT poweroff & | ||
| - | |||
killall nethostfs | killall nethostfs | ||
sleep 1 | sleep 1 | ||
| Line 85: | Line 77: | ||
Then link it: | Then link it: | ||
| - | cd /etc/rc2.d && ln -s /etc/init.d/nethostfs | + | cd /etc/rc2.d && ln -s /etc/init.d/nethostfs S99nethostfs |
| - | cd /etc/rc6.d && ln -s /etc/init.d/nethostfs | + | cd /etc/rc6.d && ln -s /etc/init.d/nethostfs K99nethostfs |
| - | cd /etc/rc0.d && ln -s /etc/init.d/nethostfs | + | cd /etc/rc0.d && ln -s /etc/init.d/nethostfs K99nethostfs |
===Configuring=== | ===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" | ||
| + | <font color=red>UMDDIR="/mnt/pspgames"</font> | ||
| + | IMGTYPES="jpg bmp gif" | ||
| + | VIDTYPES="xvid mpg wmf" | ||
| + | MUSICTYPES="ogg mp3 wav flac" | ||
| + | <font color=red>UMDTYPES="iso dax cso"</font> | ||
| + | |||
| + | Remove "umount $USBS" and "done" from the bottom and 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 | ||
| + | |||
| + | |||
| + | |||
------------------------------- | ------------------------------- | ||
Revision as of 22:29, 5 September 2007
[[Image:<...>|right]]
Contents |
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
Get this version for ppc here: http://aabb6467.hp.infoseek.co.jp/pspfiles/nethostfs_kurobox.zip Get this version for mips here: <------>
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)
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 "umount $USBS" and "done" from the bottom and 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

