PS3 PKGi PS3 development

@bucanero feature request.

It would shure be nice if we could have multiple lists for example:

Custom/inport List # 1 (ex: No psn apps )
Custom/inport List # 2 (ex;: psn games )
Custom/inport List # 3 (other etc.......)

All locations searchable from searchbar of course.

Doable? Eithet way nice port. Works slick as butter. Hasn't let me down yet. Keep up your great works.
 
^ yes its possible like long time ago, you just need to convert some files to follow the default formatting that PKGi for PS3 support. unfortunately this formatting is universal, so if you use tsv files for your PSN database, well.. the homebrew and no psn app database will probably not work.

luckily tsv files can be converted but you will not have that db update support from that station site. while the homebrew and no psn apps are static (most of the time and doesnt require updating). so to make to work on all categories, you need to follow the tsv formatting.

i wish that you can actually assign the formatting on each categories (specially on homebrew category).
 
We found out here that only Retail PKG is installed during the Background download. Or custom PKG, but not Debag, but only Signed to Retail ones. Otherwise, in the case of Debug PKG, you will definitely receive error 8002AE04 when trying to install. Although, with Direct download, any PKG types are normally installed, without errors. I just bring it to your attention if you suddenly have questions about this error.

I think this is just a small flaw in HEN / CFW in patching the official background download function. Or maybe it can be somehow corrected by the program in these soap bubbles :)
 
We found out here that only Retail PKG is installed during the Background download. Or custom PKG, but not Debag, but only Signed to Retail ones. Otherwise, in the case of Debug PKG, you will definitely receive error 8002AE04 when trying to install. Although, with Direct download, any PKG types are normally installed, without errors. I just bring it to your attention if you suddenly have questions about this error.

I think this is just a small flaw in HEN / CFW in patching the official background download function. Or maybe it can be somehow corrected by the program in these soap bubbles :)

oh, that's a good piece of information, I had no idea

recently I was downloading a NoPSN youtube app, and tried the background download... when trying to install the .pkg bubble, I had an error but I thought it was a broken/corrupt download.
then I just tried with direct download and totally forgot about it

so it seems the original background download process either breaks something in the .pkg file, or adds some flag to the .pdb files... I think we could dump some of those .pdb files (before installing) and compare
With a direct download, the pkgi app creates those .pdb files and the pkg gets installed... doing some binary compare should show something there
 
We found out here that only Retail PKG is installed during the Background download. Or custom PKG, but not Debag, but only Signed to Retail ones. Otherwise, in the case of Debug PKG, you will definitely receive error 8002AE04 when trying to install. Although, with Direct download, any PKG types are normally installed, without errors. I just bring it to your attention if you suddenly have questions about this error.

I think this is just a small flaw in HEN / CFW in patching the official background download function. Or maybe it can be somehow corrected by the program in these soap bubbles :)
I wonder what CFW you are on? Rebug REX/DREX CFW would be a good test here as it uses the DEX download_plugin.sprx and also has the most extensive patches to it. In theory it should be able to handle debug pkgs properly.

Here is Rebug 4.84.2s download_plugin.sprx attached if anyone wants to see if it helps with this issue, it should work on all recent CFW.

I think it will partially work on HEN too but only if HEN is enabled, this will probably lead to issues if you reboot with an active background download.
 

Attachments

I haven't reviewed this issue in detail, but I think it's not the download_plugin, because the .pkg file is downloaded ok, and then the .pkg is moved as a bubble for installation.

The issue arises when you try to install that bubble, so I think it's not the download_plugin business anymore. (I assume the installation is handled by some other code)
 
We found out here that only Retail PKG is installed during the Background download. Or custom PKG, but not Debag, but only Signed to Retail ones. Otherwise, in the case of Debug PKG, you will definitely receive error 8002AE04 when trying to install. Although, with Direct download, any PKG types are normally installed, without errors. I just bring it to your attention if you suddenly have questions about this error.

I think this is just a small flaw in HEN / CFW in patching the official background download function. Or maybe it can be somehow corrected by the program in these soap bubbles :)
Error 8002AE04 because the content id is different from the pkg file.
 
I haven't reviewed this issue in detail, but I think it's not the download_plugin, because the .pkg file is downloaded ok, and then the .pkg is moved as a bubble for installation.

The issue arises when you try to install that bubble, so I think it's not the download_plugin business anymore. (I assume the installation is handled by some other code)
Ah I see, you are probably right then. Small chance it still is related to the download_plugin if its responsible for creating the bubble, I don't know much about bubbles though tbh.
 
I remember that some users were asking if PKGi could support translations... so I have been playing around and ported a minimalistic i18n library to PSL1GHT. This library supports .po files, so translating should be very easy for anyone using a free tool such as https://poedit.net/ .

I need to run some tests to see if everything works as expected, but if it works ok, then anyone will be able to translate the UI messages to their local language.

If anyone wants to test/translate, just let me know.
 
I remember that some users were asking if PKGi could support translations... so I have been playing around and ported a minimalistic i18n library to PSL1GHT. This library supports .po files, so translating should be very easy for anyone using a free tool such as https://poedit.net/ .

