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 

iso [NOT GAMES] mount in RDWR mode

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



Joined: 24 Mar 2008
Posts: 140

PostPosted: Sun Oct 12, 2008 5:14 am    Post subject: iso [NOT GAMES] mount in RDWR mode Reply with quote

hi,
i wanted to know if it possile to mount an iso file to a filesystem like "isofile:/" and set read and write permissions in order to access the contents of that iso...

i thought i can use m33 sdk in order to mount an iso/cso but then? how to set read and WRITE?
_________________
Ciao! from Italy
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Oct 12, 2008 6:02 am    Post subject: Reply with quote

That's easy! Write your own filesystem. :P
Back to top
View user's profile Send private message AIM Address
phobox



Joined: 24 Mar 2008
Posts: 140

PostPosted: Sun Oct 12, 2008 6:15 am    Post subject: Reply with quote

J.F. wrote:
That's easy!

oh sure!

Seriously...
Can you give me an hint or something to start with? iso mounting on pc is possible is it the same on psps?
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Sun Oct 12, 2008 7:10 am    Post subject: Reply with quote

ISOs are pretty much read-only. That's why you have to get special programs that have writing in the app to write to ISOs (in Windows, for example, ISO Master or ISO Buster). I don't expect the PSP to even have the ability to write ISO format, just read it. You're lucky the PSP has the ability to write to FAT. :)
Back to top
View user's profile Send private message AIM Address
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sun Oct 12, 2008 11:40 am    Post subject: Reply with quote

Even if you wrote a filesystem layer, the structure of an ISO requires it to be recreated from scratch if you add a file or something.
Back to top
View user's profile Send private message
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Sun Oct 12, 2008 11:48 am    Post subject: Reply with quote

Not even a cso(compress iso) can we rewritten without rewritting the file structure. I not sure if I said that right, but the point is that you cant just make a code to write an a iso file in homebrew, its hard if you dont have the proper source file to get you started with.
Back to top
View user's profile Send private message AIM Address
Onii



Joined: 05 Oct 2008
Posts: 40

PostPosted: Sun Oct 12, 2008 12:02 pm    Post subject: Reply with quote

I doubt you'll find anything pre-built to do this. ISO 9660 was designed with read-only in mind.

But if you're serious about it and want to "roll your own" first two links in the "External Links" section of the ISO 9660 wikipedia entry (http://en.wikipedia.org/wiki/ISO_9660) are pretty informative. The first being the spec for ISO 9660: 1988 and the second is the 1999 update thereto.

As far as having the PSP see it in Read only mode as isofile: some of the more experienced PSP guys will have to comment on that. I imagine it would not be trivial.
Back to top
View user's profile Send private message
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Sun Oct 12, 2008 12:38 pm    Post subject: Reply with quote

For read-only, I assume it will be visible as disc0: if you mount it using the m33 sdk functions.
Back to top
View user's profile Send private message
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Mon Oct 13, 2008 12:27 am    Post subject: Reply with quote

More serious try to port the fuse framework to the psp
http://fuse.sourceforge.net/wiki/index.php/FuseIso

look at the source of the fuseio

http://sourceforge.net/project/showfiles.php?group_id=215002&package_id=259338&release_id=569596

in fuseio.c

you can directly use
static int isofs_open(const char *path, struct fuse_file_info *UNUSED(fi)) to open your iso
static int isofs_opendir(const char *path, struct fuse_file_info *UNUSED(fi)) to
enumerate the directies present on it etc ... etc .....

it's standard C. isofs.c contains all the bits a byte stuf to read a iso
a fuseio is just the interface that use the API provided by isofs.c so
have a look a fuseio and adapt it for psp;)
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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