Editing Files on the PS3

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
[[Category:Software]]
= Files and storage on the PS3 =
= Files and storage on the PS3 =


Line 18: Line 19:
*dev_hdd1 (system cache: 2GB fixed size FAT32) // (SYS_DEV_HDD1)
*dev_hdd1 (system cache: 2GB fixed size FAT32) // (SYS_DEV_HDD1)
*dev_hdd2 (Connected to the Southbridge SB0ATA Port (used for BD Drive/ Sata->Pata Adapter)) // (SYS_DEV_HDD2)
*dev_hdd2 (Connected to the Southbridge SB0ATA Port (used for BD Drive/ Sata->Pata Adapter)) // (SYS_DEV_HDD2)
*dev_simple_hdd0


;Multicardreader (fat), (cfs):
;Multicardreader (fat), (cfs):
Line 35: Line 35:


;Hostdevices (hostfs):
;Hostdevices (hostfs):
*app_home (home directory) // (SYS_APP_HOME) // PSEUDOFS
*app_home (home directory) // (SYS_APP_HOME)
*host_root (absolute directory) // (SYS_HOST_ROOT)
*host_root (absolute directory) // (SYS_HOST_ROOT)


Line 44: Line 44:
;unknown yet:
;unknown yet:
* dev_SYSTEM
* dev_SYSTEM
* dev_MCA (used for [http://www.ps3devwiki.com/wiki/PlayStation_Card_Adapter memorycard adapter] )
* dev_MCA (mountpoint for [http://www.ps3devwiki.com/wiki/PlayStation_Card_Adapter memorycard adapter] )
* dummy_growfs_cfs
 
;archaic (CEB-1000/2000 series era):
* CELL_FS_PSEUDO
* CELL_FS_NETFS


=== from lv2diag.self ===
=== from lv2diag.self ===
tons of CELL_FS_* <!--// CELL_FS //--> references:
<pre>CELL_FS_UFS
<pre>CELL_FS_UFS
CELL_FS_ISO9660
CELL_FS_UDF
CELL_FS_FAT
CELL_FS_FAT
CELL_FS_SIMPLEFS
CELL_FS_IOS:USB_MASS_STORAGE005
CELL_FS_IOS:USB_MASS_STORAGE004
CELL_FS_IOS:USB_MASS_STORAGE003
CELL_FS_IOS:USB_MASS_STORAGE002
CELL_FS_IOS:USB_MASS_STORAGE001
CELL_FS_IOS:USB_MASS_STORAGE000
CELL_FS_IOS:MEMORY_STICK
CELL_FS_IOS:BUILTIN_FLASH
CELL_FS_IOS:BUILTIN_FLASH
CELL_FS_IOS:BUILTIN_FLASH
CELL_FS_IOS:BUILTIN_FLSH1
CELL_FS_IOS:USB_MASS_STORAGE
CELL_FS_IOS:BUILTIN_FLSH2
CELL_FS_IOS:PATA1_HDD_DRIVE
CELL_FS_IOS:BUILTIN_FLSH3
CELL_FS_IOS:USB_MASS_STORAGE
CELL_FS_IOS:BUILTIN_FLSH4
CELL_FS_IOS:USB_MASS_STORAGE005
CELL_FS_IOS:USB_MASS_STORAGE004
CELL_FS_IOS:USB_MASS_STORAGE003
CELL_FS_IOS:USB_MASS_STORAGE002
CELL_FS_IOS:USB_MASS_STORAGE001
CELL_FS_IOS:USB_MASS_STORAGE000
CELL_FS_IOS:SD_CARD
CELL_FS_IOS:COMPACT_FLASH
CELL_FS_IOS:COMPACT_FLASH
CELL_FS_IOS:MEMORY_STICK
CELL_FS_IOS:MEMORY_STICK
CELL_FS_IOS:BUILTIN_FLASH
CELL_FS_IOS:PATA1_BDVD_DRIVE
CELL_FS_IOS:PATA0_BDVD_DRIVE
CELL_FS_IOS:PATA0_BDVD_DRIVE
CELL_FS_IOS:PATA1_HDD_DRIVE
CELL_FS_IOS:PATA0_HDD_DRIVE
CELL_FS_IOS:PATA0_HDD_DRIVE
CELL_FS_IOS:BUILTIN_FLSH4
CELL_FS_IOS:BUILTIN_FLSH3
CELL_FS_IOS:BUILTIN_FLSH2
CELL_FS_IOS:BUILTIN_FLSH1
CELL_FS_IOS:USB_MASS_STORAGE
CELL_FS_IOS:USB_MASS_STORAGE005
CELL_FS_IOS:USB_MASS_STORAGE004
CELL_FS_IOS:USB_MASS_STORAGE003
CELL_FS_IOS:USB_MASS_STORAGE002
CELL_FS_IOS:USB_MASS_STORAGE001
CELL_FS_IOS:USB_MASS_STORAGE000
CELL_FS_IOS:SD_CARD
CELL_FS_IOS:COMPACT_FLASH
CELL_FS_IOS:MEMORY_STICK
CELL_FS_IOS:BUILTIN_FLASH
CELL_FS_IOS:PATA1_BDVD_DRIVE
CELL_FS_IOS:PATA1_BDVD_DRIVE
CELL_FS_IOS:PATA0_BDVD_DRIVE
CELL_FS_IOS:PATA1_HDD_DRIVE
CELL_FS_IOS:PATA1_HDD_DRIVE
CELL_FS_IOS:SD_CARD
CELL_FS_IOS:PATA0_HDD_DRIVE</pre>
CELL_FS_IOS:USB_MASS_STORAGE
CELL_FS_IOS:USB_MASS_STORAGE000
CELL_FS_IOS:USB_MASS_STORAGE001
CELL_FS_IOS:USB_MASS_STORAGE002
CELL_FS_IOS:USB_MASS_STORAGE003
CELL_FS_IOS:USB_MASS_STORAGE004
CELL_FS_IOS:USB_MASS_STORAGE005
CELL_FS_ISO9660
CELL_FS_SIMPLEFS
CELL_FS_UDF</pre>


===Link===
Tutorial : [[http://www.psxbrew.net/wiki/Mount_and_Unmount Mount and Unmount a Filesystem]]
===user mode mount===
int sys_fs_mount(char const* Device_Name, char const* Device_File_System, char const* Device_Path, int, int, int, char const**)
Device Names can be:
CELL_FS_IOS:                 
CELL_FS_IOS:ATA_HDD           
CELL_FS_IOS:BDVD_DRIVE       
CELL_FS_IOS:BUILTIN_FLASH     
CELL_FS_IOS:BUILTIN_FLSH1     
CELL_FS_IOS:BUILTIN_FLSH2     
CELL_FS_IOS:BUILTIN_FLSH3     
CELL_FS_IOS:BUILTIN_FLSH4     
CELL_FS_IOS:COMPACT_FLASH     
CELL_FS_IOS:MEMORY_STICK     
CELL_FS_IOS:PATA0_BDVD_DRIVE 
CELL_FS_IOS:PATA0_HDD_DRIVE   
CELL_FS_IOS:PATA1_BDVD_DRIVE 
CELL_FS_IOS:PATA1_HDD_DRIVE   
CELL_FS_IOS:SD_CARD           
CELL_FS_IOS:USB_MASS_STORAGE
CELL_FS_IOS:USB_MASS_STORAGE000
CELL_FS_IOS:USB_MASS_STORAGE001
CELL_FS_IOS:USB_MASS_STORAGE002
CELL_FS_IOS:USB_MASS_STORAGE003
CELL_FS_IOS:USB_MASS_STORAGE004
CELL_FS_IOS:USB_MASS_STORAGE005
CELL_FS_UTILITY:             
CELL_FS_UTILITY:HDD           
CELL_FS_UTILITY:HDD0         
CELL_FS_UTILITY:HDD1         
CELL_FS_UTILITY:HDD2         
CELL_FS_PATH:%s                 
CELL_FS_LOOP:                 
CELL_FS_PSEUDO:               
CELL_FS_HOSTFS:               
CELL_FS_ADMINFS:             
CELL_FS_DUMMY:               
CELL_FS_DUMMY:/               
Device File System can be:
CELL_FS_ADMINFS               
CELL_FS_DUMMYFS               
CELL_FS_EFAT                 
CELL_FS_FAT                   
CELL_FS_HOSTFS               
CELL_FS_ISO9660               
CELL_FS_PFAT                 
CELL_FS_PSEUDO               
CELL_FS_SIMPLE               
CELL_FS_SIMPLEFS             
CELL_FS_UDF                   
CELL_FS_UFS                   
dummy
Example: mount("CELL_FS_PATH:/dev_hdd0/game/ABCD00000","dummy", "/dev_bdvd/PS3_GAME",0,0,0,0)
== Folder reservation for External MASS Storage Devices ==
├───MUSIC
├───PICTURE
├───PS3
│    ├───EXPORT
│    │        ├───BACKUP (created via PS3 backup feature; only {{CEX}}/{{SHOP}})
│    │        │        └───200911131808 (date backup was performed, format=YYYYMMDDHHMM)
│    │        │                      ├───[[archive.dat]]
│    │        │                      ├───archive_00.dat
│    │        │                      ├───archive_[XX].dat
│    │        │                      ├───archive2.dat
│    │        │                      ├───archive2_00.dat
│    │        │                      └───archive2_[XX].dat
│    │        └───PSV (PS1/PS2 Saves)
│    ├───OTHEROS (Used to Install OtherOS; not on {{ARC}}/{{DECR}}/{{SD}})
│    ├───SAVEDATA (PS3 Saves; not on {{ARC}})
│    ├───THEME (XMB Theme Files)
│    └───UPDATE (PS3UPDAT.PUP firmware updates {{CEX}}/{{SHOP}}/{{TEST}}/{{DECR}}/{{SD}}/{{DEX}})
│              └───SEARCH (only {{DECR}}/{{SD}} =&gt;2.50 or later)
└───VIDEO


----
----
== PS3 Disc Game Structure ==
{{PS3 Disc Game Structure}}


== Installing packages ==
== Installing packages ==
Line 175: Line 107:
     └── game
     └── game
           └── WIKIFTW
           └── WIKIFTW
                 ├── ICON0.PNG
                 ├── icon0.png
                 ├── PARAM.SFO
                 ├── param.sfo
                 └── USRDIR
                 └── USRDIR
                       └── EBOOT.BIN
                       └── eboot.bin


Subfolders inside the USRDIR for other datafiles are recommended if your application depends on those external files.
Subfolders inside the USRDIR for other datafiles are recommended if your application depends on those external files.
Line 1,246: Line 1,178:


----
----
===Files sorted by filename (followed by location):===
Files sorted by filename (followed by location):
''could be usefull when going to document the usage/patches of files''
''could be usefull when going to document the usage/patches of files''


Line 3,291: Line 3,223:
             131 folder(s)
             131 folder(s)
</pre>
</pre>
{{Reverse engineering}}<noinclude>
[[Category:Main]]
</noinclude>
Please note that all contributions to PS3 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS3 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)