build Remotejoy on Linux

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
mobby
Posts: 2
Joined: Sat Apr 05, 2008 2:05 am

build Remotejoy on Linux

Post by mobby »

Hello,
I followed this tutorial trying to install Remotejoy: http://www.ngine.de/index.jsp?pageid=4292

Firstly, svn co svn://svn.ps2dev.org/psp/trunk/psptoolchain didn't work so i looked on your page and found svn co svn://svn.ps2dev.org/psp/trunk/psplinkusb

So i continued with the tut. Now i wanted to make it. But it wouldn't work:

Code: Select all

mob@debian:~/pspdev/psplinkusb$ make release
make -f Makefile.psp release
make[1]: Entering directory `/home/mob/pspdev/psplinkusb'
make -C libpsplink all
make[2]: psp-config: Kommando nicht gefunden
make[2]: Entering directory `/home/mob/pspdev/psplinkusb/libpsplink'
psp-gcc -Os -G0 -Wall -fno-builtin-printf -I/include -DF_psplink_0000 psplink.S -c -o psplink_0000.o
make[2]: psp-gcc: Kommando nicht gefunden
make[2]: *** [psplink_0000.o] Fehler 127
make[2]: Leaving directory `/home/mob/pspdev/psplinkusb/libpsplink'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/home/mob/pspdev/psplinkusb'
make: *** [release] Fehler 2
It says it can't find psp-config and psp-gcc, although i put

Code: Select all

export PSPDEV="/usr/local/pspdev"
export PSPSDK="$PSPDEV/psp/sdk"
export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin"
in the ~/.bashrc

At the beginning I executed toolchain-sudo.sh as root. So it build the stuff in /usr/local/pspdev . I even tried to copy the content of this directory in /home/mob/pspdev where i've got the stuff from svn but it doesn't work, either.

I don't know what to do, i hope you guys can help me :\

some details:

PSP Firmware: 3.71 M33-4
OS: Linux debian 2.6.18-6-k7 i686 GNU/Linux

thanks in advance
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

This what I added to my .bashrc

Code: Select all

export PSPDEV=/usr/local/pspdev
export PATH=$PATH:$PSPDEV/bin
If you are using root, don't forget to paste it in the command line.
Image
Upgrade your PSP
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

For linux, use this tutorial: http://www.guztech.nl/tutorials/38-psp/ ... ptoolchain

While it's for Ubuntu, most distros are enough alike that you should be able to use it anyway. To make sure the psplinkusb step works, make sure you have the dev package for libusb installed. It should be with the other dependencies in the tutorial.

The toolchain script in psptoolchain will compile and install the compiler and SDK. The libraries script in psplibraries will compile and install the major extra libraries such as SDL.
mobby
Posts: 2
Joined: Sat Apr 05, 2008 2:05 am

Post by mobby »

the compile worked with Pirata Nervo's 2nd line.
I installed everything and now i've got another problem.

I have 3.71 M33-4 and i used the 1.5 version which was build. I put it in GAME150 and started the 3 programmes that are needed: pspsh remotejoy usbhostfs_pc

I start PSPLink and it says Connected to device so all fine by now. Then i typed "reset vsh" in the pspsh.:

Code: Select all

host0:/> reset vsh
Resetting psplink
but then my psp turns off after a few seconds! Is it right? hmm i don't know what to do :(

€dit:
I tried to go further in the Tutorial. I typed ldstart flash0:/vsh/module/vshmain.prx but this happened:

Code: Select all

host0:/> ldstart flash0:/vsh/module/vshmain.prx
Error invalid file flash0:/vsh/module/vshmain.prx
Usage: path [args]
while the next step worked:

Code: Select all

host0:/> ldstart ms0:/joy/remotejoy.prx
Load/Start ms0:/joy/remotejoy.prx UID: 0x04640627 Name: RemoteJoy
and the display of psplink showing blablabla and at the end "done" appeared on my PC.
In the tut stands "./pcsdl -d -c" but i used ./remotejoy because it was the only bin and make didn't work. (no targets for all?)
I went on in the tut and copied and enabled the plugins and did the steps. So i started the UMD Game but it didn't appear on the PC. :\
Post Reply