PS3 Exfat Support

for those eager to try it, see here for a !TEST! release https://github.com/lmirel/fm_psx/releases/download/v0.3.0/fm_psx_v0.3.0.pkg
main functions are tested working. copy to/from Ex/FAT to PS3 storage including delete/rename - PLEASE BE EXTRA CAREFUL WITH THESE as you could break you system if you rename/delete critical system files! I didn't implement any sanity checks on critical parts of the system.

known limitation: can't copy from FAT drive to other FAT drive

usage:
  • L1 and R1 change active/current panel to left(L1) or right(R1)
  • cross and circle, right and left used to navigate in and out of directories
  • up and down scroll current selection
  • rectangle for copy of files/dirs
  • triangle for delete of copy/dirs
  • START rename file/dir
  • SELECT create dir
!BE EXTRA CAREFUL WITH SYSTEM FILES/DIRS!
USE AT YOUR OWN RISK!
 
Last edited:
for those eager to try it, see here for a !TEST! release https://github.com/lmirel/fm_psx/releases/download/v0.3.0/fm_psx_v0.3.0.pkg
main functions are tested working. copy to/from Ex/FAT to PS3 storage including delete/rename - PLEASE BE EXTRA CAREFUL WITH THESE as you could break you system if you rename/delete critical system files! I didn't implement any sanity checks on critical parts of the system.

known limitation: can't copy from FAT drive to other FAT drive

usage:
  • L1 and R1 change active/current panel to left(L1) or right(R1)
  • cross and circle, right and left used to navigate in and out of directories
  • up and down scroll current selection
  • rectangle for copy of files/dirs
  • triangle for delete of copy/dirs
  • START rename file/dir
  • SELECT create dir
!BE EXTRA CAREFUL WITH SYSTEM FILES/DIRS!
USE AT YOUR OWN RISK!

Good job @tps It would be cool if you could help to include this library into webMAN MOD or IRISMAN.
https://github.com/aldostools/webMAN-MOD/blob/master/include/file_manager.h#L493
https://github.com/aldostools/IRISMAN/blob/master/source/file_manager.c#L1372
 

I use IRISMAN and I might give it a try, eventually replacing its own file manager, if that's fine with you. I might need to integrate NTFS support first, we'll see afterwards about mounting games straight from the ExFAT drive.

webMAN is creating overheating symptoms on my PS3s and can't use it.
 

wish granted: https://github.com/lmirel/fm_psx/releases/tag/v0.4.0
it was quite easy after I refactored the app to be used as a lib, so I replaced your file manager with mine easily https://github.com/lmirel/IRISMAN/commit/b1baab958f57ff1a7a277f611d978c584bd499d6
of course mine is not supporting all the features in your original file manager but it shows how easy it is if you use the right approach ;-)
btw, I had to use v4.85 because the latest version shows a black screen after initialization.. (I think a similar issue was already reported)
 
Last edited:
wish granted: https://github.com/lmirel/fm_psx/releases/tag/v0.4.0
it was quite easy after I refactored the app to be used as a lib, so I replaced your file manager with mine easily https://github.com/lmirel/IRISMAN/commit/b1baab958f57ff1a7a277f611d978c584bd499d6
of course mine is not supporting all the features in your original file manager but it shows how easy it is if you use the right approach ;-)
btw, I had to use v4.85 because the latest version shows a black screen after initialization.. (I think a similar issue was already reported)

Thank you for your time and interest! Good job as usual!

I integrated your exFAT Manager in a different way. It's accessed from the root menu of the file manager.
I changed a few buttons to work more like IRISMAN (left/right now are used to switch panels). R3 returns to File Manager.
Also removed the prompt to quit the manager.

I disabled START / SELECT because the New Folder and Rename features were not working.

I noticed that navigating to some empty folders freeze the application, but I couldn't find the cause of the error.

Download Link:
https://www.mediafire.com/file/kubn9q6kbije5i7/IRISMAN_4.86.1.pkg/file

