New Method for Downloading/Installing Packages and rare XMB items

btw: I have done some tests with pdbs, it works if you take one off the system as a file is downloading, cancel the file, then drop the pdbs back into vsh/task and reboot and the items reappear in download control / install pkgs. If we knew how to make the XMB do that little blink refresh it does after installing an app then we would not need to reboot to have them appear afaik.
The pdb creation method as implemented in Irisman (see pkg_install.c) works fine.
Not sure how to refresh XMB via xml though but hopefully it can be done..
 
Last edited:
A bummer about the no background downloads. When I got the alert from YouTube last night and saw this I was excited as I love the visual part of seeing the icon after choosing a file.
 
A bummer about the no background downloads. When I got the alert from YouTube last night and saw this I was excited as I love the visual part of seeing the icon after choosing a file.
We don't know much about all the various options that can be used with this method yet.. I would not be surprised if we actually found a way to use background downloading as well...
 
If we knew how to make the XMB do that little blink refresh it does after installing an app then we would not need to reboot to have them appear afaik.
Hint from explore_plugin ;) :

  • reload_category music
  • reload_category video
  • reload_category photo
  • reload_segment_focused
  • reload_category
  • reload_category_items
  • reload_segment_focused
  • reload_segment_index
  • ReloadHost
  • reload_category_items game
  • reload_list
  • reload_category video
  • reload_list
  • reload_category_items friend
  • FacebookDelAccReload
  • /ps2emu2_savedata&subclass=x-host/ps2_newsavedata&limit=2048&reload=on
  • ReloadHost
  • ReloadXil
  • reload
Of course as always. I have no idea how to use it. XD
 
Hint from explore_plugin ;) :

  • reload_category music
  • reload_category video
  • reload_category photo
  • reload_segment_focused
  • reload_category
  • reload_category_items
  • reload_segment_focused
  • reload_segment_index
  • ReloadHost
  • reload_category_items game
  • reload_list
  • reload_category video
  • reload_list
  • reload_category_items friend
  • FacebookDelAccReload
  • /ps2emu2_savedata&subclass=x-host/ps2_newsavedata&limit=2048&reload=on
  • ReloadHost
  • ReloadXil
  • reload
Of course as always. I have no idea how to use it. XD

Nice one. I think you are on the right track there, I am noticing, if I install a pkg from the network category, then it only refreshes the network category, so I can get items in the network category to show instantly, but other categories require a reboot if the package is installed from network.
 
Nice one. I think you are on the right track there, I am noticing, if I install a pkg from the network category, then it only refreshes the network category, so I can get items in the network category to show instantly, but other categories require a reboot if the package is installed from network.
There are several ways to do it by code, I believe, for example, we could use a xmb_plugin.sprx function to execute a XMB category reload command located in explore_plugin.sprx as detailed in the wiki http://www.psdevwiki.com/ps3/Explore_plugin

It must be feasible via xml too though..
 
Just on the off chance, I tried calling those above reload function via a module action command like this:
Code:
<Table key="reload_category_items">
<Pair key="icon"><String>/dev_hdd0/game/CFWEXTRAS/USRDIR/IMAGES/icon_pkg.png</String></Pair>
<Pair key="title"><String>Reload</String></Pair>
<Pair key="module_name"><String>explore_plugin</String></Pair>
<Pair key="module_action"><String>reload_segment_focused</String></Pair>
</Table>

No luck :(

It doesn't really matter how the refresh is called, but really for a pdb pkg manager to be viable it needs to happen somehow, I think.

EDIT: If a solution cant be found a possible work around could be to have a direct link to a tiny dummy pkg with the title "refresh", included in the package manager item somewhere, click that and the xmb refreshes after install and also rescans the pdb folder..maybe..
 
Last edited:
Just on the off chance, I tried calling those above reload function via a module action command like this:
Code:
<Table key="reload_category_items">
<Pair key="icon"><String>/dev_hdd0/game/CFWEXTRAS/USRDIR/IMAGES/icon_pkg.png</String></Pair>
<Pair key="title"><String>Reload</String></Pair>
<Pair key="module_name"><String>explore_plugin</String></Pair>
<Pair key="module_action"><String>reload_segment_focused</String></Pair>
</Table>

No luck :(

It doesn't really matter how the refresh is called, but really for a pdb pkg manager to be viable it needs to happen somehow, I think.

EDIT: If a solution cant be found a possible work around could be to have a direct link to a tiny dummy pkg with the title "refresh", included in the package manager item somewhere, click that and the xmb refreshes after install and also rescans the pdb folder..maybe..
Such a "category refresh" feature can easily be added to the extended xai_plugin although it would have been better to avoid any such dependency.
Let me know if you want wish me to add the feature in the extended xai_plugin, especially as I have started to work on it last night..
I have a few hours of free time this weekend so am trying to make good on my promises... Lol
 
Such a "category refresh" feature can easily be added to the extended xai_plugin although it would have been better to avoid any such dependency.
Let me know if you want wish me to add the feature in the extended xai_plugin, especially as I have started to work on it last night..
I have a few hours of free time this weekend so am trying to make good on my promises... Lol

Well if there is no downside to adding more functions and its not loads of work then go for it. Handy to have it available. Would be nice to do it without anything else but I think the xai plugin will be the minimum people should have running these days. The people who will be trying out mods like these will almost surely have it and we can almost work expecting them to have it at this stage I think, the latest version at the time could even start to be included in the installers for mods that depend on it just in case.
 
Well if there is no downside to adding more functions and its not loads of work then go for it. Handy to have it available. Would be nice to do it without anything else but I think the xai plugin will be the minimum people should have running these days. The people who will be trying out mods like these will almost surely have it and we can almost work expecting them to have it at this stage I think, the latest version at the time could even start to be included in the installers for mods that depend on it just in case.
Ok. I will add it then.. [emoji6]
I don't think implementing that category refresh feature will be a lot of work tbh.

The obvious category to refresh is the games category however do you think we may need a refresh for other categories too? Which ones?
 
Ok. I will add it then.. [emoji6]
I don't think implementing that category refresh feature will be a lot of work tbh.

The obvious category to refresh is the games category however do you think we may need a refresh for other categories too? Which ones?

That will require some testing, What Im really thinking about is the pdbs, Im not sure if they would be tied to the game category, or network, as that is where the download control is located, or maybe it needs to be something else, hard to say.
 
I am not sure but it's very possible that the network category refreshes automatically anyway because of the download management entries..
To be checked...
 
yeah I can remove the pkg_src patch, in my category mod I have just doubled up the links. It works fine without any patches to sprx in that case.

My only reason for patching it was to remove another line of xml and to see if I could :) . I was considering converting XMBPD when I was doing those patches stripping down the xml, it would have made the xml quite a bit smaller over so many entries, but you are right that less patches is better for testing,

btw I didn't patch net_package_install in the sprx, I just replaced home_install in the xml, sorry I wasn't very clear about that in my above post.
Oki, that was confusing me a bit, you said you was replacing names in the prx and i was wondering maybe the functions was switching by that patch
Good now is clear, so is basically the classic method with the double icon as a failback

Just checked using a URL for the prod_pic_path and it works. :)
Hehehe, nice, this is new, i will add to wiki
Next thing you could try to load from network is the TITLE ("content_name")

