Talk:PKG files: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
m (→‎Misc:: archaic but for completion?)
Line 30: Line 30:
  00000040  5F 30 30 2D 52 49 44 47 45 52 41 43 45 52 50 53  _00-RIDGERACERPS
  00000040  5F 30 30 2D 52 49 44 47 45 52 41 43 45 52 50 53  _00-RIDGERACERPS
  00000050  56 49 54 41 00 00 00 00 00 00 00 00 00 00 00 00  VITA............
  00000050  56 49 54 41 00 00 00 00 00 00 00 00 00 00 00 00  VITA............
==Links: ==
Mega-Thread HACKING a PS3 - Tutorials and Explanations by Deroad : [http://www.ps3hax.net/showthread.php?t=23771 on ps3hax], [http://psx-scene.com/forums/f149/%5Bmega-thread%5D-hacking-ps3-tutorials-explanations-88209/ on psx-scene] or [http://www.nextgenupdate.com/forums/ps3-cheats-customization/343956-mega-thread-hacking-ps3-tutorials-explanations-8.html on nextgenupdate]
Make Package: [http://jerem73.wordpress.com/2011/01/08/make-package/ by DrEB]
"This post can be updated to add any new package type/discovery."
//should be since this was published January 8, 2011 or
completed erased because archaic, tooled many times, redundant with other pages?
<div style="height:305px; overflow:auto">
'''- Main Packages Type :'''
* Game Data Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameData
PackageVersion = 01.00
* HDD Game Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageVersion = 01.00
* HDD Game Patch Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageType = HDDGamePatch
PackageVersion = 01.00
* Disc Game Patch Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameData
PackageType = DiscGamePatch
PackageVersion = 01.00
* License
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = License
PackageVersion = 01.00
* [[Themes_(.p3t)| Custom Theme]]
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = Theme
PackageVersion = 01.00
* [[VSH_module-action|VSH Module]] (See also [[VSH|VSH page]])
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = VSHModule
PackageVersion = 01.00
* PS1 Game
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = PS1Game
TitleID = XXXXYYYYY
PackageVersion = 00.00
* Minis
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = minis
TitleID = XXXXYYYYY
PackageVersion = 01.00
'''- Advanced Packages Items :'''
* Demo with Key Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageType = Demo
PackageVersion = 01.00
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageType = Key
PackageVersion = 01.00
* Date limitations
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = GameExec
LimitedTimeStart = YYYY-MM-DDThh:mmTZD
LimitedTimeEnd = YYYY-MM-DDThh:mmTZD
PackageVersion = 01.00
'''- Specials Packages Items :'''
/! Be carefull /!
* ForcedInstallTo
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
ForcedInstallTo =
PackageVersion = 01.00
* InstallDirectory
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
InstallDirectory =
PackageVersion = 01.00
* PackageFlag
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageFlag =
PackageVersion = 01.00
</div>


==Misc:==
==Misc:==
*From network: see [[Project_Database_%28PDB%29]]
*From network: see [[Project_Database_%28PDB%29]]



Revision as of 13:05, 9 August 2013

pkg_type

pkg_type 	0x4 	u32 	The package type is 1 for PS3 pkg and 2 for PSP/Vita packages. the flag 0x80000000 is used for retail.

Examples

PS3

PS2 HDD Utility (Retail):

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000  7F 50 4B 47 80 00 00 01 00 00 00 C0 00 00 00 05  .PKG€......À....
00000010  00 00 00 80 00 00 00 05 00 00 00 00 00 67 AE 80  ...€.........g®€
00000020  00 00 00 00 00 00 01 40 00 00 00 00 00 67 AC E0  [email protected]¬à
00000030  49 50 39 31 30 30 2D 4E 50 49 41 30 30 30 30 31  IP9100-NPIA00001
00000040  5F 30 30 2D 50 53 32 48 44 44 53 59 53 44 41 54  _00-PS2HDDSYSDAT
00000050  30 30 30 31 00 00 00 00 00 00 00 00 00 00 00 00  0001............

Life With Playstation (Retail):

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000  7F 50 4B 47 80 00 00 01 00 00 00 C0 00 00 00 07  .PKG€......À....
00000010  00 00 00 A0 00 00 02 7F 00 00 00 00 07 CE D7 C0  ... .........Î×À
00000020  00 00 00 00 00 00 01 60 00 00 00 00 07 CE D6 00  .......`.....ÎÖ.
00000030  49 50 39 31 30 30 2D 4E 50 49 41 30 30 30 30 32  IP9100-NPIA00002
00000040  5F 30 30 2D 30 30 30 30 31 31 31 31 32 32 32 32  _00-000011112222
00000050  33 33 33 33 00 00 00 00 00 00 00 00 00 00 00 00  3333............

PSVita

Ridgeracers (Retail):

Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000  7F 50 4B 47 80 00 00 02 00 00 02 80 00 00 00 0D  .PKG€......€....
00000010  00 00 02 10 00 00 00 10 00 00 00 00 04 BA 76 70  .............ºvp
00000020  00 00 00 00 00 00 10 D0 00 00 00 00 04 BA 63 C0  .......Ð.....ºcÀ
00000030  4A 50 30 37 30 30 2D 50 43 53 47 30 30 30 30 31  JP0700-PCSG00001
00000040  5F 30 30 2D 52 49 44 47 45 52 41 43 45 52 50 53  _00-RIDGERACERPS
00000050  56 49 54 41 00 00 00 00 00 00 00 00 00 00 00 00  VITA............

Links:

Mega-Thread HACKING a PS3 - Tutorials and Explanations by Deroad : on ps3hax, on psx-scene or on nextgenupdate


Make Package: by DrEB

"This post can be updated to add any new package type/discovery." 
//should be since this was published January 8, 2011 or 
completed erased because archaic, tooled many times, redundant with other pages?


- Main Packages Type :


  • Game Data Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameData
PackageVersion = 01.00


  • HDD Game Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageVersion = 01.00


  • HDD Game Patch Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageType = HDDGamePatch
PackageVersion = 01.00


  • Disc Game Patch Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameData
PackageType = DiscGamePatch
PackageVersion = 01.00


  • License
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = License
PackageVersion = 01.00


ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = Theme
PackageVersion = 01.00


ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = VSHModule
PackageVersion = 01.00


  • PS1 Game
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = PS1Game
TitleID = XXXXYYYYY
PackageVersion = 00.00


  • Minis
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = minis
TitleID = XXXXYYYYY
PackageVersion = 01.00


- Advanced Packages Items :


  • Demo with Key Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageType = Demo
PackageVersion = 01.00
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageType = Key
PackageVersion = 01.00


  • Date limitations
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Local
ContentType = GameExec
LimitedTimeStart = YYYY-MM-DDThh:mmTZD
LimitedTimeEnd = YYYY-MM-DDThh:mmTZD
PackageVersion = 01.00


- Specials Packages Items : /! Be carefull /!


  • ForcedInstallTo
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
ForcedInstallTo =
PackageVersion = 01.00


  • InstallDirectory
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
InstallDirectory =
PackageVersion = 01.00


  • PackageFlag
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameExec
PackageFlag =
PackageVersion = 01.00


Misc:

  • Serial number folder type name (on UTC) on /dev_hdd0/game/ :

_INST_YYYYMMDDHHMMSSSSSSSSSS (failure can also create regular folder id)

_GDATA_YYYYMMDDHHMMSSSSSSSSSS

_DEL_YYYYMMDDHHHH**********/USRDIR/JITGenerated ???? XMB display it on game data, from Sandungas.

  • Type 1: PS3, NEOGEO...
  • Type 2: PS1 Classic, PS VITA, PSP, MINIS...