I think it's a bad idea to use sleep for animation, you should just skip a bunch a frame. Normally the Wii goes at 60 FPS. When you sleep every thing will stop, including the controller.by Crayon - Coding
Wii Game Studio is distributed with 7-zip. On there Web site you could clearly see: QuoteCan I use the EXE or DLL files from 7-Zip in a Commercial Application? Yes, but you are required to specify in your documentation (1) that you used parts of the 7-Zip program, (2) that 7-Zip is licensed under the GNU LGPL license and (3) you must give a link to www.7-zip.org, where the source code can beby Crayon - Offtopic
Quotethe_mariogaWhat should I do to show jpg?Use jpeg8a-ppc.tar.bz2 fromby Crayon - Coding
If you want to show text with a TTF file, Freetype is one option. You could also use a PNG file with all the characters you need and use them to print words.by Crayon - Coding
QuoteJHardin1112Well I have started out by looking into libwiisprite and so far I like what I see. I just wish there was an easier way to test this out rather than having to go home and load it up on the wii (I am at work right now). You could try the Dolphin emulator: It works well for testing simple UI stuff.by Crayon - Coding
It should be one of these: #include <ogcsys.h> #include <ogc/lwp_watchdog.h>by Crayon - Coding
This is some code from my screenshot function, it uses a timestamp: char path[255]; time_t now = time(NULL); struct tm *ti = localtime(&now); sprintf(path, "sd:/screenshot_%d%02d%02d%02d%02d%02d.png", ti->tm_year + 1900, ti->tm_mon + 1, ti->tm_mday, ti->tm_hour, ti->tm_min, ti->tm_sec);by Crayon - Coding
Look at the second parameter of ASND_SetVoice. If you have different voice number then you could play multiple sound at the same time. By default the MOD player uses 0.by Crayon - Coding
Try those functions: /** * Fade in, than fade out. * @param tex Texture. * @param scaleX Texture X scale. * @param scaleY Texture Y scale. * @param speed Fade speed (1 is the normal speed, 2 is two time the normal speed, etc). */ void GRRLIB_DrawImg_FadeInOut(struct GRRLIB_texImg *tex, float scaleX, f32 scaleY, u16 speed) { GRRLIB_DrawImg_FadeIn(tex, scaleX, scaleY, speeby Crayon - Coding
GRRLIB_LoadTextureJPG tries to find the end of the file. If your JPEG file does not finish with 0xFF 0xD9 or those values appears before the end of the file, the function will failed. So that's why it's better to pass the size as parameter if you have it. GRRLIB_texImg* img = GRRLIB_LoadTextureJPGEx(grrlib_logo_jpg, grrlib_logo_jpg_size); The JPEG format does not include the size inby Crayon - Coding
Instead of GRRLIB_LoadTexture try to use GRRLIB_LoadTextureJPGEx(const u8 *my_jpg, const int). It has a second parameter to specify the size of the buffer. How did you generate the grrlib_logo_jpg.h file?by Crayon - Coding
You have some HTML problem on your forum, the code for blank space requires a ; at the end, so it's not   On Firefox you see:  2 Posts I think it's a real bad idea to write black text on a grey background. I just can't read it.by Crayon - Coding
LordAshes, go to Direct C Code, double click on Import File. When the dialog box appears click Cancel. The apps generate an error: Run-time error '75': Path/File access error And when you click OK, it close the software. EDIT: When you click on Cancel on any Save or Load dialog box it generate an error.by Crayon - Coding
Here is your choices: * GRRLIB * libwiigui * libwiisprite * SDL Wii Do you prefer a C or C++ library? If you don't want to program in C++, then the list is smaller. Check this topic for more information:by Crayon - Coding
Here is the list of framework libraries:by Crayon - Coding
ShinCrusader, maybe this post could help you:by Crayon - Coding
QuoteLordAshesThanks for pointing out the license location...Since version 4.1.0 the licence is at the top of every .c and .h file in the library. It's also in LICENCE.TXT, README.html and the doxygen documentation.by Crayon - Coding
QuoteLordAshes In fact the proper page would have been the GRRLIB forum. QuoteLordAshes I seem to recall some people mentioning that GRRLIB uses the gpl v3 license. However, the Trunk download that I have (as far as I know it the the complete official download) which comes with the doxygen documentation has a license file which does not seem to be gpl v3. In the end the two licenses may ammounby Crayon - Coding
If you want to study some code, here is the list of homebrew that are open source:by Crayon - Coding
We have a ready to compile version of FreeType at If you need more help on porting libs, check this page:by Crayon - Coding
Quotedan3008I'm not grate with C++That's not a problem, libogc is coded in C.by Crayon - Coding
1) No, C and C++ are mostly used. 2) Try to figure what you want to code (app or game). After that, choose a framework library. Don't hesitate to search the forum, you are not the first one to ask this question.by Crayon - Coding
Quotethe_mariogaIt don't work a simple printfI guess this is normal since you did not initialize the console with console_init. printf will never work at the same time when you are using GX. So you need to choose, graphic or console. Or maybe one after the other, but that's more complicated.by Crayon - Coding
Look at this project: C:\devkitPro\examples\wii\graphics\gx\gxSprites\gxsprites.pnproj With those lines: // allocate 2 framebuffers for double buffering frameBuffer[0] = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode)); frameBuffer[1] = MEM_K0_TO_K1(SYS_AllocateFramebuffer(rmode)); I did not told you to use GRRLIB, but to look at how GRRLIB is using PNGU.by Crayon - Coding
If you need an example of PNGU, you could check this code:by Crayon - Coding
ft2build.h is not found, did you installed Freetype? If no, go install the latest version fromby Crayon - Coding
It's suppose to work, here are the names you should use for parameters in PAD_ButtonsDown: #define PAD_CHAN0 0 #define PAD_CHAN1 1 #define PAD_CHAN2 2 #define PAD_CHAN3 3 What is the error message that the compiler is giving?by Crayon - Coding
Quoteketufemain.c ==template pnproj Je ne comprend pas! main.c est supposĂ© ĂȘtre un fichier avec du code en langage C et template pnproj c'est un projet que l'on ouvre avec Programmer's Notepad. Les deux fichiers ne sont pas pareil du tout.by Crayon - Coding