0x8001000D error with Chstat or Remove!
0x8001000D error with Chstat or Remove!
Hi,
I'm trying to change the creation date of an ISO to modify the XMB position, but when I do some Chstat get always 0x8001000D!
The same thing if I try to delete it...
so 0x8001000D is file access denided, right?
How can I solve this problem? And why 0x8001* errors there's not in the SDK?
ne0h
I'm trying to change the creation date of an ISO to modify the XMB position, but when I do some Chstat get always 0x8001000D!
The same thing if I try to delete it...
so 0x8001000D is file access denided, right?
How can I solve this problem? And why 0x8001* errors there's not in the SDK?
ne0h
Get Xplora!
No, I've already take checked this! :(
The strange thing is that I've this error only with the first file in the "ISO" folder from a alphasorted list, and only with isos!
I'm working on a "Homebrew Sorter" to sort the XMB icons, for all the elements I get the icon and the name.
Can the problem be related to this things?
EDIT:
If I try to delete the file before running the homebrew sorter ( from the main file manager ) I doesn't get any error! The file is deleted immediately! :(
I've to investigate on the code, probably a non closed file descriptor or something else...
The strange thing is that I've this error only with the first file in the "ISO" folder from a alphasorted list, and only with isos!
I'm working on a "Homebrew Sorter" to sort the XMB icons, for all the elements I get the icon and the name.
Can the problem be related to this things?
EDIT:
If I try to delete the file before running the homebrew sorter ( from the main file manager ) I doesn't get any error! The file is deleted immediately! :(
I've to investigate on the code, probably a non closed file descriptor or something else...
Get Xplora!
Ok,
to get the file inside the ISOs I'm using sctrlSEMountUmdFromFile ( with NO-UMD ) to mount it as UMD and I get the files directly from disc0:, at the end, when I've read the image and the name I use sctrlSEUmountUmd to unmount the umd ( and close the iso file? )!
But this is the problem, if I doesn't use these functions ( and I doesn't get the name and the icon ) the file can be deleted with no one problem and Chstat works great!
Why? I've to do something else to close the file?
Sorry for my english
ne0h
to get the file inside the ISOs I'm using sctrlSEMountUmdFromFile ( with NO-UMD ) to mount it as UMD and I get the files directly from disc0:, at the end, when I've read the image and the name I use sctrlSEUmountUmd to unmount the umd ( and close the iso file? )!
But this is the problem, if I doesn't use these functions ( and I doesn't get the name and the icon ) the file can be deleted with no one problem and Chstat works great!
Why? I've to do something else to close the file?
Sorry for my english
ne0h
Get Xplora!
moonlight, I've see and thanks very much, but if is possible I'll make my programm run only on the 4.01 and highter firmware, but what I can do to resolve this problem?
Anyway if is difficult or impossible I can release my prog only for the last cfw
Anyway if is difficult or impossible I can release my prog only for the last cfw
Get Xplora!
moonlight, just updated, works perfectly!
Thanks very much!
EDIT:
moonlight, sorry but maybe I've found another bug! :(
When I launch the Homebrew sorter works all perfectly and the list is saved as well, but the last ISO mounted doesn't be unmounted, when I go in the UMD I can see the ISO, but sctrlSEUmountUmd is called and returns 0, why?
I've tried to launch 4.01 M33-2 from TM and I get the same "error".
The only difference is that in the 5.00 M33-4 I can do some sceChstat on the file ( but not delete it, if I try I got 0x8001000D) , instead on 4.01 I can't Chstat the file and delete it, but the last file remain mounted!
Anyway maybe the problem is in my code,
give me some time, I'll investigate on it!
Anyway thanks and excuse me for my terrible english...
EDIT AGAIN:
Ok, if I try to delete the file immediately after sctrlSEUmountUmd the file is deleted correctly, but...
... when I go to browse the UMD I can find a empty disc!
So the file is unmounted correctly ( returns 0 ) but is not unmounted from the UMD, I have the ISO mounted with no-umd!
( I've tried to dump the UMD and finally I've 2 ISOs of the same game! -.- )
Thanks
ne0h
Thanks very much!
EDIT:
moonlight, sorry but maybe I've found another bug! :(
When I launch the Homebrew sorter works all perfectly and the list is saved as well, but the last ISO mounted doesn't be unmounted, when I go in the UMD I can see the ISO, but sctrlSEUmountUmd is called and returns 0, why?
I've tried to launch 4.01 M33-2 from TM and I get the same "error".
The only difference is that in the 5.00 M33-4 I can do some sceChstat on the file ( but not delete it, if I try I got 0x8001000D) , instead on 4.01 I can't Chstat the file and delete it, but the last file remain mounted!
Anyway maybe the problem is in my code,
give me some time, I'll investigate on it!
Anyway thanks and excuse me for my terrible english...
EDIT AGAIN:
Ok, if I try to delete the file immediately after sctrlSEUmountUmd the file is deleted correctly, but...
... when I go to browse the UMD I can find a empty disc!
So the file is unmounted correctly ( returns 0 ) but is not unmounted from the UMD, I have the ISO mounted with no-umd!
( I've tried to dump the UMD and finally I've 2 ISOs of the same game! -.- )
Thanks
ne0h
Get Xplora!
Ok, for the first problem if found a solution ( for the unpached cfw ).
With this
I can close all fd, so I can Chstat the files on unpatched cfw.
Now, anyone know something like it but to reset the UMD Disc?
Or to reset UMD State...
With this
Code: Select all
sceIoDevctl("ms0:", 0x0240D81E, NULL, 0, NULL, 0 );
Now, anyone know something like it but to reset the UMD Disc?
Or to reset UMD State...
Get Xplora!