![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on backing up files and adding own menu items within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; hi ive been struggling with the same thin for about two weeks as i started coding my prodject then i ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() Developer and Tutor.
My Mood:
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
|
hi ive been struggling with the same thin for about two weeks as i started coding my prodject then i would like to know how to add a custom item to a menu list e.g.
refresh my program back to main menu mem stick folder mem stick folder mem stick folder mem stick folder mem stick folder mem stick folder e.t.c. and also how do i coppy files from anywhere preferably flash0 to a directory of my choice i.e. for backup option thanks if u can help ----- F@T3oYCG ----- |
|
|
|
|
|
#2 |
![]() ![]() lol
Join Date: Aug 2006
Real First Name: Robert
Location: Whittier, CA
Just Played: Madden 10
Posts: 5,791
Trader Feedback: 0
|
To copy a file from flash0 to ms0 just look at the example that SG57 did for his LuaPlayer with flash. He made an example that backups a file before you flash it.
|
|
|
|
|
|
#4 |
![]() Developer and Tutor.
My Mood:
Join Date: Jul 2007
Real First Name: Craig
Location: Widnes, England
Just Played: Life.
Posts: 1,646
Trader Feedback: 0
|
thanks guys this will be very useful in my app sorry for not responging it was 10:00pm and i didnt go to bed the night before
EDIT: IS THERE ANY WAY TO BACKUP A FOLDER NOT JUST A FILE thanks ----- F@T3oYCG ----- Last edited by FaT3oYCG; 07-09-2007 at 09:57 PM.. |
|
|
|
|
|
#5 |
![]() ![]() lol
Join Date: Aug 2006
Real First Name: Robert
Location: Whittier, CA
Just Played: Madden 10
Posts: 5,791
Trader Feedback: 0
|
Why don't you do some research in FileIO?
http://www.lua.org/manual/5.1/ Read the whole page to get a better understanding on LUA. |
|
|
|
|
|
#6 |
![]() |
Concept:
+ Open Directory + Create Directory In Destination Directory + Get File List + - + If Current entry is a file, copy it. + - + Else, it is a directory, start at step 1 With This Directory. + Done.
__________________
YEAH! [center][COLOR="DimGray"][SIZE="2"][FONT="Times New Roman"]Julius Parishy [[URL="http://jparishy.com"]Homepage[/URL]][/FONT][/COLOR] Affiliates: [url=http://xfacter.jparishy.com/]Xfacter[/url] | [url=http://flatmush.jparishy.com/]Flatmush[/url] | [url=http://yaustar.jparishy.com/]Yaustar[/url] [url=http://jparishy.com/wp/source-code/]Soure Code[/url] [/center] [/size] |
|
|
|
![]() |
| Tags |
| adding , backing , files , items , menu |
| Thread Tools | |
|
|