forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do I get Remtoe Joy working in Linux

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Kraust



Joined: 08 Apr 2009
Posts: 1

PostPosted: Wed Apr 08, 2009 5:10 am    Post subject: How do I get Remtoe Joy working in Linux Reply with quote

-Before I start my endless rant I would love to say that the Image verification was the biggest piece if **** that I have ever seen. I got two of my 3 email banned because of it. <_<

Well I've been searching for the longest time for a legitimate tutorial on how to get Remote Joy working on Linux. I did it *once* but that was a hard drive ago. Now when I try to get everything working I can't seem to get either Remotejoy or usbhost to work.

So can someone post a good guide on how to do this? Everything I look up is either out of date or broken. It's like people don't want me to use this or something.

-Thanks in advanced.

EDIT: Other things you'll need <_<
OS: Ubuntu 8.10 32-bit
When getting files from the repository assume I have none of the packages required.
Back to top
View user's profile Send private message
Beuc



Joined: 26 Mar 2009
Posts: 33
Location: holland

PostPosted: Thu Apr 09, 2009 6:23 am    Post subject: Re: How do I get Remtoe Joy working in Linux Reply with quote

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 :)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group