Go Back  
Reply
 
Thread Tools
Old 05-28-2012   #1
RazMan49
Member
null
 
RazMan49's Avatar
 
Join Date: Jan 2012
Location: UK
Posts: 32
Likes: 4
Liked 3 Times in 3 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Question Creating a PKG file?

So, what i want to do is make my own PKG file, preferably make ones that can mod games, such as unlimited ammo... ect.

I have downloaded the 'tools' to do so, i have 'PS3Tools GUI Edition v1.1B' but the thing is i don't know how to use it haha.

I was wondering if anyone here can perhaps show me where to start on making my own PKG files?
__________________
If you can't explain it simply, you don't understand it well enough.
Albert Einstein
RazMan49 is offline   Reply With Quote
Old 05-28-2012   #2
aldostools
Homebrew Developer
 
aldostools's Avatar
 
Join Date: Sep 2010
Location: dev_hdd0/game/BLES80608
Posts: 955
Likes: 926
Liked 1,245 Times in 493 Posts
Mentioned: 596 Post(s)
Tagged: 0 Thread(s)
You only need the psn_package_npdrm.exe from one of the "tools" available (eg. it is included in multiMAN [EBOOT_FIX] or multiMAN [discBOOT]) and a "package.conf"

The following batch file creates the package.conf and makes the PKG for you. All you have to do is: put the game in the same folder the of batch file, name it with the same TitleID found in the PARAM.SFO, run the batch.

MakeGamePKG.bat
Code:
FOR /D %%d IN (NP???????*;B??S?????) DO set ps3pkg=%%d

echo Content-ID = %ps3pkg:~2,1%P0001-%ps3pkg%_00-0000111122223333>package.conf
echo klicensee = 0x00000000000000000000000000000000>>package.conf
echo DRMType = Free>>package.conf
echo ContentType = GameExec>>package.conf
echo PackageVersion = 01.00>>package.conf

psn_package_npdrm.exe package.conf %ps3pkg%
pause
Example of the folder structure of a game:

.\BLES00000\
.\BLES00000\PS3_GAME\
.\BLES00000\PS3_GAME\ICON0.PNG
.\BLES00000\PS3_GAME\PARAM.SFO
.\BLES00000\PS3_GAME\USRDIR\
.\BLES00000\PS3_GAME\USRDIR\EBOOT.BIN


For a game patch that doesn't have EBOOT.BIN, the PARAM.SFO category should be
"GD". Use the following batch file:

MakePatchPKG.bat
Code:
FOR /D %%d IN (NP???????*;B??S?????) DO set ps3pkg=%%d

echo Content-ID = %ps3pkg:~2,1%P0001-%ps3pkg%_00-0000111122223333>package.conf
echo klicensee = 0x00000000000000000000000000000000>>package.conf
echo DRMType = Free>>package.conf
echo ContentType = GameData>>package.conf
echo PackageVersion = 01.00>>package.conf

psn_package_npdrm.exe package.conf %ps3pkg%
pause
__________________
~ Dreams and dedication are a powerful combination.
... multiMAN is a perfect demonstration.

Last edited by aldostools; 05-28-2012 at 07:16 AM.
aldostools is offline   Reply With Quote
Likes: (2)
Old 05-29-2012   #3
RazMan49
Member
null
 
RazMan49's Avatar
 
Join Date: Jan 2012
Location: UK
Posts: 32
Likes: 4
Liked 3 Times in 3 Posts
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
I have resently realised that it is not making the PKG that I want to learn, but I want to learn how to make my own patch's, can someone show me where to begin?
__________________
If you can't explain it simply, you don't understand it well enough.
Albert Einstein
RazMan49 is offline   Reply With Quote
Old 05-29-2012   #4
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 351
Likes: 67
Liked 345 Times in 120 Posts
Mentioned: 112 Post(s)
Tagged: 0 Thread(s)
here:

http://www.ps3hax.net/showthread.php?p=208957#
deroad is online now   Reply With Quote
Likes: (1)
Old 06-09-2012   #5
benzinjiq
Member
 
benzinjiq's Avatar
 
