PSPlorer v1.4

0) credits:
special thanks to all ps2dev guys
Thanks to testers: Anruyn, djdelarue, willy91, darkwing


1) Introduction:
PSPlorer is a file explorer dedicated to the PSP.
You will need a CFW,can be use on a Fat or a Slim.

2) Licence:
PSPlorer is distributed under the GPL3, with the sources.
You can read the LICENCE.TXT file.


3) The main functionalities:
- File exploration on the memory-stick, flash0, flash1 and umd
- copy, delete, move, rename of files and directories
- dump and securised flash  of the NAND. WARNING, even if the flash has been tested on several PSP, the flash of the nandBackup
  is still a risky thing. I won't accept any responsabilities in case you brick your PSP.
- UMD backup,  iso and cso format
- USB connexion
- creation of new files and new directories
- file hexedit
- file transfert from PSP to PSP via wifi
- recusive transfert of directories fromd PSP to a  PSP  in adhoc mode
- file iso conversion to cso
- file and directory properties change (access right, creation/access/update dates)


4) Limitations:
- we can't see all the flash files,
  (e.g we don't see what's under flash0:/kd)
- the USB connexion alloews to connect the memory stick only
- Hexedit can edit only file that fit in memory

5) Principles:
- START: display an help screen
- X  : validation
- [] : exit of the current screen

    A main screen to explore the file hierachie, some contextual screen


6)Main screen
    the screen is splitted in two parts, one of them is the active one.
    L-TRIGGER => the left part is the active one
    R-TRIGGER => the right part is the active one

    UP and DOWN arrow to move in the screen
    If you press X on a directory you go into this directory
    If you press X on .., yougo back to the parent directory
    If you press TRIANGLE, you have only one screen but a more detailled one
    If you press CIRCLE you will have a contextual screen, the functionalities will
    depend on the selected element.


7) Contextual screen generalities:
    This screen is splitted in two parts, the la higher part displays detailled information
    on the selected element, the lower part displays the availlable funcitons for this element.
    In the higher part, there is a field named target, this is this field that will be used
    when needed by a function


7-1) Contextual screen  "disc0:"
    copy to     : copy the files to the target
    reload      : reload the file hierarchy when you changed the umd
    Umd backup  : create a backup (.iso)
    Umd backup in cso : create a backup in compress format (.cso)

7-2) Contextual screen "flash0:", "flash1:"
    copy to : copy the files to the target
    delete  : delete files
    move    : move files
    NAND backup: create a NAND backup

7-3) Contextual screen "ms0:"
    copy to : copy the files to the target
    delete  : delete files
    move    : move files
    reload      : reload the file hierarchy
    Connect USB : setup a USB connection, in this mode we can't do anything while the PSP is connected
    Connect USB mode 2 : setup a USB connection, in this mode you can continue to use PSPlorer
                  while the connection is on

7-4)  Directory Contextual screen
    copy to : copy the Directory to the target
    delete  : delete files
    move    : move files
    rename  : rename the directory
    Change Properties :  FIle and Directory Properties change (access right , creation, modification and d'access  dates)
    Create File : create a file
    Create Dir  : create a directory
    send a Directory to a PSP : send a whole directory to another PSP
    receive a File or a Directory from a PSP : receveice a file or a complete dorectory from a PSP

7-5) File Contextual screen
    copy to : copy the file to the target
    delete  : delete files
    move    : move files
    rename  : rename the file
    Change Properties :  FIle and Directory Properties change (access right , creation, modification and d'access  dates)
    Hex Edit    : Hex edit un fichier
    Flash to NAND : if the file is a ".bin" and if it has the right size then this option is dislayed
    Create File : create a file
    Create Dir  : create a directory
    Send a File to a PSP : ...send a file to a PSP via an ADHOC communication
    compress to cso : convert an iso file to cso format ( the option is present only if the file is a ".iso")

8) NAND Backup et flash:
    When the backup is created, a file .chk is created. In this file we store the Mac Address
    and control keys of the dump. When you you want to reflash the dump, PSPlorer compare
    the stored MAC address and the PSP MAC address, to be sure that the dump belongs to the PSP
    The keys are used to check that the dump hasn't been modified.


9) Hexedit
    []        => quit
	X         => Toggle Edit Mode
	O         => Save
	UP        => field Up, in edit mode +1 on the 4 right bits
	DOWN      => field Down, in edit mode -1 on the 4 right bits
	LEFT      => field Left, in edit mode -1 on the 4 left bits
	RIGHT     => field right, in edit mode +1 on the 4 right bits
	HOME      => quit all
	START     => display Credits + help
	SELECT    => set Marker
    /\        => delete the marked zone
	R-trigger => move the marked zone before the current position
	L-trigger => insert the marked zone before the current position