Im not sure about xai_plugin.rco as the xai_plugin has nothing to do with this item really afaik, So im not sure why it would check that rco, I will do some checks though.
I mentioned it because xai_plugin belows to network category, there are interconections between .sprx modules so maybe xai_plugin.rco contents are available
Is just a blind shoot, but worths a try incase loading the "content_name" from network doesnt works (otherway if the "content_name" can be loaded from network then there is no need to modify any .rco, network is more convenient)

We don't know much about all the various options that can be used with this method yet.. I would not be surprised if we actually found a way to use background downloading as well...
I agree with you when you said before that is posible that exists one attribute (a.ka. one of that "pair") to enable the background download
This is another blind shoot, but the bigger argument for this theory is because is very handy and looks like the best way to do it with one of that "pair" attributes
But in xmbml official files there is nothing like that... it could be hardcoded inside one sprx (an .sprx related with background downloads of course)

Just on the off chance, I tried calling those above reload function via a module action command like this:
Code:
<Table key="reload_category_items">
<Pair key="icon"><String>/dev_hdd0/game/CFWEXTRAS/USRDIR/IMAGES/icon_pkg.png</String></Pair>
<Pair key="title"><String>Reload</String></Pair>
<Pair key="module_name"><String>explore_plugin</String></Pair>
<Pair key="module_action"><String>reload_segment_focused</String></Pair>
</Table>

By reading the list kozarovv posted i would try with:
Code:
<Pair key="reload_category"><String>network</String></Pair>
 
Last edited:
Im not sure how you mean with loading the content_name from network, you mean with a URL somehow?

No luck with "<Pair key="reload_category"><String>network</String></Pair>".
 
Im not sure how you mean with loading the content_name from network, you mean with a URL somehow?
Yes but im not sure how to do it, maybe there is something in the XIL files similar ?
XIL files loads text strings from network, i was looking at them today trying to find how to do it but i could not find any useful hint
No luck with "<Pair key="reload_category"><String>network</String></Pair>".
Ok, not much to say, was just a random idea :/
 
Such a "category refresh" feature can easily be added to the extended xai_plugin although it would have been better to avoid any such dependency.
Let me know if you want wish me to add the feature in the extended xai_plugin, especially as I have started to work on it last night..
I have a few hours of free time this weekend so am trying to make good on my promises... Lol


Man I almost forgot about your research and work on this plug-in. Doesn't get enough attention. What is the link to the development so I can follow it please kind sir.
 
No luck with "<Pair key="reload_category"><String>network</String></Pair>".
To be honest I think now that just refreshing category can be not enough. Maybe one of ese plugins can refresh task list, but is always worth to try also with other ones. But back to ese, here are some possible values (via devwiki):

ese://localhost/fixed?type=dlctl
ese://localhost/item?
ese://localhost/item?id=
ese://localhost/query?
<Query class="type:x-xmb/folder-pixmap" key="seg_hdd_install" src="ese://localhost/query?type=install_game"/>

ese://localhost/query?type=download_control
ese://localhost/query?type=download_list

ese://localhost/query?type=install_game
ese://localhost/query?type=install_video
ese://localhost/query?type=install_pkg

Also as a reminder, some functions need bar_action when called. Iirc even in xai_plugin.
 
Last edited:
Man I almost forgot about your research and work on this plug-in. Doesn't get enough attention. What is the link to the development so I can follow it please kind sir.
That would be because there's no dedicated thread for the project yet.
The handful of builds I posted so far were just test builds, PoCs of sorts. You can find those along with syntax explanations in the Configuration Manager thread http://www.psx-place.com/threads/configuration-manager.13022/page-4

Having said that, I intend the next build of the extended xai_plugin to be released in its own dedicated thread & the source will be available on github.
 

Similar threads

Back
Top