I need to run some tests to see if everything works as expected, but if it works ok, then anyone will be able to translate the UI messages to their local language.

If anyone wants to test/translate, just let me know.
I'm able to translate to brazilian portuguese.
 
Thanks, I'll keep note of possible translators.

Note: currently in PKGi some interface text is rendered with a standard ASCII (VGA font) charset, so the first iteration of this localization feature will be focused on "regular" languages (supported by ASCII charset).
Languages that require unicode might not be supported for translation for a while.

In any case, I'm pretty busy with real-life/work stuff, so it will take some time until I can finish the "beta" and get an eboot.bin ready for testing.
(most of the code is already there in my computer... I just want to run some local tests before sending half-baked things around)
 
I was finally able to test my internationalization support, and it's working nicely :D

my code is able to detect the current user's language setting, so it will try to load the translation file automatically. Again, if there's no file or some string is not translated, it will fall back to the english text.

The .po format is standard and can be edited easily, for example: (the i18n library actually supports .csv and .yts formats too, but I'll stick to .po for pkgi translations)

Code:
#: pkgi.c:468 pkgi_download.c:372 pkgi_download.c:652
msgid "Downloading..."
msgstr "Descargando..."
#: pkgi.c:468 pkgi.c:720
msgid "Preparing..."
msgstr "Preparando..."
#: pkgi.c:489
msgid "Content"
msgstr "Contenido"
#: pkgi.c:509 pkgi.c:513
msgid "Refreshing"
msgstr "Actualizando"
#: pkgi.c:568 pkgi.c:572
msgid "Count"
msgstr "Cantidad"

@jcorrea , if you have some free time, let me know and I can send you the blank Portuguese translation file, and a beta EBOOT.BIN so you can try it out :)
 
I can translete Turkish files. If interested tell me.
I was finally able to test my internationalization support, and it's working nicely :D

my code is able to detect the current user's language setting, so it will try to load the translation file automatically. Again, if there's no file or some string is not translated, it will fall back to the english text.

The .po format is standard and can be edited easily, for example: (the i18n library actually supports .csv and .yts formats too, but I'll stick to .po for pkgi translations)

Code:
#: pkgi.c:468 pkgi_download.c:372 pkgi_download.c:652
msgid "Downloading..."
msgstr "Descargando..."
#: pkgi.c:468 pkgi.c:720
msgid "Preparing..."
msgstr "Preparando..."
#: pkgi.c:489
msgid "Content"
msgstr "Contenido"
#: pkgi.c:509 pkgi.c:513
msgid "Refreshing"
msgstr "Actualizando"
#: pkgi.c:568 pkgi.c:572
msgid "Count"
msgstr "Cantidad"

@jcorrea , if you have some free time, let me know and I can send you the blank Portuguese translation file, and a beta EBOOT.BIN so you can try it out :)
 
I was finally able to test my internationalization support, and it's working nicely :D

my code is able to detect the current user's language setting, so it will try to load the translation file automatically. Again, if there's no file or some string is not translated, it will fall back to the english text.

The .po format is standard and can be edited easily, for example: (the i18n library actually supports .csv and .yts formats too, but I'll stick to .po for pkgi translations)

Code:
#: pkgi.c:468 pkgi_download.c:372 pkgi_download.c:652
msgid "Downloading..."
msgstr "Descargando..."
#: pkgi.c:468 pkgi.c:720
msgid "Preparing..."
msgstr "Preparando..."
#: pkgi.c:489
msgid "Content"
msgstr "Contenido"
#: pkgi.c:509 pkgi.c:513
msgid "Refreshing"
msgstr "Actualizando"
#: pkgi.c:568 pkgi.c:572
msgid "Count"
msgstr "Cantidad"

@jcorrea , if you have some free time, let me know and I can send you the blank Portuguese translation file, and a beta EBOOT.BIN so you can try it out :)


THats nice
 
I have been doing some additional improvements beyond the translation support... ;)

I added the option to scan the ps3 servers for updates, so pkgi now can scan+parse the update XMLs, and load all those update URLs as items in the content list. Then the user can download them manually or queue them for background download.

Also, some time ago I updated and rebuilt polarSSL and libcurl from PSL1GHT to newer versions, so PS3 homebrew can connect to TLS 1.2 https servers without issues.
So I'm thinking about moving the http download code to use the new libcurl too. Is not critical for pkgi, but with proper SSL support with TLS 1.2, the app would be future-proof compatible with newer servers (most plain "http" servers will eventually disappear from the web)
 
I have been doing some additional improvements beyond the translation support... ;)

I added the option to scan the ps3 servers for updates, so pkgi now can scan+parse the update XMLs, and load all those update URLs as items in the content list. Then the user can download them manually or queue them for background download.

Also, some time ago I updated and rebuilt polarSSL and libcurl from PSL1GHT to newer versions, so PS3 homebrew can connect to TLS 1.2 https servers without issues.
So I'm thinking about moving the http download code to use the new libcurl too. Is not critical for pkgi, but with proper SSL support with TLS 1.2, the app would be future-proof compatible with newer servers (most plain "http" servers will eventually disappear from the web)
it is a new release? or a svn? can you provide pkg for the nightly version?
 
Back
Top