PS3 pkg_custom 1.4

The tool is for PS3... you should ask to someone versed in PS4 subject.
Unfortunately, I was only able to create a game built with my patch,This is a problem for me.
klhCoNN.jpg
 
@aldostools

I usually have problems extracting custom packages bigger than 1gb or something similar, it stops near completion as you can see the size of the .dec file

BTW i'm using the latest one from your github

XpLlnsj.png
 
Last edited:
@aldostools

I usually have problems extracting custom packages bigger than 1gb or something similar, it stops near completion as you can see the size of the .dec file

BTW i'm using the latest one from your github

XpLlnsj.png
Download again the current pkgcustom.exe and test again. I made a fix a few weeks ago. It was not creating the covers pack of 400MB. I haven't tested creating packages larger than that.

The source code is available on my github if someone that knows Python wants to improve the script.
 
Download again the current pkgcustom.exe and test again. I made a fix a few weeks ago. It was not creating the covers pack of 400MB. I haven't tested creating packages larger than that.

The source code is available on my github if someone that knows Python wants to improve the script.
I can tell you, this current tool is impressive. It's about the only tool I could find that would pack 550,000 files into a working 39GB package, no messing, worked first time. :)
 
I can tell you, this current tool is impressive. It's about the only tool I could find that would pack 550,000 files into a working 39GB package, no messing, worked first time. :)

550K files!! :eek: I hope that you're not talking of an Ultimate Toolbox Infinite version LOL :D

Credits to CaptainCPS-X & lmn7 for the script and improvements. I only made optimizations & a few fixes to the script.
 
Download again the current pkgcustom.exe and test again. I made a fix a few weeks ago. It was not creating the covers pack of 400MB. I haven't tested creating packages larger than that.

The source code is available on my github if someone that knows Python wants to improve the script.

Creating is okay, the issue is extracting :P
 
Does anyone know How to make a video download this way

@DeViL303 @sandungas @aldostools

JSmyBTy.png
The web needs to provide the correct MimeType for the file (lets say is an .AVI), the download plugin is going to do differet things for every file type
https://www.psdevwiki.com/ps3/Download_plugin

For a reference you can take a look at the XMB database
Keep in mind evrything downloaded by the PS3 needs to be "indexed" in the databases, so there are references in the database for all the supported multimedia formats
 
Creating is okay, the issue is extracting :P
Aldo changed MaxCacheSize in the latest version, which is used in the extraction function too. Also just to note, I can extract large files with the original ".dec" implementation, so I think it should be fixed in this latest version from Aldo as long as the cache size isn't too large.
 
Aldo changed MaxCacheSize in the latest version, which is used in the extraction function too. Also just to note, I can extract large files with the original ".dec" implementation, so I think it should be fixed in this latest version from Aldo as long as the cache size isn't too large.
No it hasn't been fixed yet. If the package is too large, the script fails creating the dec file. It extracted fine a package of 400mb, but failed extracting one of 1gb. It fails at the end of the creation of the .dec file

I haven't had time to continue testing, due it takes a long time to extract these large packages.
 
No it hasn't been fixed yet. If the package is too large, the script fails creating the dec file. It extracted fine a package of 400mb, but failed extracting one of 1gb. It fails at the end of the creation of the .dec file

I haven't had time to continue testing, due it takes a long time to extract these large packages.
I tested creating and extracting a pkg ~ 2GB in size with the old version and it works fine. You can try comparing the old script with the new one, it might help you pinpoint the issue.
 
I tested creating and extracting a pkg ~ 2GB in size with the old version and it works fine. You can try comparing the old script with the new one, it might help you pinpoint the issue.

The error occurs processing the last chunk of this code. Specifically calling the crypt() function.
upload_2022-8-4_13-30-5.png

The .dec file is created partially. In my test the PKG is 1,068,001 KB, but the .dec file aborted at 1,048,576 KB.
In my internal test build I increased the buffer size to 128MB, but the error still occurs.

As it fails in: decFile.write(crypt(context, pkgData, chunkSize)) the partial .dec file is created but the package is not extracted.

Smaller files are decrypted fine. The PKG that fails has only 5 files: 3MB, 511MB, 42MB, 443MB, 42MB,

I have been too busy lately with personal issues, so I haven't had time to continue debuging.
 
Back
Top