QuotetueidjYou really shouldn't call ISFS_Read with a buffer that doesn't contain a multiple of 32 bytes and/or is not aligned to an address that is a multiple of 32 bytes. I did. char readbuffer[32] ATTRIBUTE_ALIGN(32); QuoteowenI just want to identify the wii for a online game that I will make. From the other thread: QuotetueidjYou guys never saw ES_GetDeviceID? It giveby chris - Coding
It's the only way I found but I never researched it further after finding a method that worked. I don't see much wrong with that method; it's just init ISFS, open the relevant file, yank out the relevant data - simples. (Probably should have closed the file as well but it was only a wee demo).by chris - Coding
Quoteberard7count me in to I'm afraid this project is long dead :(by chris - Testing Corner
Why don't you try it and see?by chris - Coding
Never tried it, but does argv[0] contain the file path and can you get it that way?by chris - Coding
No, older versions were working fine, but for some reason the server started responding slower so they all crash now 90% of the time.by chris - Homebrew Applications
I'm one of the devs but I've just seen this. It's caused by the server taking too long to respond, which it seems to do a lot. However, minus_273, whose project this really was maintains all the server stuff and is no longer working on it. The source is available so someone might get it working if they can fix the network code to wait a bit longer instead of crashing. Unfortunaby chris - Homebrew Applications
I believe #include ogc/si.h int i; for (i=0;<4;i++) if ( SI_GetType(i) & SI_GC_STANDARD ) printf("GC port %d has a GC controller plugged in.\n",%d); will work, though I haven't tested it.by chris - Coding
QuoteTitmouseBTW Chris, how did you work out the details like passing NULL to AESND_AllocateVoice, think I'm missing some cool resources somewhere! I suddenly ran into the same problem you did, when I had always been able to use music and sound at the same time before, and spent a lot of time thinking the problem must be with my code. When I eventually worked out what the problem was, a lby chris - Coding
In the recent libogc versions, I have just used -laesnd in my makefile if I want modplay as well, no need for -lasnd. Some snippets from recent code of mine. AESND_Init(NULL); MODPlay_Init(&music); MODPlay_SetMOD(&music, mod_bg); MODPlay_Start(&music); AESND_Pause(0); channel=AESND_AllocateVoice(NULL); AESND_SetVoiceVolume(channel,48,48); (...) AESND_PlayVoice(channel,VOICE_MONOby chris - Coding
The correct answer is to just use the equivalent functions from aesndlib to play your sounds and do away with asndlib.by chris - Coding
I'll reply then: I don't know. You're welcome.by chris - Offtopic
If the problem is actually with the eject button, then this might help Eject DVDby chris - Hardware
It's been out months. Libmii Specifically the bottom of the page.by chris - Testing Corner
Or your dol could just boot the internet channel and take you straight there.by chris - Ideas, requests
Bear in mind that the bool type actually takes up a whole byte so you will want to use bitfields again here. But yes you are going to run out of memory. You'll have to come up with a different approach.by chris - Coding
QuotemdbrimBut i only know of two apps (and only one game) that currently use the libmii and rendering process to use your miis... There might be another one at some point. /plugby chris - Ideas, requests
Oh, OK then 9010 songs 904 artists 3 weeks 2 days 5 hours 16 minutes 4 seconds of audioby chris - Offtopic
printf("%llX", 0xC8*0x1000000LLU); should give the right result. 0xC8 and 0x1000000 are assumed to be 32-bit integers and multiplying them results in an overflow. In your second example, one of the numbers is 64-bit so enough space is allocated for the result.by chris - Coding
QuoteAruskanoCool, 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 must be 8 byte long. It's stored as a 64 bit integer but in reality the first byte is always zero (002386F26FC0FFFF is 9999-9999-9999-9999).by chris - Coding
Quoteyellowstarchris: You should add that to wiibrew: 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.) I don't know anything else about what's in that file (though yeah, most of it seems to be URLs for use with the messaging sevice). I needed toby chris - Coding
This is what I did to get the friend code. There may be easier ways that I'm unaware of. #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 = VIby chris - Coding
QuoteSifJarThere 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? Yoby chris - Coding
Yes. Google ANSI escape sequences.by chris - Offtopic
Try adding ISFS_Initialize() before doing anything. oops you've got that in your first example but not your second. Is it still there?by chris - Coding
Slightly offtopic to this offtopic thread but can anyone who has the Netflix disc and has the knowledge and the means, tell me what it's title id is? This is for a project I'm working on; I'm afraid it does not directly involve anything Netflix related.by chris - Offtopic