Ok my dvd drive isn't broken, i can play Finding Nemo with Mplayer so should i try formating my wii. I have VC games that i don't want to lose. I'm on system menu 3.4 and don't want to downgrade.by g_man - FixMii
There is a hadeware problem with my wii that i don't know how to fix and it wont read disks. I want to send it in, but i don't want it updated to 4.0 (currently 3.4) then i can't use homebrew. Also I have installed hbc and if i remove it can they tell and get mad at me?by g_man - FixMii
0xff Sorry, i meant 0x00 I compiled with raw2c, but i'd like to get the buffer stuff loaded. I don't really know howby g_man - Coding
I finally got the program compiled and it just gives me zeros, And yes i did replace this line in = fopen("yourfilename.whatever","rb"); to in = fopen("echoes.mp3","rb");by g_man - Coding
i just need to find a compiler, i think i have G++ on ubuntuby g_man - Coding
Ok to figure out what all the parts are all look at some examples, but when i link it it says that it can't find some ASND files, i have included the ASND lib file and header and nothing changed, i'm also including mp3player.h and lmad Also what is a buffer? is it just a pointerby g_man - Coding
OK i found out that i have asnd, but i'm not sure how to load a file into the buffer, and what is the name of the decoder? thanksby g_man - Coding
This is just a guess but try putting brackets {} around the for. I know if you have in if statement the you don't need them, but for a for statement you might.by g_man - Coding
Yea i soft-modded my wii and my wii's DVD drive won't read disk', sounds like there something stuck in it. I've only softmodded it. would it be safe to send it in? I want to play games, but i don't want to risk homebrew, so if i send it in will they update it to 4.0 and then i won't be able to install twilight hack or homebrew channelby g_man - Offtopic
I'm a n00b when it comes to wii functions, and i want to know how to play music in my game. I don't care what file type i have to use, or what librarys i just want help.by g_man - Coding
I'm trying to get 2 ir results on screen and so far one the first player controller takes ir input. code: r_t ir2; ir_t ir1; //other code WPAD_IR(0, &ir1); WPAD_IR(1, &ir2); //other stuff if (control1 == 1){ loc1_y = ir1.y; } if (control2 == 1){ loc2_y = ir2.y; } loc1_y & loc2_y store the location of the paddle. what is wrong? Ok i just forgot to add this WPAby g_man - Coding
I Finally got it to work and it only took 50 posts. I copyed some txt and it compiled correct and i got my image Thanks to everyone that has helped. Ok now i can't get GRRLIB_Printf to work, i copied the code from the demo for everything up to GRRLIB_Printf and this is what i put for Printf GRRLIB_Printf(0,0,tex_font,0xffffff,0,"Hello World of GRRLIB");by g_man - Coding
i added the parts in my makefile and it compiled, no errors :) but nothing, other than normal, showed on my screen. i'v put the code that puts the picture onsceen in my loop and outside of it, what am i doing wrongby g_man - Coding
Thanks, i saw that moments before i check here. I fixed and now there is another problem linking ... pong.elf GRRLIB.o: In function `GRRLIB_LoadTexturePNG': d:/homebrew/mystuff/pong/source/GRRLIB/GRRLIB.c:138: undefined reference to `PNGU_SelectImageFromBuffer' d:/homebrew/mystuff/pong/source/GRRLIB/GRRLIB.c:139: undefined reference to `PNGU_GetImageProperties' d:/homebrew/mby g_man - Coding
Thanks I will test when I get back to my computer Ok i changed all to Ready, and nothing different. I checked my file and it is Ready. I belive the problem is in the u8 *tex_Ready or in (Ready) Should this really be this hard?by g_man - Coding
ok, but my error is here u8 *tex_ready=GRRLIB_LoadTexture(ready); once i get this i know that the next line will work. in my ready.h file #ifndef _Ready_h_ #define _Ready_h_ //--------------------------------------------------------------------------------- const unsigned char Ready[] = { A bunch of hex values }; const int Ready_size = 63773; //-------------------------------------by g_man - Coding
Here is the line in the GRRLIB.h, could you help me? GRRLIB.h GRRLIB_texImg GRRLIB_LoadTexture(const unsigned char my_img[]); inline void GRRLIB_DrawImg(f32 xpos, f32 ypos, GRRLIB_texImg tex, float degrees, float scaleX, f32 scaleY, u32 color ); my code u8 *tex_ready=GRRLIB_LoadTexture(ready); GRRLIB_DrawImg(0,0,tex_ready,0,1,1,0x00ff00ff); I Want to show a pic the size of the eby g_man - Coding
Ok, if anybody knows about the newer version of GRRLIB then can u help, i fixed my code, but it looks like something is still wrong This is where the error is u8 *tex_ready=GRRLIB_LoadTexture(ready); error: d:/homebrew/mystuff/pong/source/main.c:134: error: incompatible types in initializationby g_man - Coding
sorry, i forgot to say that i did all off that, and those are the errors i got, sorry for being unclearby g_man - Coding
sorry, i was working with a png, and when i tryed that i got this main.c d:/homebrew/mystuff/pong/source/main.c: In function 'main': d:/homebrew/mystuff/pong/source/main.c:106: error: 'ready' undeclared (first use in this function) d:/homebrew/mystuff/pong/source/main.c:106: error: (Each undeclared identifier is reported only once d:/homebrew/mystuff/pong/source/main.by g_man - Coding
Ok thanks it finally compiled, the problem was that it was trying to find the file's under GRRLIB so it couldn't find them, i havent done anything with GRRLIB, except initialize it so lets hope i can print a picture. thanks again EDIT: I added this code and it came up with a bunch of errors the code i'v added extern const unsigned char ready[]; extern const int ready_size;by g_man - Coding
when i originally looded at the #include i it had a /./ , or /../ , i can't remember is that how you do it, i don t want to mess with my files that much, but i will if i hav to.by g_man - Coding
call was the wrong word, i was using the internet channel on my wii and i didn't want to type much When a say #include "GRRLIB.h" that means it's in the directory that main.c is in right? so if thats true and i want to access a file pngu.h that is in the lib directory where my makefile is in, how do i tell it to go up one directory and then locate pngu.h? the #include for pngu.h isby g_man - Coding
i know that, but how do i call the dir, call might be the wrong word, but how do i get there, i wont be able test anything cause my parents took my computer awayby g_man - Coding
ok, but i get an error telling me it can't find the library include files /GRRLIB.c:15:40: error: ../../lib/libpng/pngu/pngu.h: No such file or directory d:/homebrew/mystuff/pong/source/GRRLIB.c:16:39: error: ../../lib/libjpeg/jpeglib.h: No such file or directory how do i locate the file where makefile is in?, main.c is in source the next level up.by g_man - Coding
No, i don't this is the code that is there 14 extern "C" { 15 #include "GRRLIB/GRRLIB.h" 16 } Also, as i look over my code the header file GRRLIB/GRRLIB.h is already thereby g_man - Coding
ok i'm down to 2 errors main.c d:/homebrew/mystuff/pong/source/main.c:14: error: expected identifier or '(' before string constant d:/homebrew/mystuff/pong/source/main.c: In function 'Initialise': d:/homebrew/mystuff/pong/source/main.c:52: warning: implicit declaration of function 'GRRLIB_InitVideo' make[1]: *** Error 1 "make": *** Error 2by g_man - Coding
thanks, i also added a include file and put the grrlib.h and .c files in there but i still get an error, i'm so close ain.c d:/homebrew/mystuff/pong/source/main.c: In function 'Initialise': d:/homebrew/mystuff/pong/source/main.c:48: warning: implicit declaration of function 'GRRLIB_InitVideo' linking ... pong.elf main.o: In function `Initialise': d:/homebrew/by g_man - Coding