Difference between revisions of "Playstation Portable (PSP)"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(New page: {{Articles|Mediaserver}} [[Image:<...>|right]] ===Nethostfs=== Using iR Shell 3.61 and CFW 3.52 m33-2 Nethostfs offers PC files to your PSP via infrastructure (or adhoc) WiFi. In order...)
 
(Nethostfs)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Articles|Mediaserver}}
+
{{Articles|Mediaserver|Mediacenter}}
 
[[Image:<...>|right]]
 
[[Image:<...>|right]]
  
 
===Nethostfs===
 
===Nethostfs===
  
Using iR Shell 3.61 and CFW 3.52 m33-2
+
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 offers PC files to your PSP via infrastructure (or adhoc) WiFi. In order for this
+
Nethostfs v1.8:
function to work with an infrastructure network you need a properly working WiFi connection
+
Get this version for ppc here: http://aabb6467.hp.infoseek.co.jp/pspfiles/nethostfs_kurobox.zip or [http://downloads.nas-central.org/Uploads/OldUploads/LS1-HG-HS_PPC/BINARIES/nethostfs here]
already setup in the Sony XMB. The next step is to set the server IP (your PC's local IP) in the
+
Get this version for mips here: http://downloads.nas-central.org/LS2_MIPSel/Packages/mipsel-nethostfs.tar.gz
iR Shell configurator.
+
  
==Nethostfs==
+
Nethostfs v2.1:
get this version from here: http://aabb6467.hp.infoseek.co.jp/pspfiles/nethostfs_kurobox.zip
+
I bundled all versions together (arm, mips, ppc). It can be got here for the moment:
  
 
+
http://downloads.buffalo.nas-central.org/Users/Bauldrick/nethostfs-ALL.tar.gz
Using nethostfs you can stream movies, music and more straight to your PSP. Convenient for 'backed-up' games.
+
  
 
===Features===
 
===Features===
 
  
 
* Network Streaming
 
* Network Streaming
Line 25: Line 22:
  
 
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 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===
 
===Installing nethostfs===
Line 37: Line 35:
 
  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 59:
 
     echo -n "Shutting down nethostfs: "
 
     echo -n "Shutting down nethostfs: "
 
     $NETHOSTFS -p $PORT poweroff &
 
     $NETHOSTFS -p $PORT poweroff &
    -- Or: kill `getpid $NETHOSTFS`
 
 
     killall nethostfs
 
     killall nethostfs
 
     sleep 1
 
     sleep 1
Line 85: Line 82:
 
Then link it:
 
Then link it:
  
  cd /etc/rc2.d && ln -s /etc/init.d/nethostfs S99ps2client
+
  cd /etc/rc2.d && ln -s /etc/init.d/nethostfs S99nethostfs
  
  cd /etc/rc6.d && ln -s /etc/init.d/nethostfs K99ps2client
+
  cd /etc/rc6.d && ln -s /etc/init.d/nethostfs K99nethostfs
  
  cd /etc/rc0.d && ln -s /etc/init.d/nethostfs K99ps2client
+
  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 [http://www.nas-central.org/index.php/Mediaripper_-_Automatically_Rip_Audio_CDs_to_MP3s "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 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
 +
 +
 +
 
   
 
   
 
-------------------------------
 
-------------------------------

Latest revision as of 14:58, 28 April 2012

[[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

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:

http://downloads.buffalo.nas-central.org/Users/Bauldrick/nethostfs-ALL.tar.gz

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