Thanx a lot nameBuffer, that worked a treat :)
I wonder why more homebrew programs aren't personalised this way.
It seems trivial when Sony does it with a game, but would be a new look
for homebrew.
Thanx. Well at least as a 'noob' I did something for myself.
Learned the syntax for 1 whole utility function after an hour of stuffing around.
I wanted a true or false condition, I don't know if this is the best way,
and this is homebrew so I access global variables within functions all the time.
int bob = 0;
char namebuffer[50];
// bob will equal 1 if PSP nickname is "Bob".
void check_nick() {
char nick[] = "Bob";
sceUtilityGetSystemParamString(PSP_SYSTEMPARAM_ID_STRING_NICKNAME, namebuffer, 50);
if(strcmp(namebuffer,nick)==0) {
bob = 1;
}
}
Ok, thanks, I'm still learning as you can see.
I wanted to post something that did the job in case someone else
searched about it later on.
There are already small samples floating around checking MAC Address,
but not the nickname.
Art.