• Stars
    star
    274
  • Rank 145,017 (Top 3 %)
  • Language
    Java
  • License
    GNU Lesser Genera...
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Collection Of Open Source PS4 Tools all in one Library All Written in C#

PS4_Tools Build status

Collection Of Open Source PS4 Tools all in one Library

Supports Unity

Projects Currently Running PS4 Tools

PS4 PS2 Classics Manager (Unreleased) Github Source

PS4 PS2 Classics GUI Github Source

PS4 PKG Installer (PKG Store) Github Source

PS4 PKG Installer Andorid Github Source

PS4 PKG Tool- By pearlxcore Github Source

PS4 Explorer - By Lapy Github Source | Twitter

PS4 Tools Homebrew (1.3) Github Source | Github Release

PS4 Save Manager Github Source

PS4 Trophy Unlocker Github Source

Project status

GitHub all releases

GitHub repo size

https://github.com/xXxTheDarkprogramerxXx/PS4_Tools/releases/latest

Example Applications

Image Util Build status

Created for DefaultDNB

Atrac9 Player

A simple At9 player

image

Ps4 Tools Homebrew

Created originally just to show the power of ps4 tools but now has alot more feutures

Ps4 PKG Viewer

Created as an example app reads ps4 pkg's Github

PS4 Save Manager

Created to manage save files dumped with either Ps4 Tools Homebrew or with Save Data Mounter by Chendo Chap

PS4 Trophy Unlocker

Well It Unlocks Trophies

image

image

Ps4 Trophy Viewer

Created on the request of @pearlxcore

Getting Started

Add the .DLL to your solution. Done Dusted and ready to use

Class Structure

The class strucutre might change in future releases

namespace PS4_Tools
├── PS4_Tools                                 /*Some Defualt Methods For the Tools*/
│   ├── AppCommonPath()                       /*Returns Working Directory For Tools*/
│   ├── DeleteDirectory()                     /*Recursive Deletes Directory*/
├── SELF                                      /* Reserved class for SELF/ELF Handeling*/
├── Media                                     /* PS4 Media Class*/
│   ├── Atrac9                                /*Atrac9 Class*/
│   ├──   ├── LoadAt9                         /*Loads Atrac9 Method still in the works*/
├── Image                                     /* PS4 Image Class*/
|   ├── PNG                                   /*PNG Class*/
│   ├──   ├── Create_PS4_Compatible_PNG       /*Creates a Complatible PS4 PNG*/
│   ├── DDS                                   /*DDS Class*/
│   ├──   ├── SavePNGFromDDS                  /*Saves a PNG from a DDS File*/
│   ├──   ├── GetStreamFromDDS                /*Gets a Stream from a DDS*/   
│   ├──   ├── GetBitmapFromDDS                /*Gets a Bitmap from a DDS*/
│   └── GIMImages                             /*GIM Image Class*/
├── RCO                                       /* PS4 RCO Class*/
│   ├── DumpRco                               /*Dumps a Rco File*/
├── SaveData                                  /* PS4 SaveData Reserved Class*/
├── PKG                                       /* PS4 PKG Handling Class*/ 
│   ├── Official                              /*Some Methods for Official PKG Items*/
│   ├──   ├── ReadAllUnprotectedData          /*Deprecated*/
│   ├──   ├── StoreItems                      /*Store Items Object Class (Placeholder)*/
│   ├──   ├── CheckForUpdate                  /*Returns a Update_Structure Type*/
│   ├──   ├── Get_All_Store_Items             /*Returns a List<StoreItems> With Download Links and some other infrmation*/
│   ├── SceneRelated                          /*Some Methods for Scene Related PKG Items*/
|   ├──   ├── GP4                             /*GP4 File Class*/
|   ├──   ├──   ├── ReadGP4                   /*Reads a GP4 File Into a Custom Object*/    
|   ├──   ├──   ├── SaveGP4                   /*Saves a GP4 File From a Custom Object*/
|   ├──   ├── Create_FKPG                     /*Creates a FPKG (addon file from store items for a spesific item*/
|   ├──   ├── IDS                             /*IDS Reserved Class*/
|   ├──   ├── PARAM_SFO                       /*Param.SFO Reserved Class*/
|   ├──   ├──   ├── Get_Param_SFO             /*Reads a Param SFO into a Param.sfo structure*/
|   ├──   ├── NP_Data                         /*NP_Data Reserved Class*/
|   ├──   ├── NP_Title                        /*NP_Title Reserved Class*/
|   ├──   ├── ReadPKG                         /*Reads a PKG File (Powered by maxtron)*/
|   ├──   ├── Read_PKG                        /*Reads all unprotected data from a pkg (Powered by Leecherman)*/
|   ├──   ├── Rename_pkg_To_ContentID         /*Renames a PKG File to the Content ID of the SFO*/    
|   ├──   ├── Rename_pkg_To_Title             /*Renames a PKG File to the Title of the SFO*/
│   ├── PS2_Classics                          /*Class For Building PS2 Classics*/
|   ├──   ├── Create_Single_ISO_PKG           /*Creates a Single ISO File PS2 Classic*/    
|   ├──   ├── Create_Multi_ISO_PKG            /*Creates a Multie ISO File PS2 Classic*/
│   ├── PSP_HD                                /*Class For Building PSP HD Items*/
│   ├── PUP                                   /*Class For PUP Tools*/
|   ├──   ├── Unpack_PUP                      /*Unpacks a PUP Files*/
└── (More to come)

