PSX-SCENE Forum Discussion for Sony PlayStation/PsOne/PS2/PS3/PSP/PS VITA
  • PlayStation File System Libraries Released - Add NTFS Support to your Homebrew

    After months of false rumors and other speculation, NTFS support has finally arrived on the PS3. An anonymous developer over at PS3-Hacks, has released a file system library which allows other developers to add NTFS support to their homebrew programs. This might mean we'll see Rogero, multiMAN, or one of the other managers with NTFS support soon.

    Attachment 909


    Download: pfsm-0.1.0.rar (1.39 MB)


    I’m out of town leaving me PS3-less, so I’m unable to test this… This being a library, PlayStation File System Libraries — libpfsm, that you can use when building your homebrew projects, i.e.) Gaia Manager. And the Gaia Manager source is included and comes pre-modified as an example adding NTFS (libpfsm) support. You just need to build it now and I’m sure someone’ll do that real soon.

    What does PlayStation File System Libraries feature?

    * Support for multiple simultaneously connected devices.
    * Hot swapping of devices.
    * Support for multiple partitions (with different FS).
    * NTFS support
    o Alternate data streams
    o Sparse files
    o File compression
    o B+ trees directory
    * FAT support
    o FAT12, FAT16, FAT32
    o Long file names (VFAT)

    Writing to NTFS formatted volumes is not supported and not planned.

    Check the README for everything else.

    Readme:

    ================================================== ==============================
    Playstation File System libraries README
    ================================================== ==============================

    == Introduction ==

    Playstation File System is a set of libraries designed primarily to support new
    filesystems. The main aim was to provide support for reading NTFS from Sony PS3
    GameOS. At this moment writing is not supported and is not currently planned.

    Supported features:
    * Support for multiple simultaneously connected devices.
    * Hot swapping of devices.
    * Support for multiple partitions (with different FS).
    * NTFS support
    - Alternate data streams
    - Sparse files
    - File compression
    - B+ trees directory
    * FAT support
    - FAT12, FAT16, FAT32
    - Long file names (VFAT)

    Limitations:
    * Userland Mass Storage device driver is tested on a small set of devices.
    * Concurrent access to files on one disc is not supported.
    * It supports only the ASCII subset of Unicode (UTF-16).
    * Read only access.

    Libraries:
    * libpmsd.a (Playstation Mass Storage Driver)
    - A simple userland driver for reading sectors from USB Mass Storage.
    * libpfs.a (Playstation File System)
    - File system drivers NTFS and FAT.
    * libpfsm.a (Playstation File System Manager)
    - Exported functions are in 'libpfsm.h'.
    - Responsible for hot swapping, managing partitions and mounting the FS.

    == Building ==

    If you want to use these libraries in your project, you must add to the
    Makefile the following lines:

    PPU_LIBS += libpmsd.a libpfs.a libpfsm.a
    PPU_LDLIBS += -lusbd_stub

    A source code must include the header file with FS Manager interface:

    #include "libpfsm.h"

    == Usage ==

    int32_t PfsmInit(int32_t max_volumes);
    void PfsmUninit(void);

    The FS Manager must first be initialized with 'PfsmInit'. Maximum possible
    connected devices/volumes is set by `max_volumes`. It is suitable to call the
    'PfsmUninit' before you quit.

    int32_t PfsmDevAdd(uint16_t vid, uint16_t pid, PFSM_DEVICE *dev);
    int32_t PfsmDevDel(PFSM_DEVICE *dev);

    All supported devices must be registered with the function 'PfsmDevAdd'. The USB
    device is identified by Vendor ID (`vid`) a ProductID (`pid`). If the devices is
    no longer needed it can be unregistered with 'PfsmDevDel'.

    int32_t PfsmVolStat(int32_t vol_id);

    The application can monitor the newly added/removed devices using 'PfsmVolStat'.
    The parameter `vol_id` must be between 0 and `max_volumes`-1.

    PFS_HFILE PfsFileOpen(const char *path);
    PFS_HFIND PfsFileFindFirst(const char *path, PFS_FIND_DATA *find_data);
    ...

    Standard functions for access to the files is similar to the Win32 API. The file
    `path` is in the form of '/pvd_usbXXX/DIR/FILE' where XXX represents `vol_id`.

    == Sample: GaiaManager ==

    For reference implementations was used open source GaiaManager. This solution
    extends GaiaManager to connect one device with NTFS or FAT file system. When the
    connection is successful, this device is shown as a 'usb10'. Backups in 'BDRIPS'
    directory can then be copied in a standard way to internal disk.

    Attached sample file 'usbdevs.cfg' with tested devices must be placed in a folder
    on the PS3, where is installed GaiaManager ('/dev_hdd0/game/GAIA01985').

    If you want to use your own USB disk, you must add another line to 'usbdevs.cfg'.
    File 'usbdevs.cfg' lists the device's IDs separated by a newline in the following
    format:

    VID:PID
    VID:PID
    ...

    VID and PID are hexadecimal numbers that identify the USB device. Linux users can
    obtain this identification number using lsusb utility. Transcend StoreJet disk is
    displayed as:

    lsusb:
    Bus 002 Device 011: ID 152d:2329 JMicron Technology Corp. / JMicron USA Tech...

    Windows users can use one of these utilities:
    - http://www.ftdichip.com/Support/Utilities/usbview.zip
    - http://www.nirsoft.net/utils/usbdeview.zip
    - http://www.nirsoft.net/utils/usbdeview-x64.zip

    USBDeview:
    ...
    Description | StoreJet Transcend
    Device Type | Mass Storage
    ...
    VendorID | 152d (VID)
    ProductID | 2329 (PID)
    ...


    Compiling for CFW/MFW without dongle (not tested):

    make clean
    make

    Compiling for older OFW with a dongle (tested only 3.41):

    make -f Makefile.dongle clean
    make -f Makefile.dongle

    Precompiled package for FW 3.41 (with PSGroove) is included:
    UP0001-GAIA01985_00-7679866932773369.pkg

    == Compatible devices ==

    USB Mass Storage driver has been tested with the following devices:

    - 0x090c:0x1000
    Corsair Flash Voyager (2GB)
    - 0x0951:0x1602
    Kingston DataTravelerMini (1GB)
    - 0x13fe:0x1d00
    Kingston DataTraveler 2.0 1GB/4GB Flash Drive (1GB)
    - 0x152d:0x2329
    JMicron StoreJet Transcend (320GB)
    http://ec.transcendusa.com/product/I...ID=TS320GSJ25M

    == TODO ==

    Support for a wider range of USB Mass Storage devices.

    Support for other file systems. (e.g. Ext2/3)

    Support for concurrent access to files.

    Proper Unicode (UTF-16) support.
    Source: PS3-Hacks
    Comments 52 Comments
    1. aihooo4444's Avatar
      aihooo4444 -
      i am finally first and this is awesome
    1. MoNkEyShLuT's Avatar
      MoNkEyShLuT -
      Why do people always write "First"? It's retarded.

      You don't win a prize you just look like a tool.
    1. siscan's Avatar
      siscan -
      ill give it a day for deanr to add this in.
    1. FernandoLuis's Avatar
      FernandoLuis -
      I suggest that you guys at psgroove ,that whenever a new article is posted you guys should post "First".I hate when people go like "First,yes,finally,this is great!" as if they were getting prize or something.
    1. mytsoutsou-PSG's Avatar
      mytsoutsou-PSG -
      Now we need matroska playback and PS3 will be the most awesome device in the face of the earth
    1. Rage-PSG's Avatar
      Rage-PSG -
      Quote Originally Posted by FernandoLuis View Post
      I suggest that you guys at psgroove ,that whenever a new article is posted you guys should post "First".I hate when people go like "First,yes,finally,this is great!" as if they were getting prize or something.
      Its because their ego gets a ****ing orgasm.
    1. bob19201's Avatar
      bob19201 -
      Yeah this awesome! Hopefully they can incorporate it into the ps3 itself so that it can work under the xmb? That way we can watch our blu-ray backups unhindered by the fat32 limitations[Iron Man 2 is split into like 4 files xD]. Either way, this is a good step forward and yeah, a mkv or general media player really, would be awesome.
    1. aihooo4444's Avatar
      aihooo4444 -
      Quote Originally Posted by FernandoLuis View Post
      I suggest that you guys at psgroove ,that whenever a new article is posted you guys should post "First".I hate when people go like "First,yes,finally,this is great!" as if they were getting prize or something.
      the this is awesome part was about the lib ntfs file not the first and i just said first b/c know one eles did and they all ways do it was just funny to me
    1. still1's Avatar
      still1 -
      "Support for multiple partitions (with different FS)"

      i was looking for this since i have a a HDD and i want to partition as FAT32 for PS3 and other as NTFS for all the other data(more than 4 gb files)
      cool... hopefully i see this in all the file managers
    1. Kaboda's Avatar
      Kaboda -
      FTPing to my PS3 takes ages. I'll probably end up storing all my stuff to an external hard disk once this comes out.

      Keep up the good work!
    1. Groovey's Avatar
      Groovey -
      Very nice! Now how about that vlc like media player?
    1. Thorn's Avatar
      Thorn -
      i cant wait till i get ntfs support then i dont need to figure out how to format a whole ExHDD into Fat32
    1. ch13696's Avatar
      ch13696 -
      Wow, this is pretty nice. My external HDD is currently on FAT32. So once this is out, is there a way to turn it into NTFS without formatting the whole thing? I don't want to lose my backups.
    1. gamer2020's Avatar
      gamer2020 -
      Quote Originally Posted by MoNkEyShLuT View Post
      Why do people always write "First"? It's retarded.

      You don't win a prize you just look like a tool.
      its better than turkish getting first post!
    1. x3angel-PSG's Avatar
      x3angel-PSG -
    1. RazorX's Avatar
      RazorX -
      this is a great step forward especially with whats going on, i thought things would cool down for a while since sony is on a rampage lol
    1. blazie151's Avatar
      blazie151 -
      "Writing to NTFS formatted volumes is not supported and not planned"

      That sucks... So if your a pirate and you download games from the net, and never back up your own games (or have a blu ray on your pc and back up from there), this helps you. If you only back up your own games, then you still need to either ftp em to your computer to place them on the external hard drive, or have a second one in fat32 format for transfering to your computer.

      I was really hoping for direct backup to ntfs external support; but hey, one step at a time I guess.
    1. gamer2020's Avatar
      gamer2020 -
      so does this mean we would be able to run backups with larger than 4gig files off the external hdd?
    1. vSaAmTp-PSG's Avatar
      vSaAmTp-PSG -
      Great... And next? Driver for the 360 Controller...
    1. Nephariouz's Avatar
      Nephariouz -
      Quote Originally Posted by vSaAmTp View Post
      Great... And next? Driver for the 360 Controller...
      I wish. Unfortunately the 360 controller uses RF and the PS3 uses Bluetooth, so I think its safe to say its never going to happen!
  • Daily Digest


    Want to receive the latest PSX info in your email?

    Sign up for our Daily Digest!



    Want to learn more about the team keeping you up to date with the latest scene news?

    Read about them now!

    Check out our Developer bios, too!

  • Recent Threads

    pelvicthrustman

    PS2 Controller Remapper

    Thread Starter: pelvicthrustman


    PS2 Controller Remapper




    PS2 Controller Remapper is a tool designed to arbitrarily remap a PS2 game's controls

    Last Post By: pelvicthrustman Today, 10:05 PM Go to last post
    lordsnipe

    Free MC Boot 1.8b - 75004 PAL - Black Screen

    Thread Starter: lordsnipe

    Hi all,

    I'm new to this Free MC Boot, but have come across an issue that hopefully someone can help out with.

    I have two PS2s

    Last Post By: lordsnipe Today, 09:33 PM Go to last post
    DaBOSS54320

    Tutorial for using E3 flasher without limited edition.

    Thread Starter: DaBOSS54320

    I have necessary items to use the flasher, however tutorials i found used the limited edition, with the station thing you put your hard drive into. i

    Last Post By: DaBOSS54320 Today, 08:09 PM Go to last post
    DSAPSX

    Backwards compatibility for Xbox One is a waste?

    Thread Starter: DSAPSX

    I don't understand the choice of words that Microsoft used regarding backwards compatibility. I understand what they are saying but doesn't it just seem

    Last Post By: tthousand Today, 08:30 PM Go to last post
    ANTZ7

    my ps3 is sort of stuck on bluescreen

    Thread Starter: ANTZ7

    i bought a ps3 that when turned on just shows blue screen on both hdmi/scart

    so took it apart and installed e3 flasher did all the usual

    Last Post By: ANTZ7 Today, 09:20 PM Go to last post
    Villsson

    Problems with multiman 4.40

    Thread Starter: Villsson

    Hello everybody.

    First of all SORRY MY BAD ENGLISH!

    And second: I don't know is this the right place for this.

    Last Post By: Villsson Today, 06:19 PM Go to last post
  • Recent Comments

    condorstrike

    {Guide} Install multiMAN Themes via a PKG File

    ic :), also that's the reason I never used Eboots on these types of Pkgs, there's no need for it. ;) Go to last post

    condorstrike Today 09:58 PM
    doctorwho05

    In Depth Review/Comparison Of OEM Cooling Fans

    That would be awesome, new custom case, new heatsink maybe trick out with LEDs Go to last post

    doctorwho05 Today 09:17 PM
    STLcardsWS

    {Guide} Install multiMAN Themes via a PKG File

    condorstrike.

    There is nothing new about this. Sometime its good for a refresher or good for... Go to last post

    STLcardsWS Today 08:13 PM
    Jay-Jay

    {Guide} Install multiMAN Themes via a PKG File

    @condostrike, perhaps because you are way ahead of everyone else, they are barely getting to that... Go to last post

    Jay-Jay Today 07:51 PM
    condorstrike

    {Guide} Install multiMAN Themes via a PKG File

    I don't get this, what's new about it?, theme Pkgs have been around since i used to make them, and... Go to last post

    condorstrike Today 07:39 PM
    jamile131

    {Guide} Install multiMAN Themes via a PKG File

    Thank you all'm from Brazil, so I got to thank accompany the forum awhile sorry my English... Go to last post

    jamile131 Today 06:39 PM
    makaveli07

    PSChannel v1.10 Released - Added Language Support

    Hey guys im on Rogero 4.40 V1.3 and i was wondering if anyone can help me out i keep getting... Go to last post

    makaveli07 Today 04:15 PM
    BahumatLord

    Sony's Testing a Better, Faster Video Streaming Technology.

    I never said they should do it for free. I said they should either use newer movies for the test... Go to last post

    BahumatLord Today 02:49 PM
    barelynotlegal

    {Guide} How to make themes for multiMAN

    cant wait to have some time to try. essentially we could mix n match themes and icons? Go to last post

    barelynotlegal Today 02:28 PM
    krytonic

    Sony's Testing a Better, Faster Video Streaming Technology.

    I have to say that his entire point stands. It's not free on Comedy Central and you can't just turn... Go to last post

    krytonic Today 10:25 AM