Beuc
Joined: 26 Mar 2009 Posts: 33 Location: holland
|
Posted: Thu Apr 09, 2009 6:23 am Post subject: Re: How do I get Remtoe Joy working in Linux |
|
|
Here are my notes from a couple days ago. I managed to run some of it, but not all.
A tutorial: http://www.ngine.de/index.jsp?pageid=4292
Another (French) tutorial with a better Makefile: http://www.metagames-eu.com/forums/psp/tuto-remotejoy-psplink-ou-comment-afficher-lecran-de-votre-psp-sur-le-pc-linux-87533.html
I'm using Debian Lenny.
The 'pmount' commands are optional and just show that I'm manually mounting the PSP link like a USB key.
1) Build PSPLink
| Code: |
svn co svn://svn.ps2dev.org/psp/trunk/psplinkusb
pushd psplinkusb
# Check psplink_manual.pdf
make -f Makefile.oe release
(cd release_oe/pc/usbhostfs_pc/ && $SUDO ./mod.sh )
|
2) Install PSPLink
| Code: |
pmount /dev/sdb1
cp -a release_oe/psplink /media/sdb1/PSP/GAME/
pumount /dev/sdb1
|
3) Compile remotejoy
First use a better Makefile, replace tools/remotejoy/pcsdl/Makefile with this one.
FYI, pthread weren't included and the author said this caused a problem, plus CFLAGS weren't actually used in the original Makefile. I personaly haven't tested with the original Makefile though ;)
| Code: |
OUTPUT=remotejoy
OBJS=remotejoy.o font.o
CFLAGS=-O2 -pthread -Wall -g $(shell sdl-config --cflags)
all: remotejoy
$(OUTPUT): $(OBJS)
$(CC) -o $@ $^ $(CFLAGS) $(shell sdl-config --libs)
clean:
rm -f $(OUTPUT) *.o
|
(note: phpbb replaces a leading TAB by 4 spaces, like in front of $CC. You need to put a TAB back)
Then compile it:
| Code: |
cd tools/remotejoy
make
cd pcsdl
make
|
4) Install remotejoy
| Code: |
pmount /dev/sdb1
mkdir /media/sdb1/joy
cp tools/remotejoy/remotejoy.prx /media/sdb1/joy
pumount /dev/sdb1
|
5) Run PSPLink on your PSP
6) Run usbhostfs on your PC:
| Code: |
$ release_oe/pc/usbhostfs_pc/usbhostfs_pc
|
7) On another terminal, start pspsh and run remotejoy in it:
| Code: |
$ release_oe/pc/pspsh/pspsh
host0:/> ldstart ms0:/joy/remotejoy.prx
|
8) Run RemoteJoy-SDL on yet another terminal on your PC:
| Code: |
$ cd tools/remotejoy/pcsdl
$ ./remotejoy -d -c
|
9) Run the app manually (PRX only, ELF doesn't work, unless you're on firmware 1.50):
| Code: |
host0:/> cd ...
host0:/> ./myapp.prx
|
The documentation asks to run vshmain.prx in order to start the XMB (the main PSP interface), but this doesn't work for me - so the app needs to be run manually.
-----
Following the tutorial above, here are what I think you should do to make the remote display activated when running a game. It doesn't work for me..
| Code: |
pmount /dev/sdb1
pushd /media/sdb1/SEPLUGINS
cp ../PSP/GAME/psplink/usbhostfs.prx .
cp ../PSP/GAME/psplink/psplink.prx .
cp ../PSP/GAME/psplink/psplink_user.prx .
cp ../PSP/GAME/psplink/remotejoy.prx .
cat <<EOF >> vsh.txt
ms0:/seplugins/usbhostfs.prx
ms0:/seplugins/psplink.prx
ms0:/seplugins/psplink_user.prx
ms0:/seplugins/remotejoy.prx"
EOF
cat <<EOF >> game.txt
ms0:/seplugins/usbhostfs.prx
ms0:/seplugins/psplink.prx
ms0:/seplugins/psplink_user.prx
ms0:/seplugins/remotejoy.prx"
EOF
popd
pumount /dev/sdb1
|
Enable the following plugin in the on-boot recovery menu:
- psplink.prx [GAME]
- psplink_user.prx [GAME]
- remotejoy.prx [GAME]
But as I said this didn't do anything special for me.
If you manage to get this running properly, please let us know :) |
|