Join Date: Nov 2011
Posts: 323
Likes: 318
Liked 167 Times in 105 Posts
Mentioned: 30 Post(s)
Tagged: 0 Thread(s)
I have a question. I'm using @deroad 's method "- How to make Game Update pkg -" (form here [Mega-Thread] HACKING a PS3 - Tutorials and Explanations)and the PKG files I create install correctly (they show in the dev_hdd0/game folder), but the problem is that the game I try to update with new files, does not "act" like it is updated.

Let me explain: right now I have God of War 3 (BCES00510) translated in my language. The translation is in RES.PSARC archive. When I add the modified archive manually (just copy/replace) the game runs just fine in my language.

The thing is that I want to create PKG file, wich contains my RES.PSARC and then after installation on the original (unmodified) backup of the game, it can update the game with the new file.

For the conf. file I use this:

Content_ID=ID0002-ABCD12345_00-SAMPLE0000000001
K_Licensee = 00000000000000000000000000000000
DRMType = Free
Content_Type = Update
Package_Version = 00.01

and the update folder looks like this:


The RES.PSARC I put in USRDIR (since the original file is in BCES00510\PS3_GAME\USRDIR).
I also use the original game's PARAM.SFO (tryied with and without original EBOOT.BIN, but the result is the same)

But then again, after installation of the PKG file, nothing happens (at least other than the "update" shows in GAME DATA, and in Multiman).

What am I doing wrong? I have other games that are translated, and would like to make PKG files for them too. But no success with them, either.

P.S: Great tutorial @deroad !

Last edited by benzinjiq; 06-09-2012 at 03:32 PM.
benzinjiq is offline   Reply With Quote
Old 06-09-2012   #6
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 351
Likes: 67
Liked 345 Times in 120 Posts
Mentioned: 112 Post(s)
Tagged: 0 Thread(s)
i don't understand where is stored the psarc. if inside the folder like \dev_hdd0\game\BCES00510\USRDIR you can use a normal update package, if on a different folder, you need to create a kind of homebrew to change the file

Last edited by deroad; 06-09-2012 at 04:37 PM.
deroad is online now   Reply With Quote
Old 06-09-2012   #7
benzinjiq
Member
 
benzinjiq's Avatar
 
Join Date: Nov 2011
Posts: 323
Likes: 318
Liked 167 Times in 105 Posts
Mentioned: 30 Post(s)
Tagged: 0 Thread(s)
dev_hdd0\game\BCES00510\USRDIR - it goes there, when I install the PKG I create. But in the game (original backup) it is in dev_hdd0\GAMES\BCES00510\USRDIR.

I've seen official language packs, and other stuff getting added to the game, through updates. The "game" folder is where PKG files install always. I thought since it is an update the game would consider the newer files from it, but instead it keeps loading the old files from the "GAMES" folder.

Any help on the matter is welcome, because I'm really getting nowhere by myself...

Last edited by benzinjiq; 06-09-2012 at 04:47 PM.
benzinjiq is offline   Reply With Quote
Old 06-09-2012   #8
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 351
Likes: 67
Liked 345 Times in 120 Posts
Mentioned: 112 Post(s)
Tagged: 0 Thread(s)
maybe it's the loader?
deroad is online now   Reply With Quote
Old 06-09-2012   #9
benzinjiq
Member
 
benzinjiq's Avatar
 
Join Date: Nov 2011
Posts: 323
Likes: 318
Liked 167 Times in 105 Posts
Mentioned: 30 Post(s)
Tagged: 0 Thread(s)
I'm sorry, I don't think I understand what you mean?

Isn't GameUpdate (GameData) PKG file for adding new (or modified) files to the game? Like for example new costumes or any other content (like DLC, well not exactly DLC) and optimizations etc...

I just want to "update" the game with new PSARC, since I know that it is not possible to "replace" it with a PKG file, due to the different install paths. To be more user friendly, to people that will use my translations, since noobs have a hard time replacing files manually with file manager.

Last edited by benzinjiq; 06-09-2012 at 04:59 PM.
benzinjiq is offline   Reply With Quote
Old 06-11-2012   #10
benzinjiq
Member
 
benzinjiq's Avatar
 
Join Date: Nov 2011
Posts: 323
Likes: 318
Liked 167 Times in 105 Posts
Mentioned: 30 Post(s)
Tagged: 0 Thread(s)
OK, I have another question - is it possible to use make_edata_npdrm.exe, to make the PSARC like dlc? Or some other tool from the SDK, maybe?
benzinjiq is offline   Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 02:44 AM.