Skip to content
This repository has been archived by the owner on Jun 1, 2019. It is now read-only.

Latest commit

 

History

History
executable file
·
31 lines (22 loc) · 784 Bytes

README.md

File metadata and controls

executable file
·
31 lines (22 loc) · 784 Bytes

P3T extractor

NOTE this is not maintained anymore and has not been for 4 years.

This is a PS3 Theme (.p3t) extractor that was used on http://ps3theme.net/.

Usage

Using this is quite simple.

  1. Put the file in your lib folder and include the autoloader:

    include 'vendor/autoload.php';
  2. Create a new Extractor() object:

    $p3tfile = 'test.p3t';
    $extract_location = 'extracted/';
    
    $p3t = new P3TExtractor\Extractor($p3tfile, $extract_location);
    $p3t->parse();
    
    // Accepts one argument as to what to extract.
    // This method will return the things the P3T file supports, e.g. audio and/or dynamic
    $support = $p3t->dump_files();
  3. Please view the source for full explanation of the classes