PS3 [RESEARCH] Downloading all unknown file types to HDD and Flash

I didn't get this notification sorry, what do you want exactly?
hello, it was to know if you already have some assembler and debugger offline or online from dev_hdd0 for dev_hdd1 that you can send me to test the downloads. If you can send me, I'll be grateful !!
 
Okay I made a pkg that includes two files:

/dev_flash/vsh/resource/explore/xmb/category_game.xml (will replace some XMB mods)
/dev_flash/vsh/resource/explore/xmb/download_list.xml

I opted to use dev_flash2 for downloads instead of dev_hdd1, reason being that dev_hdd1 is a temporary cache partition, downloads will be removed upon rebooting. So when you download a file from the browser you can now save it to dev_flash2/packages. I also edited the package manager to scan for packages in that folder, so you can install directly from there.

Before installing the pkg, enable debug packages and mount flash.
 

Attachments

I want to try pkg games to download to HDD0/packages folder with or without background download. Please help me.
I'm on 4.84 HFW
t
To do it without background download the best way is the net_package_install method as far as I know, aka pkg linker etc.

There might be better methods involving spoofing pkg as other filetypes or editing download_plugin.sprx, more research to be done.
Okay I made a pkg that includes two files:

/dev_flash/vsh/resource/explore/xmb/category_game.xml (will replace some XMB mods)
/dev_flash/vsh/resource/explore/xmb/download_list.xml

I opted to use dev_flash2 for downloads instead of dev_hdd1, reason being that dev_hdd1 is a temporary cache partition, downloads will be removed upon rebooting. So when you download a file from the browser you can now save it to dev_flash2/packages. I also edited the package manager to scan for packages in that folder, so you can install directly from there.

Before installing the pkg, enable debug packages and mount flash.
We can probably come up with some better solution than that long term..hopefully
 
Last edited:
Okay I made a pkg that includes two files:

/dev_flash/vsh/resource/explore/xmb/category_game.xml (will replace some XMB mods)
/dev_flash/vsh/resource/explore/xmb/download_list.xml

I opted to use dev_flash2 for downloads instead of dev_hdd1, reason being that dev_hdd1 is a temporary cache partition, downloads will be removed upon rebooting. So when you download a file from the browser you can now save it to dev_flash2/packages. I also edited the package manager to scan for packages in that folder, so you can install directly from there.

Before installing the pkg, enable debug packages and mount flash.
I just tested, but it seems dev_flash2 has a limited amount of space, I do not know if I did something wrong
 
And what I was thinking was to mount dev_hdd0 to dev_hdd1, so the donwloads go straight to dev_hdd0 as a disguise
not to give error understand? But I do not know if it would work.
 
Agreed, it's just a temporary solution. I'll still be researching better methods to do this.

The issue is that we're so limited when it comes to OFW, all we can really edit is xml's & rco's... and we've already tried a lot of stuff.
Yeah, it's cool for now for sure. Nice one.

I have not tested much, but does all of dev_hdd1 get wiped on reboot? I know it won't be mounted of course. Did not know that.
And what I was thinking was to mount dev_hdd0 to dev_hdd1, so the donwloads go straight to dev_hdd0 as a disguise
not to give error understand? But I do not know if it would work.
Yeah, I'm hoping something similar is possible. Tbh I have never seen proper remapping done where you can browse hdd like it's USB.
 
I just tested, but it seems dev_flash2 has a limited amount of space, I do not know if I did something wrong
Hmm, well dev_flash2 is a FAT32 partition so I guess the 4GB file limit applies here. If you're looking for a way to download pkgs locally, I have a script for that, and you can download directly to dev_hdd0. But if that's the case you could just use PKG Linker.

And what I was thinking was to mount dev_hdd0 to dev_hdd1, so the donwloads go straight to dev_hdd0 as a disguise
not to give error understand? But I do not know if it would work.
From what I can tell you can't mount dev_hdd0, probably because of the size of the hard drive. When I tried mounting it in Webkit, the console didn't crash but it kind of just got stuck. You're welcome to test this yourself if you wish.

I have not tested much, but does all of dev_hdd1 get wiped on reboot? I know it won't be mounted of course. Did not know that.
I assume it does since games use it for caching. I haven't tested it thoroughly though.
 
dev_flash2 has 16MB free
dev_hdd1 has 2GB