Using PS4_Tools

Please see the testers form to see how some of the classes work if not documented here

Reading a PKG File (Using Official Toolset) /Deprecated 2018-11-18/

Reading and Saving a GP4

 PS4_Tools.PKG.SceneRelated.GP4.Psproject project =   PS4_Tools.PKG.SceneRelated.GP4.ReadGP4(@"C:\Users\3deEchelon\Documents\Sony\Crash Bandcioot Twinsanity.gp4");
            if(project.Fmt != "gp4")
            {
                MessageBox.Show("This is not a valid PS4 Project");
                return;
            }

            //lets validate some pkg item info before saving
            if(project.Volume.Package.Passcode.Length != 32)
            {
                MessageBox.Show("Passcode Lentgh is not valid");
            }

            //to save a gp4 

            PS4_Tools.PKG.SceneRelated.GP4.SaveGP4(@"C:\Users\3deEchelon\Documents\Sony\tempworking.gp4", project);

Displaying a dds file

var item = PS4_Tools.Image.DDS.GetBitmapFromDDS(@"C:\Users\3deEchelon\Desktop\PS4\psp Decrypt\Sc0\icon0.dds");
            pictureBox1.Image = item;

Dumping a RCO File

 PS4_Tools.RCO.DumpRco(@"C:\Users\3deEchelon\Desktop\PS4\RCO\Sce.Cdlg.GameCustomData.rco");

Playing a at9 file

 PS4_Tools.Media.Atrac9.LoadAt9(@"C:\Users\3deEchelon\Desktop\PS4\AT9\prelude1.at9");

Get Game Update Information

            var item =PS4_Tools.PKG.Official.CheckForUpdate(textBox1.Text);

            /*TitleID Patch Data Is Avaiavle Here*/

            /*Build some string*/
            string update = label1.Text;
            update += "\n Version : " + item.Tag.Package.Version;
            int ver = Convert.ToInt32(item.Tag.Package.System_ver);
            update += "\n System Version : " + ver.ToString("X");
            update += "\n Remaster : " + item.Tag.Package.Remaster;
            update += "\n Manifest File Number of Pieces : " + item.Tag.Package.Manifest_item.pieces.Count;

            label1.Text = update;

Get Store Items From a Title ID

    var storeitems = PS4_Tools.PKG.Official.Get_All_Store_Items(textBox1.Text);

Get Unprotected Data From PKG

     PS4_Tools.PKG.SceneRelated.Unprotected_PKG ps4pkg = PS4_Tools.PKG.SceneRelated.Read_PKG(@"C:\Users\3deEchelon\Desktop\PS4\Euro.FISHING.COLLECTORS.EDITION.PS4-DUPLEX\Euro.Fishing.Collectors.Edition.PS4-DUPLEX\duplex-euro.fishing.collectors.ed.ps4\Euro.Fishing.Collectors.Edition.PS4-DUPLEX.pkg");

            /*Lets work with the data shall we*/
            /*Display the PSFO in some type of info format*/
            var item = ps4pkg.Param;
           
            for (int i = 0; i < item.Tables.Count; i++)
            {
                listBox3.Items.Add(item.Tables[i].Name + ":" + item.Tables[i].Value);
            }
            /*Display Image*/
            pictureBox2.Image = ps4pkg.Image;

            var trphy = ps4pkg.Trophy_File;

            for (int i = 0; i < trphy.FileCount; i++)
            {
                listBox4.Items.Add(trphy.trophyItemList[i].Name);
            }

