forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Savedata?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
floorball92



Joined: 05 Apr 2008
Posts: 30
Location: Germany -> Hessen -> Hanau

PostPosted: Fri May 02, 2008 12:53 am    Post subject: Savedata? Reply with quote

Hey,

I remember, that I haved read something in an Lib, that you can use it to work with savedatas, but firstly I' ve forgotton, which the name of it was and secondly, I'm interessted, if it' s confortable to work with it or is it more work the usefull??
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Fri May 02, 2008 1:45 am    Post subject: Reply with quote

I'm not 100% sure on what you're asking, but there is the psputility_savedata.h header in the SDK and a sample under samples/savedata/utility.
Back to top
View user's profile Send private message
floorball92



Joined: 05 Apr 2008
Posts: 30
Location: Germany -> Hessen -> Hanau

PostPosted: Fri May 02, 2008 2:48 am    Post subject: Reply with quote

Yes, i found it, but there are only the prototypes:

int sceUtilitySavedataInitStart(SceUtilitySavedataParam * params);
int sceUtilitySavedataGetStatus(void);
int sceUtilitySavedataShutdownStart(void);
void sceUtilitySavedataUpdate(int unknown);

I don' t found the sample, can you please give me the path to it??

Thank you first!
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Fri May 02, 2008 2:56 am    Post subject: Reply with quote

Insert_witty_name wrote:
..sample under samples/savedata/utility.
Back to top
View user's profile Send private message
floorball92



Joined: 05 Apr 2008
Posts: 30
Location: Germany -> Hessen -> Hanau

PostPosted: Fri May 02, 2008 3:04 am    Post subject: Reply with quote

yes, but where lies this sample folder, because it isn' t in the root.
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Fri May 02, 2008 3:52 am    Post subject: Reply with quote

Assuming you installed using the default... /usr/local/pspdev/psp/sdk/samples/savedata/utility/
Back to top
View user's profile Send private message
floorball92



Joined: 05 Apr 2008
Posts: 30
Location: Germany -> Hessen -> Hanau

PostPosted: Fri May 02, 2008 4:46 am    Post subject: Reply with quote

and like vever a sample that doesn' t work in my sdk. I think he has forgotten to initialize his savadata. Don' t know, I will try a bit with it and then answer.
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Insert_witty_name



Joined: 10 May 2006
Posts: 376

PostPosted: Fri May 02, 2008 6:27 am    Post subject: Reply with quote

Ensure you have updated your SDK.

I changed the sample quite a lot fairly recently.
Back to top
View user's profile Send private message
floorball92



Joined: 05 Apr 2008
Posts: 30
Location: Germany -> Hessen -> Hanau

PostPosted: Fri May 02, 2008 5:24 pm    Post subject: Reply with quote

OK, now it works.

In the sample there is the file data.h with the pictures in hex, should I make my Pictures with bin2c in Hex Code??
_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group