| View previous topic :: View next topic |
| Author |
Message |
Shapyi
Joined: 25 Apr 2005 Posts: 95
|
Posted: Thu Mar 30, 2006 3:47 am Post subject: Makefile question |
|
|
Before PSP I never really did Unix style programming with makefiles. Here is my question. How do you move the elf file to the PSP. Say my PSP path is "I:\DEV\". Because I am using FileAssistant to send the elf, test it and then just go back to FileAssistant instead of the PSP XMB menu.
So can someone help? I feel kind of dumb asking this. And if there is another dev program better than FileAssistant with USB drivers and call backs, let me know too.
Thanks for the help. |
|
| Back to top |
|
 |
Drakonite Site Admin

Joined: 17 Jan 2004 Posts: 989
|
Posted: Thu Mar 30, 2006 5:30 am Post subject: |
|
|
You should really look into psplink for dev _________________ Shoot Pixels Not People!
Makeshift Development |
|
| Back to top |
|
 |
Shapyi
Joined: 25 Apr 2005 Posts: 95
|
Posted: Thu Mar 30, 2006 5:40 am Post subject: |
|
|
Where can i get that and what command do i need to put in my makefile to move the elf to PSP?
EDIT: I found PSPLink on the front page. |
|
| Back to top |
|
 |
Gary13579
Joined: 15 Aug 2005 Posts: 93
|
Posted: Thu Mar 30, 2006 6:06 am Post subject: |
|
|
PSPLink is great for programming, but it doesn't automatically copy the EBOOT over. For that, I suggest adding this to the very bottem of the makefile.
| Code: | install:
mount /mnt/psp && cp peldet peldet% /mnt/psp/psp/game/ && umount /mnt/psp |
I'm not exactly sure if it works, I'll have to try it tonight on cygwin. danzel posted this on the forums a while ago.
So you type in "make kxploit", then type in "make install". |
|
| Back to top |
|
 |
Oobles Site Admin
Joined: 17 Jan 2004 Posts: 362 Location: Melbourne, Australia
|
Posted: Thu Mar 30, 2006 8:48 am Post subject: |
|
|
If you're using PSPLink then you should use a USB cable and get the host file system working. I have the host filesystem directed at my current projects executable directory. A session in psplink becomes 'exec EBOOT.PBP' and then 'reset'.. code.. compile.. repeat. :)
Hope that helps.
David. aka Oobles. |
|
| Back to top |
|
 |
Gary13579
Joined: 15 Aug 2005 Posts: 93
|
Posted: Sat Apr 01, 2006 6:22 am Post subject: |
|
|
| Oobles wrote: | If you're using PSPLink then you should use a USB cable and get the host file system working. I have the host filesystem directed at my current projects executable directory. A session in psplink becomes 'exec EBOOT.PBP' and then 'reset'.. code.. compile.. repeat. :)
Hope that helps.
David. aka Oobles. |
Others in the pspdev IRC channel have suggested this, but I lost the link. I've searched the forums a bit and can't find a tutorial. Got a link to one?
I'm using Cygwin, btw. I've heard it's a bit iffy. |
|
| Back to top |
|
 |
|