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 =


== Mountpoints ==
== Mountpoints ==


;BDrom drive (discfs), (cfs):
BDrom drive (discfs), (cfs):
*dev_bdvd // (SYS_DEV_BDVD), (CELL_FS_IOS:BDVD_DRIVE / CELL_FS_UDF / CELL_FS_ISO9660.-PLAYSTATION3)
*dev_bdvd // (SYS_DEV_BDVD), (CELL_FS_IOS:BDVD_DRIVE / CELL_FS_UDF / CELL_FS_ISO9660.-PLAYSTATION3)
*dev_bdvd1 // (SYS_DEV_BDVD1), (connect to SB1ATA)
*dev_ps2disc
*dev_ps2disc
*dev_ps2disc1
*dev_ps2disc1


;Dev flash:
Dev flash:
*dev_flash
*dev_flash
*dev_flash2
*dev_flash2
*dev_flash3
*dev_flash3


;Harddisc (cfs):
Harddisc (cfs):
*dev_hdd0 (game data) // (SYS_DEV_HDD0)
*dev_hdd0 (game data) // (SYS_DEV_HDD0)
*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_simple_hdd0


;Multicardreader (fat), (cfs):
Multicardreader (fat), (cfs):
*dev_cf // (SYS_DEV_CF), (CELL_FS_IOS:COMPACT_FLASH)
*dev_cf // (SYS_DEV_CF), (CELL_FS_IOS:COMPACT_FLASH)
*dev_ms // (SYS_DEV_MS), (CELL_FS_IOS:MEMORY_STICK)
*dev_ms // (SYS_DEV_MS), (CELL_FS_IOS:MEMORY_STICK)
*dev_sd // (SYS_DEV_SD), (CELL_FS_IOS:SD_CARD)
*dev_sd // (SYS_DEV_SD), (CELL_FS_IOS:SD_CARD)


;USB-Mass-Storage device (fat)/(cfs):
USB-Mass-Storage device (fat)/(cfs):
*dev_usb // (SYS_DEV_USB)
*dev_usb // (SYS_DEV_USB)
*dev_usb000 // (CELL_FS_IOS:USB_MASS_STORAGE000)
*dev_usb000 // (CELL_FS_IOS:USB_MASS_STORAGE001)
*dev_usb001 // (CELL_FS_IOS:USB_MASS_STORAGE001)
*dev_usb001 // (CELL_FS_IOS:USB_MASS_STORAGE001)
*dev_usb002 // (CELL_FS_IOS:USB_MASS_STORAGE002)
*dev_usb002 // (CELL_FS_IOS:USB_MASS_STORAGE002)
Line 34: Line 32:
*dev_usb005 // (CELL_FS_IOS:USB_MASS_STORAGE005)
*dev_usb005 // (CELL_FS_IOS:USB_MASS_STORAGE005)


;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)


;Flash (NAND/NOR):
unknown yet:
* CELL_FS_IOS:BUILTIN_FLSH1
*dev_SYSTEM
* NAND_FLASH_DEV_ID<!--//lv2_storage_get_device_info(NAND_FLASH_DEV_ID, &info);//-->
*dev_MCA
 
;unknown yet:
* dev_SYSTEM
* dev_MCA (used 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 ===
tons of CELL_FS_* <!--// CELL_FS //--> references:
<pre>CELL_FS_UFS
CELL_FS_FAT
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_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 48:
     └── 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 184: Line 57:


----
----
== File Hashes ==
=== Retail/CEX ===
See: [[File Hashes Retail‎]]
=== Debug/DEX ===
See: [[File Hashes Debug‎]]




Line 189: Line 71:
----
----


== dev_flash Device Archives [3.55 Retail/CEX] ==
 
== Flash Device Archives [3.55 Retail/CEX] ==


  dev_flash & dev_flash3 archive contents
  dev_flash & dev_flash3 archive contents
Line 1,246: Line 1,129:


----
----
===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 2,243: Line 2,126:


----
----


== dev_flash content 3.55 Tool/DECR ==
== dev_flash content 3.55 Tool/DECR ==
Line 3,291: Line 3,176:
             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)