Post: Make_pkg by d0zs
06-06-2011, 04:02 AM #1
(adsbygoogle = window.adsbygoogle || []).push({});
Originally posted by another user
Originally Posted by d0zs
make_pkg

just a straight forward pkg builder, doesn't require cygwin, doesn't modify the eboot or param, gets the job done much quicker than my shitty old patcher. same folder structure, drag->drop, etc.

fixed many potential bugs, also made it intercept psn_package_npdrm's output so you can see it work.

i originally posted make_pkg because i saw mr goodfrag's tutorial using one of my old very poorly coded patcher to compile the pkg. so since i had coded make_pkg for myself some months ago, i figured it could save people using that tutorial the hassle of compiling pkg's and so i went ahead and posted it. but unfortunately, when i do post something, it's almost always buggy because i haven't thoroughly tested it for public use (as was the case for make_pkg i posted earlier), but i'm fairly certain i got the bugs ironed out to be stable enough, so sure go ahead and make it official.

if you want the technical details: first it checks if the eboot & param exist, then it reads the param values and uses those values to generate the config.conf, next it will set the home environment variable (this makes it so it doesn't require cygwin), and finally execute psn_package_npdrm.exe.

there's a few things the user needs to keep in mind to make a successful pkg: 1) the game folder name must be exactly 9 characters 2) the TITLE_ID in param.sfo must be the exact same as the folder name 3) the CATEGORY in param.sfo must be set to HG

bare minimum folder structure must look like, for example:

COMPILEME <---9 character root dir (the directory you use to drag to the exe)
|-PARAM.SFO
|-ICON0.PNG
-\USRDIR
--|EBOOT.BIN

there's a few other things i can cover, but those are the top 3, any errors that result will be relayed through the console from psn_package_npdrm.exe so the user knows what to fix.

even though i don't label my projects as open source, i'm very lax when it comes to sharing code. this was a very simple project, so i have no problem giving the source out to anyone that requests it, as with all my other releases.

i'll get it up on d0zs.tk eventually, right now i'm seeing if i should make it have control of the other dev tools, but it's definitely fine for now.

Virus Scan - You must login or register to view this content.
Download - You must login or register to view this content.
Source - You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked RoyalNota for this useful post:

PS3 Prodigy
06-06-2011, 04:38 AM #2
nice post man thanks...this is really gonna help me out alot

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo