PS3 pkg_custom 1.4

Just realized to this method to work ( installing the folder via dev_hdd0 and via PKG at the same time) the pkg must be installed twice o_O, any work around?

The build in my repository currently supports only one method:
1- GD/HG/DG/etc if PARAM.SFO is found in the folder;
2- Or custom if PARAM.SFO is not found (default behavior).

The source code can adapted for hybrid installation changing prefixLen & prefixPath in the following 2 lines:
https://github.com/aldostools/webMA...cts_/wm_url_launcher/pypkg/pkg_custom.py#L588
https://github.com/aldostools/webMA...cts_/wm_url_launcher/pypkg/pkg_custom.py#L598
 
I uploaded the source for make_package_custom_gd here. IIRC I only changed maybe 3 lines or so. Anyone can merge those changes with aldo's updated source code.

can you increase the number of folders depth? seems like it allows only 9, if has more than it, the APP will not be included in the database.

I'm using a mix of dev_hdd0 and Homebrew ( USRDIR + SFO)
 
can you increase the number of folders depth? seems like it allows only 9, if has more than it, the APP will not be included in the database.

I'm using a mix of dev_hdd0 and Homebrew ( USRDIR + SFO)

The 9 subdirectories is limited by psn_package_ndrm. The python script doesn't have that issue.

Use the patch in the attachment to bypass that limitation.
 

Attachments

The 9 subdirectories is limited by psn_package_ndrm. The python script doesn't have that issue.

Use the patch in the attachment to bypass that limitation.

Thanks Aldo, but I'm using make_package_custom_gd.exe, for me it works better than using the Right click > " Make PKG" (psn_package_ndr) of your tools, i don't know why it always use the CONTENT ID of the last decompiled pkg instead of reading it from the FOLDER param.sfo or the DIR name.

I'm needing to use at the same time the hybrid process of dev_hdd0 and including the app in the database, that @lmn7 make_pakage_custom_gd.exe allows, the issue i'm having is if i use more than 9 subdirectories the APP will not be added in the Database, using patch_psn_package_ndrm won't work on it, will it?


EDIT:

I sorted it out by renaming make_package_custom_dg.exe to psn_package_ndrm.exe and ran patch_psn_package_ndrm.exe all options except the number of directories bugged, so I set it to 50 and it's now working ( the one with just some files)

EDIT:2

I compiled the whole thing and still didnt work lol

c4qyhhe.png
 

Attachments

Last edited:
@aldostools

When you have time, please, can you provide me a version of the pkg_custom that supports hybrid content? (USDIR + PARAM.SFO..... + dev_hdd0)

I solved the number of directories limit by renaming make_package_custom_dg.exe to psn_package_ndrm.exe and ran patch_psn_package_ndrm.exe, but seems like i don't know if its my PKG size or the number of files it won't be added to the database,

I did a lot of testing, but now it looks like if the package exceeds 1GB+ it won't be added to the database

I tried with X content = worked, with Y content = worked

X+Y = not added to the database.


See the PKG has all the content but see the folder content after the pkg install, it does not have PARAM.SFO and other files. ( the dev_hdd0 are all installed, except content outside USRDIR)

m805hsS.png


X= 8XX MB
Y = 7XX MB
XY= 1.5 GB

My whole pkg 4.1GB


I don't know what more to do, i tried more than 20 times and it took me 3 days, as it is slow to compile and install.
 
Last edited:
@aldostools

When you have time, please, can you provide me a version of the pkg_custom that supports hybrid content? (USDIR + PARAM.SFO..... + dev_hdd0)

I solved the number of directories limit by renaming make_package_custom_dg.exe to psn_package_ndrm.exe and ran patch_psn_package_ndrm.exe, but seems like i don't know if its my PKG size or the number of files.

I did a lot of testing, but now it looks like if the package exceeds 1GB+ it won't be added to the database

I don't know what more to do, i tried more than 20 times and it took me 3 days, as it is slow to compile and install.

I don't know how the patch could fix your issue. It was designed to patch psn_package_ndrm.exe, not the phython version.

This is the version of pkg_custom that I use:
https://github.com/aldostools/webMAN-MOD/raw/master/_Projects_/updater/pkg_custom.exe

I supports USRDIR and dev_hdd0. I'm not sure if it supports both at the same time.

The source code of pkg_custom.py is found here (if you need to modify it):
https://github.com/aldostools/webMAN-MOD/tree/master/_Projects_/wm_url_launcher/pypkg
 
I don't know how the patch could fix your issue. It was designed to patch psn_package_ndrm.exe, not the phython version.

This is the version of pkg_custom that I use:
https://github.com/aldostools/webMAN-MOD/raw/master/_Projects_/updater/pkg_custom.exe

I supports USRDIR and dev_hdd0. I'm not sure if it supports both at the same time.

The source code of pkg_custom.py is found here (if you need to modify it):
https://github.com/aldostools/webMAN-MOD/tree/master/_Projects_/wm_url_launcher/pypkg

I added a screenshot of the missing content after the compilation ( see above)

pkg_custom does not support both of them, it will compile as a normal homebrew, the problem is that i don't know what to change in the source and how to compile it :biggrin2::biggrin2:

EDIT

I just realize that is the same problem i had almost 2 years ago :P, i reported it in the previous page
 
Last edited:
You can try this build... it has hybrid folder structure support. I included the source code.
View attachment 34851

Thanks aldo, it will optimize my mod a lot, I currently use 3 packages due to this kind of error.

I will only have time at the end of the week to take a test, I'm going to travel abroad in a hurry today because a relative of my grandparents got very sick, so I will accompany them
 
Last edited:
@LuanTeles , I hope for the best with your grandparents. I was very close with mine.

Thank's @pinky

I'm very close to my grandparents, actually I've lived with them since I started college (it's 5 minutes far from their home), luckily they are more active and healthier than me :P

We come to see my grandmother's niece, the doctor said he can't do anything else for her, she had a stroke recently and had some serious sequelae, she was recovering well at home, but last week she contracted pneumonia that compromised her lungs, she is too doped by remedies, but it looks like she is having an improvement, today she woke up for a short period and had a bit of lucidity, I hope she recovers soon.
 
Last edited:
@aldostools

Seems like the dev_hdd0 folder is being created instead of only it's contents


image.png

How is the folder structure in Windows?

In my test I created a folder CUSTOM containing dev_hdd0, dev_blind, etc. and I drag and drop CUSTOM to pkg_custom.exe

If you have a small test folder and the producted pkg. I could compare it with my results.
 
I just made a dummy pkg with just some common files to keep it light

WIGn3NB.png
nLAPwzI.png


Here the pkg

https://www.mediafire.com/file/f0ef88u99vzmrgb/TEST.pkg/file

Try the new build of pkg_custom in the attachment.

The issue was that the custom packages normally use THEME as content type. They install in /dev_hdd0/theme; and the root is ../..
But in the hybrid package, the installation path is /dev_hdd0/game/TITLEID and the root is ../../.. (one .. more)
 

Attachments

Try the new build of pkg_custom in the attachment.

The issue was that the custom packages normally use THEME as content type. They install in /dev_hdd0/theme; and the root is ../..
But in the hybrid package, the installation path is /dev_hdd0/game/TITLEID and the root is ../../.. (one .. more)


The new build installed just the dev_hdd0 files :beguiled:
EDIT: Small package worked just fine, i'll investigate the issue now with the full pkg

Edit 2: I made other big PKG about 1.3GB and only the dev_hdd0 files got installed

PM94wk8.png

pg1QqSw.png
 
Last edited:
The new build installed just the dev_hdd0 files :beguiled:
EDIT: Small package worked just fine, i'll investigate the issue now with the full pkg

Edit 2: I made other big PKG about 1.3GB and only the dev_hdd0 files got installed

PM94wk8.png

pg1QqSw.png

Are you including the PARAM.SFO and ICON0.PNG in the "root" of the CUSTOM folder?

Something like this:
Code:
CUSTOM
|__ PARAM.SFO
|__ICON0.PNG
|__USRDIR
|    |__EBOOT.BIN
|__dev_hdd0
     |__boot_plugins.txt
 
Back
Top