just remember that if you start drawing less quads you have to reduce the number that you past to GX_Begin(GX_QUADS, GX_VTXFMT0, 24); if you don't past the right number GX/wii will crash instantly.by owen - Coding
Well I'm still here somewhat. I don't mess around with the internals of the wii but you can email me regarding the stuff have already done. I have yet to make a 8 player game but I will do it at some point!by owen - Coding
I usually maintain a list of the sprite in an array or structure that I can loop through. #define SPRITESHEET_MAX 30 #define GROUP_MAX 10 //============================================================================ typedef struct { GRRLIB_texImg *sprite; bool is_loaded; float x, y; } SpriteSheetStruct; SpriteSheetStruct ssl; //spritesheet_list GRRLIB_texImg *by owen - Coding
Looks like the font is not one that it likes. Use a different font file or whatever it needs.by owen - Homebrew General
You will have to do it the hard way. You have to store the coordinates of your sprites and then check all of them against the coordinates of the IR pointer when a button is pressed. You will basically have to make your own version of ML_IsWiimoteInSprite() since GRRLIB is not keeping track of all your sprites (you have to know where they all are on the screen) I am assuming know how to detby owen - Coding
I mostly use png images directly. Saves a bit of conversion and update time (luckily grrlib can read them directly from disk). Also just use one set of images instead of different images for Widescreen. You don't want to add unnecessary complications to your homebrew project. I did not see any real advantages to compiling you assets. You mostly get a big bol file and less stuff in your apby owen - Coding
Yes, it is used to draw everything 2d. Grrlib is simple to set up but it is also easy to modify you current library depending on your situation. I have a project called starfield on wiibrew that has source that u can use.by owen - Coding
I use GRRLIB because its the only thing I use really. lol but anyway. This is what I do. Widescreen mostly seems to affect the 2d sprites. // 16:9 and 4:3 Screen Adjustment if (CONF_GetAspectRatio() == CONF_ASPECT_16_9) { engine_widescreen=true; } if it is in widescreen mode I change the x scale of all the sprites from 1 to a factor of 0.85 float engine_xsby owen - Coding
The website might be down which is why you can't get the list. You will have to wait until it comes back up or download stuff directly from wiibrew.orgby owen - Homebrew Applications
I solved the problem. I was mistakenly suspending the threads and not allowing them to come to a natural end. So it works now as intended. I've added in a check to make sure I wait for a free slot to become available so that I don't hit up on the limit.by owen - Coding
I think I am suspending my threads instead of letting them run to completion which might be what is causing the problem. I am going to check to see if that is the cause of the problemby owen - Coding
Oh I see. I have started using a static array for the stack but I still have the problem. How do I release the resources of the old threads so that I can re-create them? #define THREADMAX 8 #define STACKSIZE 8*1024 static lwp_t main_thread; lwpq_t thread_queue; static u8 stack1 ATTRIBUTE_ALIGN (32); s32 result = LWP_CreateThread(&main_thread, thread_func, NULL, stack1by owen - Coding
I have been creating alot of threads lately with LWP_CreateThread() but after I create the 11th thread the function stops creating threads. It returns a failure value and I cannot seem to find a way to continue creating threads. I created the threads on demand but there is usually only one or 2 threads are running at any one a time. I always suspend threads after they are done and I reuse theby owen - Coding
Just last week I realized that all I had to do is adjust the scaling factor of all my 2d images down to 85% when widescreen is active and solves the whole stretchy widescreen graphics problem in GRRLIB.by owen - Coding
I don't use C++ much but I could never figure out which part of the code was giving you trouble and where you stopping working on it.by owen - Coding
WPAD_CHAN_0 returns data for player one only. make sure the expansion is connected to the wiimote which is player 1. also write your if statements like this; if( ) { } elseby owen - Coding
So will wii-homebrew wifi/internet stuff still work? Like my leaderboards and such? Are they planning on releasing an update for this?by owen - Homebrew General
I use programmers notepad on windows xp. Windows 7 got really slow on my old computer, everything took like 2 seconds to respond. On xp I can compile 4000 lines of code in 3 seconds.by owen - Coding
Is there any data being compiled into the Dol that could be moved to an external source?by owen - Coding
I'm not sure if this will help;by owen - Homebrew General
yeah, that code is full of assembly language stuff. it looks hard. sorry.by owen - Ideas, requests
I think I will use both keys. I was trying to printf() the device id. Do I handle it just like any other int or do I have to take care not to loose the precision? u32 id; ES_GetDeviceID(&id); printf("\n %u32 \n", id); printf("\n %i \n", id); /* incomplete */by owen - Coding
I just want to identify the wii for a online game that I will make. Before I was using the console name but a lot of consoles have similar names so I want to use it as a private key. @t how do I fix the alignment?by owen - Coding
thanx, chris, did you ever find a easier way to do it or that is the standard/safe way?by owen - Coding
using devkitpro and plain cby owen - Coding
I'm not sure. I think the homebrew channel is listening on a port - waiting for the transfer to start. The homebrew channel is not open source.by owen - Homebrew Applications
Download the HackMii Installer. The source code for wilload is inside a folder.by owen - Homebrew Applications
@tchagui. Yes, I am sure its visible. I tried many combinations but never got the camera to look at something else other than the direction it was originally set to look. I even changed the 3dmode a several times. I suggest u set up a similar test for yourself. If you can get it to work it will save u from drawing twice. Neoflash has a compo in progress as well.by owen - Coding