Talk:PKG files: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
Line 40: Line 40:
  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: ==
== More infos ==
 
=== link with PDB ===


See also [[Project_Database_%28PDB%29]]
See also [[Project_Database_%28PDB%29]]


=== Deroad tutorial ===


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]
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_npdrm reversing ===


Make Package: [http://jerem73.wordpress.com/2011/01/08/make-package/ by DrEB]
Make Package: [http://jerem73.wordpress.com/2011/01/08/make-package/ by DrEB]
Line 63: Line 67:




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




* HDD Game Patch Package
* Disc Game Patch without EBOOT.BIN Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameData
PackageType = DiscGamePatch
PackageType = NoEBOOTBIN
PackageVersion = 01.00
 


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




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


Line 142: Line 157:




* Demo with Key Package
* Demo Package with Key Package


  ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
  ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX

Revision as of 13:01, 12 April 2018

Exemples

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............

PSP

Locoroco -Midnight Carnival- Demo (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 09  .PKG€......€....
00000010  00 00 00 E0 00 00 00 0A 00 00 00 00 0A 72 6B F0  ...à.........rkð
00000020  00 00 00 00 00 00 04 E0 00 00 00 00 0A 72 65 30  .......à.....re0
00000030  4A 50 39 30 30 30 2D 4E 50 4A 47 30 30 30 33 34  JP9000-NPJG00034
00000040  5F 30 30 2D 4C 4F 43 4F 52 4F 43 4F 4D 43 47 41  _00-LOCOROCOMCGA
00000050  4D 45 30 31 00 00 00 00 00 00 00 00 00 00 00 00  ME01............

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............

More infos

link with PDB

See also Project_Database_(PDB)

Deroad tutorial

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

make_package_npdrm reversing

Make Package: by DrEB

- Main Packages Type :


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


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


  • Disc Game Patch without EBOOT.BIN Package
ContentID = XXYYYY-XXXXYYYYY_00-XXXXXXXXXXXXXXXX
Klicensee = 0x00000000000000000000000000000000
DRMType = Free
ContentType = GameData
PackageType = DiscGamePatch
PackageType = NoEBOOTBIN
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


  • 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 Package 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
    • Allows installing packages to any hdd directory (and flash if it's writable).


  • 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_YYYYMMDDHHMMSSSSSSSSSS/USRDIR/JITGenerated (empty folder tree structure created after a error when trying to erase a content from "game data"). The folder "JITGenerated" was the responsible of the problem, not posible to erase from XMB (with triangle over the "corrupted data icon" replying with an "not possible to access HDD") neither from FTP (replying with an error "not posible to display folder contents")... after several "restore filesystem" and "rebuild database" the corrupted icon was moved out of "game data" and his timestamp changed (the YYYYMMDDHHMMSSSSSSSSSS in the main folder name was updated to an actual timestamp so it was "regenerated"). The only way to erase it is with a filemanager running in PS3 (is not possible to erase the "corrupted data" icon in an official firmware until you format the HDD)