157w ago - Here's a small app called n4ru Flash Loader, a successor to JaicraB's Loader, I made in a few minutes. It's completely untested as I have no access to a PS3 until Monday and thus may not work at all, so feedback would be appreciated.
It uses the SynaPS3 library, even though it only uses 1 function from the library. No harm in self-advertisement for my (baby-stage) library?
Jaicrab's Loader was made when we still had to use peek/poke to remount directories. We now have syscall8 (hermes) and syscall35 (PL3) for remounting directories. This makes things much easier.
This loader is universal and works with both Hermes and PL3. Create a folder called "cfw" on the root of your device and place the "dev_flash" folder inside it. Then create another folder called "cfw" INSIDE your "dev_flash" folder.
It supports CFW on your harddrive, so once you have a "finalized" build of your CFW, just throw it on hdd0 and run the app on start!
Along with mounting your dev_flash, this app will also dismount your cfw the next time you run it.*
It checks for the "cfw" folder on the following devices (in this order, meaning bottom devices take priority):
usb00x (1 through 7)
Source is of course included, and so is a compiled .pkg
*If any part of the app is broken it's probably this.
Stay tuned for more PS3 Hacks and PS3 CFW news, follow us on Twitter and be sure to drop by the PS3 Hacks and PS3 Custom Firmware Forums for the latest PlayStation 3 scene updates and homebrew releases!
Ha ,so it should be /dev_flash/ otherwise it will give you some nasty bugs and you have to write a code to map arround.
Also i want to say that i for my self have learned will writing and developing PS3 ACID Tool for PC, that i have released, that its better to not combine to many apps. I've got some nasty bugs then more apps and code i have written and included.
Google teached me to split up the apps and embend them into the main app so that one .bat and .exe was called after another. And magically most bugs disappeared without the need to code around.
I never said I tested this app, I said I tested mounting dev_flash from usb003.
You're absolutely right. As I was reading dean's last post I recalled a conversation I had with KaKaRoToKS and he told me the following:
[QUOTE=KaKaRoToKS]and no, it doesn't support wildcards, but you could map /dev/path/ICO to replace all ICO* files..[/QUOTE]
Forgive me if this is wrong - i've not done any work on PS3 or linux coding and don't know much about the syscalls etc but...
Isn't this simply a case of the string that is being matched?
If the syscall used to replace the path isn't specific enough then "/dev_flash" could match with "/dev_flash", "/dev_flash2" and "/dev_flash3" (Proof of this would be if you replaced "/dev_flash" with "/test" and found that flash 2 ended up being "/test2")
So surely the all round solution would be to replace the path "/dev_flash/" as it is more specific and would only match with "/dev_flash/" - it won't match with "/dev_flash2/" ?
Maybe i just missed the point entirely - but being a windows programmer i wouldn't be at all suprised!
(I'm assuming the syscall usage is kinda like a string Replacement) ?
p.s. That is of course assuming /" isn't some kind of escape character!