Wii unique id June 10, 2010 01:54PM | Registered: 14 years ago Posts: 161 |
Re: Wii unique id June 10, 2010 06:15PM | Moderator Registered: 14 years ago Posts: 5,075 |
Re: Wii unique id June 10, 2010 11:15PM | Registered: 14 years ago Posts: 188 |
Re: Wii unique id June 11, 2010 01:10AM | Registered: 14 years ago Posts: 43 |
Quote
SifJar
There are a bunch of keys unique to every Wii, such as the Wii's private (and public) signatures (aka NG-priv and NG-sig respectively). There's also the Wii's message board friend code. I am not however sure how you would extract any of these, the first two at least I think may need a patched IOS to be extracted, not sure about the friend code. Maybe look into ISFS?
Re: Wii unique id June 11, 2010 02:12AM | Registered: 13 years ago Posts: 98 |
I just sent yellowstar a PM asking this, hahaha. I got the friend code without any ES call. If I'm not mistaken that means it doesn't need any patched IOS, right?Quote
chris
You don't need a patched IOS to extract the friend code. I have some code that does this, if you or anyone else needs this, let me know.
Re: Wii unique id June 11, 2010 05:09PM | Moderator Registered: 14 years ago Posts: 5,075 |
Quote
AruskanoI just sent yellowstar a PM asking this, hahaha. I got the friend code without any ES call. If I'm not mistaken that means it doesn't need any patched IOS, right?Quote
chris
You don't need a patched IOS to extract the friend code. I have some code that does this, if you or anyone else needs this, let me know.
Oh, and unless you are selling it I would like to see your code. :)
Re: Wii unique id June 11, 2010 06:23PM | Registered: 14 years ago Posts: 43 |
#include stdio.h> #include string.h> #include ogcsys.h> #include ogc/isfs.h> #include unistd.h> unsigned int codefile; char readbuffer[32] ATTRIBUTE_ALIGN(32); void init_console() { static void *xfb = NULL; static GXRModeObj *rmode = NULL; VIDEO_Init(); rmode = VIDEO_GetPreferredMode(NULL); xfb = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode)); console_init(xfb,20,20,rmode->fbWidth,rmode->xfbHeight,rmode->fbWidth*VI_DISPLAY_PIX_SZ); VIDEO_Configure(rmode); VIDEO_SetNextFramebuffer(xfb); VIDEO_SetBlack(FALSE); VIDEO_Flush(); VIDEO_WaitVSync(); if(rmode->viTVMode&VI_NON_INTERLACE) VIDEO_WaitVSync(); } void iread(void *ptr,int len,int size,int file) { ISFS_Read(file,readbuffer,len*size); memcpy(ptr,readbuffer,len*size); } int main() { unsigned int codefile; char buf[17]; long long int friendcode; init_console(); ISFS_Initialize(); if((codefile=ISFS_Open("/shared2/wc24/nwc24msg.cfg",ISFS_OPEN_READ))) { ISFS_Seek(codefile,8,SEEK_SET); iread(&friendcode,8,1,codefile); sprintf(buf,"%016llu",friendcode); printf("\n\n\nIs your friend code %c%c%c%c-%c%c%c%c-%c%c%c%c-%c%c%c%c ?",buf[0],buf[1],buf[2],buf[3],buf[4],buf[5],buf[6],buf[7],buf[8],buf[9],buf[10],buf[11],buf[12],buf[13],buf[14],buf[15]); } else { printf("\n\n\nCan't open required file."); } printf("\n\nWaiting ten seconds..."); sleep(10); return 0; }
Re: Wii unique id June 11, 2010 08:40PM | Registered: 14 years ago Posts: 188 |
Re: Wii unique id June 11, 2010 09:07PM | Registered: 13 years ago Posts: 98 |
Re: Wii unique id June 11, 2010 09:29PM | Registered: 14 years ago Posts: 43 |
Quote
yellowstar
chris: You should add that to wiibrew: [wiibrew.org]
Creating that page with info about data used for the mail engine was on my todo list for a while, but I just never wrote that page yet.(That data didn't include that Wii ID though.)
Re: Wii unique id June 11, 2010 09:36PM | Registered: 14 years ago Posts: 43 |
Quote
Aruskano
Cool, thanks for sharing this!
Is the Wii FC 8 bytes long? I thought it was 7 bytes long because of mine (the 8th byte is 00 so the real number starts till the 9th one) but now that I think about it mustbe 8 byte long.
Re: Wii unique id June 13, 2010 05:52PM | Registered: 13 years ago Posts: 686 |
Re: Wii unique id June 14, 2010 03:57PM | Registered: 14 years ago Posts: 161 |