| View previous topic :: View next topic |
| Author |
Message |
phobox
Joined: 24 Mar 2008 Posts: 140
|
Posted: Sun Oct 12, 2008 5:14 am Post subject: iso [NOT GAMES] mount in RDWR mode |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sun Oct 12, 2008 6:02 am Post subject: |
|
|
| That's easy! Write your own filesystem. :P |
|
| Back to top |
|
 |
phobox
Joined: 24 Mar 2008 Posts: 140
|
Posted: Sun Oct 12, 2008 6:15 am Post subject: |
|
|
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 |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sun Oct 12, 2008 7:10 am Post subject: |
|
|
| 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 |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sun Oct 12, 2008 11:40 am Post subject: |
|
|
| 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 |
|
 |
Dariusc123456
Joined: 12 Aug 2008 Posts: 394
|
Posted: Sun Oct 12, 2008 11:48 am Post subject: |
|
|
| 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 |
|
 |
Onii
Joined: 05 Oct 2008 Posts: 40
|
Posted: Sun Oct 12, 2008 12:02 pm Post subject: |
|
|
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 |
|
 |
Torch

Joined: 28 May 2008 Posts: 842
|
Posted: Sun Oct 12, 2008 12:38 pm Post subject: |
|
|
| For read-only, I assume it will be visible as disc0: if you mount it using the m33 sdk functions. |
|
| Back to top |
|
 |
sauron_le_noir
Joined: 05 Jul 2008 Posts: 229
|
Posted: Mon Oct 13, 2008 12:27 am Post subject: |
|
|
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 |
|
 |
|