QuoteWiiWIlly I also got that AC Tools Program. I see it in the APPS folder but it sort of does nothing. Perhaps I had to have my daughter have the Animal Crossing Game in or something or perhaps it did load something onto the Wii. I will have to wait till I can put in the AC Game. But it was nice to see the HOMEBREW Channel thing work. Not sure if I got the whole channel stuff. But at leasby koopa - Getting Started
Have a look at "Thinking in C++" by Bruce Eckel. It's a free ebook. click "C++ Primer" is also a decent book to learn C++. clickby koopa - Offtopic
vector2f vert; This needs to be allocated dynamically (if width and height aren't constants), doesn't it.? EDIT: I didn't read the post just above carefully enough, sry. #include <header_with_vector2f.h> This is looking for a file header_with_vector2f.h in the directories that you passed with the -I to the compiler. If you're including a file from a foldby koopa - Coding
Hey, you don't need the extern "C" {} as you are including GRRLIB to a C-file. You'll only want to do that if you include it to a C++ file. There is no library version of GRRLIB (if you don't create it yourself). Thus you need to put GRRLIB.h and GRRLIB.c in your project directory. For the libraries that come with GRRLIB (libjpeg, libpng), create a directory "lib" in the rooby koopa - Coding
from glut.c #define DEFAULT_FIFO_SIZE (256*1024) static void *frameBuffer[2] = { NULL, NULL}; GXRModeObj *rmode; u32 fb = 0; // initial framebuffer index taken from GRRLIB.c #define DEFAULT_FIFO_SIZE (256 * 1024) u32 fb = 0; static void *xfb[2] = { NULL, NULL}; GXRModeObj *rmode; void *gp_fifo = NULL;by koopa - Coding
Instead of sending those topics to the junkyard, I'd delete them and ban the users without further notice. Don't put any effort in explaining those people, what they have done wrong. It's a waste of time.by koopa - Feedback & Support
Sleeping is always a bad solution as other components of your game still may need to update its states (e.g. position of a sprite, visibility of a message, ...) Timing on the Wii is kind of pain in the ass. At least, if you need a timer with a high resolution. The function clock_t clock ( void ); doesn't work for me with devkitppc (always returning -1). You can still use time_t time ( timby koopa - Coding
Quote WARRANTY LIMITATIONS THIS WARRANTY SHALL NOT APPLY IF THIS PRODUCT: (a) IS USED WITH PRODUCTS NOT SOLD OR LICENSED BY NINTENDO (INCLUDING, BUT NOT LIMITED TO, NON-LICENSED GAME ENHANCEMENT AND COPIER DEVICES, ADAPTERS, AND POWER SUPPLIES); (b) IS USED FOR COMMERCIAL PURPOSES (INCLUDING RENTAL); (c) IS MODIFIED OR TAMPERED WITH; (d) IS DAMAGED BY NEGLIGENCE, ACCIDENT, UNREASONABLE USE, ORby koopa - Getting Started
Quotesmash_legendand he ended up paying over $1500 (lucky nintendo decided to just round it up to a nice even (but still evil) number evil? you're kidding. it's pretty cheap for having pirated over 50 roms.by koopa - Offtopic
You could put some scam warning similar to the do-not-update warning on the wiki's main page.by koopa - Offtopic
well, i think Bi0hazard rather wants to know if it works - to play an original game online, - legally download games from the wiishop - ... with a downgraded wii. That's how I understand it.by koopa - Getting Started
QuoteMyu0 The format you enjoy playing the game in isn't necessarily the format you bought the game in, and you have the legal right to transfer the data you own to another format if you like. You are allowed to make one backup. It may still be illegal in some countries if you need to circumvent copy protections to create the backup. I'm not sure if you are allowed to transfer the databy koopa - Getting Started
where did you put boot.dol? iirc, you have to put in the root of your sd card.by koopa - Getting Started
Do you have this issue with all applications? Some applications do not return to their loader (HBC). This may leave you being trapped in a black screen when you exit the application. However, if the problem happens on a rather irregular base, there might be more serious errors in the application or even with your HBC installation.by koopa - Homebrew General
Hey chrono36, the latest sources are in trunk. You need a svn client to check out the source files.by koopa - Homebrew General
Hello, supply another channel to the WPAD_XXX functions to read from another controller connected to the wii. e.g. WPAD_ScanPads(); u32 btn = WPAD_ButtonsDown(WPAD_CHAN_1);by koopa - Coding
you mixed it up again. it should either be: void SavePattern(){ FILE *pattern = fopen("sd:/apps/Wiibreaker/data/pattern1.pattern","wb"); if (pattern){ for(int i = 0; i < 30; i++){ fwrite(&brickx, sizeof(int), 1, pattern); fwrite(&bricky, sizeof(int), 1, pattern); } fclose(pattern); } } void LoadPattern(){ FILE *pattern = fopen("sd:/apps/Wiby koopa - Coding
Hey Arikado, there are still some flaws in your loading/saving routines. Make sure you understand the meaning of the parameters to fwrite/fread. The parameters for fwrite are: ptr Pointer to the array of elements to be written, --- obviously your array brickx size Size in bytes of each element to be written. --- you are storing integers in the array, so size in bytes of one elemby koopa - Coding
In my understanding you don't have to worry about it as long as you writing and reading the data on the same plattform. please correct me if i'm wrong.by koopa - Coding
When sizeof is applied to an array, the result is the size in bytes of the array in memory. The third parameter to fwrite is not the size in bytes of the array but the number of elements in the array. so fwrite(brickx, sizeof(int), 30, pattern); will write the complete array brickx to your file. You don't need a loop for that. fwrite(&brickx, sizeof(int), 1, pattern); willby koopa - Coding
Using int for the coordinates is fine. You'll just want to use fwrite(..) instead of fputc for writing data and fread(...) instead of fgetc(..) for reading data.by koopa - Coding
what range of values do brickx and bricky have? Writing char's to the file might be the problem as sizeof(char) is 1byte (range is: -128-127 or 0 to 255) .by koopa - Coding