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 

Makefile question

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



Joined: 25 Apr 2005
Posts: 95

PostPosted: Thu Mar 30, 2006 3:47 am    Post subject: Makefile question Reply with quote

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
View user's profile Send private message
Drakonite
Site Admin


Joined: 17 Jan 2004
Posts: 989

PostPosted: Thu Mar 30, 2006 5:30 am    Post subject: Reply with quote

You should really look into psplink for dev
_________________
Shoot Pixels Not People!
Makeshift Development
Back to top
View user's profile Send private message Visit poster's website
Shapyi



Joined: 25 Apr 2005
Posts: 95

PostPosted: Thu Mar 30, 2006 5:40 am    Post subject: Reply with quote

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
View user's profile Send private message
Gary13579



Joined: 15 Aug 2005
Posts: 93

PostPosted: Thu Mar 30, 2006 6:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Oobles
Site Admin


Joined: 17 Jan 2004
Posts: 362
Location: Melbourne, Australia

PostPosted: Thu Mar 30, 2006 8:48 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Gary13579



Joined: 15 Aug 2005
Posts: 93

PostPosted: Sat Apr 01, 2006 6:22 am    Post subject: Reply with quote

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