OK, So I need help with this mod, its so close, that i think if we put out heads together we can solve it in a few hours most likely.
@aldostools @ lmn7
@kozarovv @Joonie @habib @anyone who might be able to help.
So I have about 3 different methods on the go now, they all have their plus points, I need help deciding which path is best to go down. Maybe we need to use multiple methods to achieve everything.
Its a little complicated, as the method all have limitations, so I am going to try explain issues.
Method 1: One file type at a time method
In this method we patch download_plugin.sprx, we just change "p3t" to our preferred file type here:
That is enough to download to the dev_hdd0/theme folder, but we can also change the path "theme" to our preferred path on dev_hdd0 here:
it is possible to go up a level with ../ in the sprx, and then access other partitions, but we are limited on space as its hex, but I think we can go longer and wipe out the next entry as its only for mnv movies which are not popular and could be patched out temporarily while downloading another filetype, and switched back after, or we can download pkg files to dev_hdd0/package (note the missing "s") , this will fit into the space we have available so is not a bad patch.
Method 1 Good points:
- Easy to do
- It allows any file type
- It allows lots of paths depending on depth.
- The download completes fully
- The file is available after download.
Method 1 Bad points:
- Only 1 file type allowed per patch
- Only 1 path allowed per patch
- Requires sprx patch so makes OFW patch difficult
- Long paths on other partitions might be an issue
Method 2: Adding paths individually method
I really like this mod, i think if we can get this to work 100% it is the way to go, In this mod, I add all my paths to the download_list.xml.
So it looks like this:
I have downloads fully working directly to dev_blind, so this method could be used to install the HAN support files directly to flash lol. Also
@lmn7 @ShaolinAssassin This will work to simplify all the coldboot/wave/font installers, they can be downloaded directly to correct location, and it will work on OFW.
So this is the method I want to perfect. This is 100% xml mod only.
So i have attached a download_list.xml , please try it out. I have also attached a bookmarks xml, this bookmarks xml links to lots of sample file types and makes testing quicker:
Here is the error that is killing hdd downloads when they get to 100%
<Text name="msg_error_download_failure">An error occurred during the download operation.</Text>
Bonus interesting discovery, well maybe everyone knew, but i did not. We can pass a null value in xml, and it works.
So this patch, stops the sprx from adding "/tmp/downloader/" to this path, the nul kills the entry dead, and give me access to root of HDD.
I have another method too, which i will explain later.
I need to know more about remapping paths for that one, symlinks etc, but i need it explained in noob speak. Links with loads of C code is no good for me, but i will be able to get the concepts, just not the lingo.