EDIT: Fixed the functions New Folder and Rename (SELECT / START)

The source code of Sfm with the changes
https://github.com/aldostools/IRISMAN/tree/master/fm_exFAT
 
Last edited:
v0.5.0 adds NTFS support for file/dir operations
https://github.com/lmirel/fm_psx/releases/tag/v0.5.0

can't unmount the drive on the fly yet due to some issue I'm looking into
Are you going to split the EXT3 support ?

Im asking because there was a point in the NTFS driver development where it was added EXT3 filesystem support too. I mean... both NTFS and EXT3 filesystems together in the same driver
The reason to do that is because estwald realized in the way he was implementing them they was going to share a lot of the code
So instead of doing 2 separate drivers with duplicated parts of code he decided to do a "all in one" with NTFS+EXT3 together

Im wondering if you are planning to rebuild that, actually from this point there seems to be 3 unnofficial filesytem drivers, in order of apparence... NTFS, EXT3, and exFAT, so there are several ways to rebuild them
-The "all-in-one" approach
-Separated libraries for each
-Keep the NTFS+EXT3 together... then your exFAT separated
-Etc...
 
v0.5.0 adds NTFS support for file/dir operations
https://github.com/lmirel/fm_psx/releases/tag/v0.5.0

can't unmount the drive on the fly yet due to some issue I'm looking into

For some reason 0.5.0 doesn't recognize my pendrive (NTFS), but IRISMAN's file manager (not your addon) recognizes it.

I've attached your code with my updates and labeled it as 0.5.1 if you want to merge them.
 

Attachments

Are you going to split the EXT3 support ?

Im asking because there was a point in the NTFS driver development where it was added EXT3 filesystem support too. I mean... both NTFS and EXT3 filesystems together in the same driver
The reason to do that is because estwald realized in the way he was implementing them they was going to share a lot of the code
So instead of doing 2 separate drivers with duplicated parts of code he decided to do a "all in one" with NTFS+EXT3 together

Im wondering if you are planning to rebuild that, actually from this point there seems to be 3 unnofficial filesytem drivers, in order of apparence... NTFS, EXT3, and exFAT, so there are several ways to rebuild them
-The "all-in-one" approach
-Separated libraries for each
-Keep the NTFS+EXT3 together... then your exFAT separated
-Etc...

since NTFS and EXT3 share the same APIs (I assume - I need to check) then it won't be a problem to enable both. in any case, the addition of EXT3 should be as easy as NTFS at least, due to the way the app is written.
for maintenance reasons it is best to keep these separate (NTFS+EXT3 in one lib, FAT/ExFAT in another).
 
For some reason 0.5.0 doesn't recognize my pendrive (NTFS), but IRISMAN's file manager (not your addon) recognizes it.

I've attached your code with my updates and labeled it as 0.5.1 if you want to merge them.

thanks for the update. I will include it for sure - it would be simpler to follow if you'd push your changes in git for IRISMAN as I can pick them up easily. thanks again
 
For some reason 0.5.0 doesn't recognize my pendrive (NTFS), but IRISMAN's file manager (not your addon) recognizes it.

I've attached your code with my updates and labeled it as 0.5.1 if you want to merge them.

I've already pushed v0.5.1 to solve the ntfs unmount issue. as soon as I identify the fix you did for your pen drive I'll bump it accordingly.
I have no issues using my ntfs usb drive.
 
I've already pushed v0.5.1 to solve the ntfs unmount issue. as soon as I identify the fix you did for your pen drive I'll bump it accordingly.
I have no issues using my ntfs usb drive.
I want to clarify that the changes that I made did NOT fix the access my pendrive (ntfs). pendrive (exFAT) works properly.

The changes that I made to ntfs code were trying to make it work without success.
 
I want to clarify that the changes that I made did NOT fix the access my pendrive (ntfs). pendrive (exFAT) works properly.

The changes that I made to ntfs code were trying to make it work without success.

