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 

[SOLVED]File manager open source?

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



Joined: 21 Feb 2008
Posts: 386

PostPosted: Mon Mar 24, 2008 6:51 am    Post subject: [SOLVED]File manager open source? Reply with quote

Excuse me,
i'm writing a file manager, but i don't know some function, there are a File Manager open source? Or a programm that show the current file in a directory and you can select one of them!
I've try too much but all the function will be slow


Last edited by ne0h on Wed Mar 26, 2008 12:19 am; edited 1 time in total
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Mar 24, 2008 7:17 am    Post subject: Reply with quote

The PSP can use posix functions. There are also sce functions as well. There's plenty of source code out there that uses both. For example, Doom for the PSP has a file requester that fetches all the files and directories in a particular directory and displays them. You can then select a file, or navigate into another directory. You'll find all the file requester code in the reqfile.c file. It uses some functions for printing that are in psp_main.c as well.

http://groups.google.com/group/chilly-willys-ice-flow/web/psp-doom-v1.4.zip?hl=en

There are many other programs with source you can look at as well. Just try some programs and see if you like their file requester, then check out the code.
Back to top
View user's profile Send private message AIM Address
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Mon Mar 24, 2008 9:29 pm    Post subject: Reply with quote

I'haven't resolved! :(

Can anyone give me another example?
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Tue Mar 25, 2008 1:28 am    Post subject: Reply with quote

Please..
Back to top
View user's profile Send private message
fungos



Joined: 31 Oct 2007
Posts: 41
Location: cwb br

PostPosted: Tue Mar 25, 2008 2:34 am    Post subject: PhysicsFS Reply with quote

http://icculus.org/physfs/
Back to top
View user's profile Send private message Visit poster's website
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Tue Mar 25, 2008 3:00 am    Post subject: Reply with quote

???
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Tue Mar 25, 2008 3:54 am    Post subject: Reply with quote

ne0h wrote:
I'haven't resolved! :(

Can anyone give me another example?


There's plenty of open source programs for the PSP out there. Now is the time when you do RESEARCH and collect the info YOURSELF. Then you do your own code, and if you have a problem with something specific, THEN we help some more. We aren't here to teach you the basics, and simple file lists are pretty basic.
Back to top
View user's profile Send private message AIM Address
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Tue Mar 25, 2008 5:00 am    Post subject: Re: File manager open source? Reply with quote

ne0h wrote:
Excuse me,
i'm writing a file manager, but i don't know some function, there are a File Manager open source? Or a programm that show the current file in a directory and you can select one of them!
I've try too much but all the function will be slow


Nanodesktop has 2 open source file managers ready for you.
So, you could download Nanodesktop source code and you'll
find the informations that you need.

I've a propose for you. If you write a good file manager, I'd
incorporate it in the next version of nd. What do you think about ?


Last edited by pegasus2000 on Tue Mar 25, 2008 5:03 am; edited 1 time in total
Back to top
View user's profile Send private message
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Tue Mar 25, 2008 5:01 am    Post subject: Re: File manager open source? Reply with quote

I've post two time the same message. Sorry.
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Wed Mar 26, 2008 12:18 am    Post subject: Reply with quote

Thanks, but i've just writed a my function, so i don't need any src...
Probably i've don't understand the question, Nanodesktop is not a "compiler"?
You wan't the source of my File Manager?
Back to top
View user's profile Send private message
pegasus2000



Joined: 12 Jul 2006
Posts: 160

PostPosted: Wed Mar 26, 2008 1:19 am    Post subject: Reply with quote

ne0h wrote:
Thanks, but i've just writed a my function, so i don't need any src...
Probably i've don't understand the question, Nanodesktop is not a "compiler"?
You wan't the source of my File Manager?


Nanodesktop is a free library. Internally, it provides different
functions and, of course, some file managers.

The actual nd has already 2 file managers that are working, but
the API allows the adding of new file managers, at condition that
these are compliant with some specifications.

So, if you like about it, we could integrate the code of your file
manager in nd source code. So, all nd applications can utilize
your file manager internally.
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Wed Mar 26, 2008 1:41 am    Post subject: Reply with quote

Maybe in the next relase, i'm learning programming...

Excuse me for my english!
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