Both devices are small if you plan to use that feature to download games.

BTW I found that using //dev_hdd0 prevents to use the background download... it still has the error when finish the DL.
Yeah, If we can't solve deletion error and fix this fully, we could modify the sprx to replace "p3t" with "pkg" and replace dev_hdd0/theme with dev_hdd0/packages. This would cover most PS3 files that are over 2gb, with hdd1 used for smaller files.

Not ideal, but it's better than what we had a week ago so it's progress.
 
Hmm, well dev_flash2 is a FAT32 partition so I guess the 4GB file limit applies here. If you're looking for a way to download pkgs locally, I have a script for that, and you can download directly to dev_hdd0. But if that's the case you could just use PKG Linker.
In fact the goal from the beginning was to download all the files, but MAJORLY in the background. But I see this is not going to be easy on ofw, I was commenting with @DeViL303 if we could handle all the same PSN files that can put in the background. That is to get this resource from PSN and put it to any file.
From what I can tell you can't mount dev_hdd0, probably because of the size of the hard drive. When I tried mounting it in Webkit, the console didn't crash but it kind of just got stuck. You're welcome to test this yourself if you wish.
Yes, I would like it if you want, you can send it.
 
Yeah, If we can't solve deletion error and fix this fully, we could modify the sprx to replace "p3t" with "pkg" and replace dev_hdd0/theme with dev_hdd0/packages. This would cover most PS3 files that are over 2gb, with hdd1 used for smaller files.

Not ideal, but it's better than what we had a week ago so it's progress.

I agree... it's much better than nothing ;) Only that the download folder should be changed to /PKG or /packages.

That would cover almost all files types if they are included in the pkg.
 
As far i saw dev_hdd1 is not emptyed when you reboot or turn off the PS3, im not completly sure though but i can explain the 2 reasons why im saying this:

There is a tool to repack a container fileformat used by naughty dog games, lot of time ago i was using it for fun to create some custom textures for t-shirts and cloths (i made a t-shirt for joel with the punk band "the exploited" that was nice, lol)
While playing with that, in one of the tests i created a corrupted file without noticing it, then i copyed it to PS3, booted the game and when i tryed to play it crashed... ok, this is when i realized the file i made was corrupted
Long story short... my corrupted file was copyed to cache (as part of dev_hdd1 i guess because at that time there was no way to check the dev_hdd1 contents in CFW)... and this caused me to enter in a crash loop
I tryed to delete the gamedata, savetada, the trophy installation... restoring the game files to original (verifyed by an IRD check)... but still the game was crashing
It took me 3 days to realize about what was happening, and this was driving me crazy because i know how the PS3 works etc
Eventually, at the third day i had one of that enlightment moments and i realized my corrupted file should be stored in cache, and nothing of what i was doing was "updating it"... in that exact moment i figured out the solution was simply by booting a different game
When you boot a game (and only incase that game uses cache), the first thing it does is to cleanup cache contents (it emptyes dev_hdd1)... and after that it stores his files in cache

----------
Nowadays we can see the dev_hdd1 contents in CFW... the filemanager inside ManaGunZ can do it, and everytime i took a look at it i see there are some files in it... but that files are not generated by managunz, they belongs to the last game i booted (before entering ManaGunZ)
The point is... ManaGunZ doesnt emptyes the contents of dev_hdd1 because doesnt uses it
This allows you to use the filemanager in ManaGunz to copy or modify the cache files generated by other games on dev_hdd1

I never made a serious test to check the dev_hdd1 contents though... but is not hard to do
1) boot a game, start playing (you need to play a bit to force the game to store files from "chapter 2" or whatever), and quit game
2) use ManaGunZ to take a look at dev_hdd1 contents
3) turn off PS3
4) boot PS3
5) use ManaGunZ to take a look at dev_hdd1 contents (files should be identical to the ones in step 2)
 
Code:
window.external.system("Webbrowser.Download.StartBackground?http://site.com/anyfile.anyextension&filename.usableExtension")

After the first ? you can pass a filename parameter. this way you can use any known extensions. Example using this:
........nd?http://site.com/test.pkg&test_renamed.png
It will donwload an existing test.pkg as test.png. The huge benefit of this is that it makes possible background downloading from already hosted PKG files (and any other files in general)
And no, you can not use you filepath tricks on the filename parameter.
 
Back
Top