Credits

  • Maxton - For The Amazing Work He has done for the scene ! (LibOrbisPKG)
  • GarnetSunset - Playstation Store DLC Indexer
  • stooged - PS4 DLC Indexer (C#)
  • cfwprph - His help and Vita Rco extractor tool
  • IDC - His PS4 Pup Extractor and other work he has done
  • Leecherman - His tools are always a great reference for me and does some great work
  • Thealexbarney - His great research done on atrac9 files and decoding them
  • RedEye-32 - His help on getting ESFM decrypted (files inside of trophies)

Download

Download - POWER BY APPVOYER

Open Source Projects

My Neighborhood

This is an open source version (alternative) of the PS4 Neighborhood that came with the official ps4 sdk

Follow development board on Trello

What can i do with this ?

This is mainly for developer use on any console that has unsigned code enabled and has the corresponding api installed (release to be announced)

With this you can create your own application / games for ps4 homebrew and instead of creating a pkg each time you can simply attach the application / game to your file serving directory and load your current application in real time (that's the idea anyway)

The project is to resemble the official PlayStation 4 Neighborhood without any of the SCE tools

Requirements

  • API Installed
  • System must be running a semi dev unit (not normal retail)

To change your console from Normal Retail to a Semi Dev one simply use LightningMods's Updater

Console output will look similar to this

More Repositories

1

PS3Tools

Open Source PlayStation Tools
C#
242
star
2

PSPTools

PSP Tools (PBP FIles ,ISO ,SFO,UMD Signing,CISO support)
C#
23
star
3

Store-Remote-Tool-Android

Android Based Version Of PS4 Package Installer
C#
18
star
4

PeXploit

PeXPloit v1.0 Source Code Compiled Using VS 2012/2013
C#
11
star
5

psnstuff

Build one of psnstuff with a few tweaks of my own
C#
10
star
6

PS4-Tools-Homebrew

The PS4 Tools Homebrew Source Code
C++
8
star
7

PS4_Error_Code_Viewer

PS4 Error Code Viewer
C#
6
star
8

PS4-PluginX

PluginX for PS4
C#
5
star
9

PS4-Universal-Prx

This is a prx to be used in unity home brew by devs who prefer c#
5
star
10

PS2-Classics-Replacer

PS2 Classics Manager Created in Unity and c++
Assembly
5
star
11

PKGExtractor

PKG Extractor For PS3
C#
4
star
12

Ps2-Classics-emulators-for-Ps4

Ps2 Classics emulators for Ps4, this will allow you to use many different versions of emulator, which could improve or decrease the compatibility
Lua
4
star
13

PSPSHARP

PSP Emulator Written in C# Orginally in Java by JPCSP
C#
3
star
14

Manual-PS4-Trophy-Unlcoker

Explanation on a method on how to unlock trophies on the PS4
3
star
15

xXxTheDarkprogramerxXx.github.io

My github hosted website
HTML
3
star
16

Playstation-2-Classics-Patches-PS4

This is a repo for PS4 Playstation 2 Classics games
Lua
3
star
17

PS2_Tools

PS2 Tools written in C#.net3.5
C#
3
star
18

xXxTheDarkprogramerxXx

2
star
19

PS3Toolbox

The PS3 toolbox is a collection of my work and others that have helped me this far
2
star
20

httpsTrack-WebSite-Downloader

This was my attempt at a htttrack (https://www.httrack.com/) solution written in c#
C#
2
star
21

PS3-ISO-Tools-GUI

PS3 ISO Tools V1.3
C#
2
star
22

pstools.github.io

PSTools Online
HTML
2
star
23

xDPx-Toolbox

xDPX Toolbox with a few goodies inside
C#
2
star
24

Elevator-App

Elevator Application
C#
2
star
25

PS3-RIP

PS3 Rip made open source
C#
2
star
26

PS3_Save_Data_Manager

Made after a user asked me for help on discord.
C#
2
star
27

PKG-Share

This was an attempt i made to have a similiar method to host files like we have on psndl and psnstuff but this one would be comunity based NEVER COMPLETED
C#
2
star
28

PS3-Creator

PS3 Creator (Edat Auto Creation Tool) This Tool Was Plain and simple create edat from c00 pkg
C#
2
star
29

PKGReader

PKG Reader / Create Bubble Install This app was a beta test for pexploits bubble install Thanks again pink1 for all the help
C#
2
star
30

Generate-IDPS

IDPS.bin Generator for PS3
C#
2
star
31

SFO-Reader

This is a very basic sfo reader for PS3
C#
1
star
32

PlaystationhaxDevNet

A Tutorial For Playstationhax.it
C#
1
star
33

PKG-Decrypt-and-edat

This Was for #fsteam way back when we where testing pexploit and what we can do with it
C#
1
star
34

jpsx

Original JPSX Source Code
1
star
35

PS2-Classics-Placeholder

PS2 Classics Manager homebrew application for the PS4
C++
1
star
36

PlaystationHax-Dump-Checker

This project was somehting i did specially for playstationhax.it
C#
1
star
37

PS3-ISO-Creator

PS3 ISO Creator
C#
1
star
38

Woo4All

A Simple woocomerce product scraper for windows
C#
1
star
39

PSn-Buuble

PSN Bubble Installer created by Pink1 and modified by xdpx
C#
1
star
40

PexploitAdvanced

The Never Released Advanced Window Of Pexploit
C#
1
star
41

IDPS-Viewer

IDPS.bin Viewer
C#
1
star
42

SFOExtract

This tool extarcts PARAM.SFO from pkg's this was originally only used to get the code working for pexploit
C#
1
star