| View previous topic :: View next topic |
| Author |
Message |
link
Joined: 19 Oct 2005 Posts: 61
|
Posted: Sat Dec 03, 2005 12:18 pm Post subject: Main folder Directory |
|
|
| Can you go all the way back into the PSP's MS within your game? I have been snooping around but nothing seems to allow me to go back out of the game folder to enter the area of lets say Pictures. Is there a way to do this? |
|
| Back to top |
|
 |
JoshDB

Joined: 05 Oct 2005 Posts: 87
|
Posted: Sun Dec 04, 2005 1:32 am Post subject: |
|
|
system.setcurrentdirectory("ms0:/")
??
I don't really know if this is the correct usage, though... |
|
| Back to top |
|
 |
link
Joined: 19 Oct 2005 Posts: 61
|
Posted: Sun Dec 04, 2005 5:16 am Post subject: |
|
|
| I tried that but kept getting errors. |
|
| Back to top |
|
 |
youresam
Joined: 06 Nov 2005 Posts: 87
|
Posted: Tue Dec 06, 2005 10:27 am Post subject: |
|
|
Lowser has the ability to do this by pressing 'X' to go to the parent dir.
If you want to set the directory within your program, I believe its:
System.currentDirectory(directory)
Check in the functions.txt, if its not there, look in the Lowser source code.
BTW, you can access:
ms0:/
fatms:/ (I think thats what its called....)
flash0:/
flash1:/
And Shine, if your reading this, could you answer me a question?
Would it be possible to make a bricking program out of luaplayer?
All you would do is write to a system file in flash0:!
However, I don't know if you protected writing to the flash...and im surely not going to test it.
If you havent protected flash access, then writing should be possible.
I noticed that the UMD drive is not accessable.
In other words, you should protect flash access, and if you havent, flash writing. |
|
| Back to top |
|
 |
Dark Killer
Joined: 25 Jan 2005 Posts: 32
|
Posted: Tue Dec 06, 2005 10:47 am Post subject: |
|
|
| LuaPlayer can only read from the flash memory, it can't right to it. |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Tue Dec 06, 2005 9:19 pm Post subject: |
|
|
| Dark Killer wrote: | | LuaPlayer can only read from the flash memory, it can't right to it. |
That's not quite correct, because in theory a Lua script could write to the EBOOT.PBP and then after restarting Lua Player, the program could do everything. For a protection, the physicsfs system should be implemented, because then it is easy to restrict write access. |
|
| Back to top |
|
 |
Zenurb
Joined: 30 Sep 2005 Posts: 106 Location: United Kingdom
|
Posted: Wed Dec 07, 2005 2:52 am Post subject: |
|
|
| Shine wrote: | | Dark Killer wrote: | | LuaPlayer can only read from the flash memory, it can't right to it. |
That's not quite correct, because in theory a Lua script could write to the EBOOT.PBP and then after restarting Lua Player, the program could do everything. For a protection, the physicsfs system should be implemented, because then it is easy to restrict write access. |
I doubt posting security issues and "how to fuck up your/other people's psp 101" theory in a forum is a really good idea Shine =) _________________ Proud Dvorak User
US 1.5 PSP (Original) |
|
| Back to top |
|
 |
Shine
Joined: 03 Dec 2004 Posts: 728 Location: Germany
|
Posted: Wed Dec 07, 2005 3:13 am Post subject: |
|
|
| Zenurb wrote: | | I doubt posting security issues and "how to fuck up your/other people's psp 101" theory in a forum is a really good idea Shine =) |
I don't like security through obsurity, it is better to state clearly security issues and then solve it. And it might help to prevent bricking a PSP, because now someone can search for, maybe dangerous, write commands in scripts, before starting an unknown script. |
|
| Back to top |
|
 |
|