thanks for clarification. you've made quite a few changes and I was wondering what was the fix as none of the changes seem to do it :-)=
anyway, there's a known limitation on my side that only the first partition would get mounted on a drive. my simple file manager doesn't handle multiple partitions yet..
 
I want to clarify that the changes that I made did NOT fix the access my pendrive (ntfs). pendrive (exFAT) works properly.

The changes that I made to ntfs code were trying to make it work without success.

how many USB devices do you have connected to your PS3? can you try with just the NTFS pen drive only?
 
how many USB devices do you have connected to your PS3? can you try with just the NTFS pen drive only?

I connected only 1 pendrive (ntfs). I tried to start the application with the pendrive already connected.
Also tried starting the application without any usb device, then attaching the pendrive (ntfs).

The pendrive (exFAT) works flawless in 0.5.0.


read my post below.
 
Last edited:
@tps I compiled your new commit 0.5.1 and now the pendrive (NTFS) is detected.if I insert it on USB001. It isn't detected on USB000.
It works starting the application with the pendrive inserted and inserting it after the application is running.

However, the detection of exFAT now is broken. If I start the application with the pendrive (exFAT) connected, it is detected in both ports.
But if I insert the pendrive (exFAT) when the application is running, it is not detected.

If I start the application with 2 pendrives (exFAT in usb0 and NTFS in usb1), only the first pendrive (exFAT) is detected.
If I eject the pendrive (exFAT), the pendrive (NTFS) appears.
 
@tps I compiled your new commit 0.5.1 and now the pendrive (NTFS) is detected.if I insert it on USB001. It isn't detected on USB000.
It works starting the application with the pendrive inserted and inserting it after the application is running.

However, the detection of exFAT now is broken. If I start the application with the pendrive (exFAT) connected, it is detected in both ports.
But if I insert the pendrive (exFAT) when the application is running, it is not detected.

If I start the application with 2 pendrives (exFAT in usb0 and NTFS in usb1), only the first pendrive (exFAT) is detected.
If I eject the pendrive (exFAT), the pendrive (NTFS) appears.

thanks for the detailed feedback. I'll investigate as I've seen some weird behavior depending on the USB port..


Sent from my iPhone using Tapatalk
 
thanks for the detailed feedback. I'll investigate as I've seen some weird behavior depending on the USB port..


Sent from my iPhone using Tapatalk

I have fixed the issues with NTFS. Now it mounts and unmounts properly on any USB port.
Also it allows to mount NTFS and exFAT/FAT32 drives simultaneously.
https://github.com/aldostools/IRISMAN/commit/eb95a8a03bcefd8dd5889698c8a2f4afb77dfdb1
Note: it's still labeled 0.5.1. I attached a standalone version if you want to try it.

Source Code: https://github.com/aldostools/IRISMAN/tree/master/fm_exFAT

Since it's a library dependency, it's included as a sub-project of IRISMAN ;)
 

Attachments

I have fixed the issues with NTFS. Now it mounts and unmounts properly on any USB port.
Also it allows to mount NTFS and exFAT/FAT32 drives simultaneously.
https://github.com/aldostools/IRISMAN/commit/eb95a8a03bcefd8dd5889698c8a2f4afb77dfdb1
Note: it's still labeled 0.5.1. I attached a standalone version if you want to try it.

Source Code: https://github.com/aldostools/IRISMAN/tree/master/fm_exFAT

Since it's a library dependency, it's included as a sub-project of IRISMAN ;)

thanks. I understand your workaround but I think I found the issue, see https://github.com/lmirel/fm_psx/commit/de7450a15d67d71424f087cbc0b8f243e72304db
for ntfs/ext3, the drive IDs are stored in the lib and managed locally so the drive index is meaningful (0..7) whereas for ExFAT it isn't since the mapping (drive ID and index) is done upon attach.

v0.5.2 is up and behaves as it should https://github.com/lmirel/fm_psx/releases/tag/v0.5.2
 

Similar threads

Back
Top