Why do you need to calculate the Yaw? Use the WPAD_Orientation function (or WPAD_Data function) which returns a orient_t structure. This structure has pitch, roll and yaw. For example, orient_t *orient; WPAD_Orientation(WPAD_CHAN_0,orient); printf("pitch %2.3f, roll %2.3f, yaw %2.3f",(float)orient.pitch,(float)orient.roll,(float)orient.yaw); (I am writing this without a coby LordAshes - Coding
Thanks I have the HTML docs that came with the GRRLIB package but I find it not that well described. I will see if the PDF is any different. First of all it seems to structure the document around the GRRLIB data structures and GRRLIB files (not GRRLIB functions). In my humble opinion, and maybe I am wrong, I would prefer to have it structured by functions so that I can determine which functionby LordAshes - Coding
Crayon, Your the best...I would never have guessed that that is what it is what that fucnction is for...without reading the whole GRRLIB documentation for which I don't have time right now. Thanks I will look up the details for that function.by LordAshes - Coding
Crayon, Thanks for the heads up. I think I was initially using this function and got the STACK DUMP so I switched to trying the individual functions but I will double check that (i.e. swap back to using the WPAD_Data). The other reason why I was seperating the function calls is because the code is actually a generic template for use with a PC based program that will allow Beginner Programmersby LordAshes - Coding
The GRRLIB draw image functions have a rotation parameter which allows you to rotate the image. However, the image is rotated around the 0,0 point of the image whereas I would like to rotate it around the center of the image. As far as I can tell, all I should need to do is modify the location (x,y) of the image by some amount based on the angle to bring the image back to the correct positiby LordAshes - Coding
*UPDATE* I have narrowed it down to the Wiimote IR read functions. When I comment those out (but keep all the other Wiimote data reads) then the program returns to the loader as expected. When the IR read functions are included I get the STACK DUMP on exit. Any ideas? Original Post: The code is real long but when I commented out the Wiimote IR, Orientation, Accel and GForce calls thby LordAshes - Coding
Scanff, The B/W mask type collision detection is what I had in mind if I was going to code it manually but I wanted to see if there are any function to help with this...no point in re-inventing the wheel if the functions already exist. I look forward to the links. Thanks for the tip with circles but that was just an example which easily demonstrates how far off a rectangular collision checkby LordAshes - Coding
I am new to GRRLIB. I have seen some code that uses GRRLIB_RectOnRect to detect collision. This is fine for some applications but not good enough when you need your collision to be accurate. For example, consider to circles. The bounding square (assuming there is not wasted space) would mean that an object coming directly at a 45 degree angle towards the circle would trigger a collision aboutby LordAshes - Coding
Crayon, It wasn't me...The question was by ClashMan (how to print to the screen at a specific position). I was just suggesting a solution. I am happily using GRRLIB_Printf in my own code...I just didn't have it handy to tell ClashMan what the exact parameters where. However, ClashMan might find it useful so the post is still a good one.by LordAshes - Coding
Sorry about the site...I had no idea that it was doing that...I visited the site many times both logged in and not and I did not get all the ads that you indicate. Maybe my anti-popup software is doing a better job than I thought...I will try mediafire in the future. I can try moving the GRRLIB_exit further down (as the last entry) but in the GRRLIB example "basic_drawing", which I used as a "by LordAshes - Coding
Depends on what libraries you are using... If you are using GRRLIB then there is: GRRLIB_Printf(x,y,font,color,something,text,); It seems to work much like the regular printf function for non-graphical displays except it is used for GRRLIB graphics screens and has papameters of location, font and color. I forget what the parameter after color is for but you can look it up by googling theby LordAshes - Coding
I have a small test program based on GRRLIB template with a lot of generic functions for future easy programming. My code works like a charm but when I added support for up to 4 controllers my game started to cause a crash (STACK DUMP) on exit. I am not sure if it actually is related to the controller code or not...it might have been something else that I changed at the time. I tried, onby LordAshes - Coding
Just tried it...works like a charm...I turned my desired program into a Channel using CustomizeMii and then used the example of loading a new version to HBC to boot it. Works great. Hope you don't mind that I customized the boot message for my own use.by LordAshes - BootMii Beta
Doh! I have been waiting for days for you to respond and I completely missed the fact that your response was already there on Page 2. Thanks a bunch...I renamed the file extension to tgz and even on a Windows machine it identified the 3 files in the archive. Thanks for your help. I will try it out right away!by LordAshes - BootMii Beta
I have downloaded the indicated file (bootmiiboot.gz) but when I extract it on Windows (using either WinZip or gzip) or a Solaris machine (using gunzip) the result is one big file (approx 100kb) which seems to be a concatenation of the 3 files you indicated. I am not sure what I am doing wrong. Do I need to somehow process the resulting single bootmiiboot file to get the 3 files or is there soby LordAshes - BootMii Beta
Thanks...Sorry I missed that. So all I need to do is edit that file and enter the desired title, is that correct? I don't need to re-compile the file or anything? BTW, I think the file may have a typo. It looks to me like the titles used for HBC are HAXX (old) and JOBI (new). As far as I know the title for the new HBC is JODI (not JOBI). Never mind. Please disregard my previous postby LordAshes - BootMii Beta
Initially I was looking at the BootMii files to see if I can find the channel title in there (i.e. JODI) and then just change it with a binary editor to make BootMii load a different channel than JODI (Homebrew Channel). In such a case, you are correct that by swapping these boot files you could make BootMii boot any Channel that you want...but I was unable to find the characters JODI in the fileby LordAshes - BootMii Beta
Hi! Just a comment... If you note, the new post (i.e. the one above) only talks about the Free Version which can be used to make Full Working WiiBrew. I only mentioned the upgrade in passing and I did not make any attempt to push it (i.e. an advertisement). This time, in my post, I did not menton any of the benefits. Also, I don't expect this forum to support this software...theby LordAshes - Feedback & Support
I posted a note about a tool for making WiiBrew. I am not in any way affiliated with the tool except that I am a user. In my previosu post I even indicated that the tool comes in a free version and that the free version is quite capable of making fully functional Wiibrew. There is a Pro version for a cost but the free version is good enough for many projects. I will not discuss the Pro versionby LordAshes - Feedback & Support
Wii Game Studio is a PC based program that allows you to create Wiibrew applications with a drag and drop type environment. Only a little amount of programming knowledge is required and no low level programming knowledge is required. Wii Game Studio comes in 2 versions: Standard Version and Pro Version. The Standard Version is absolutely free and can accomplish most of the things that the Pby LordAshes - The Junkyard
Do you mean when you try to launch the Homebrew Channel from BootMii?by LordAshes - BootMii Beta
What version of the Homebrew Channel are you using? The newer version uses the title JODI whereas the older version uses the title HAXX. If you are using an older version which uses the HAXX title then BootMii may not be able to find the Homebrew Channel because it is looking for the new title JODI. Ensure that you install Homebrew Channel using the latest HackMii Installer.by LordAshes - BootMii Beta
Yes. This should work fine (assuming BootMii does not check for the earlier title)...However it means that you would not have the latest Homebrew Channel. I don't recall if Homebrew Channel updates itself automatically from the Internet. If it does then you might be able to get the latest version, this way, with the old HAXX title. However, I don't have a WiFi network running right nby LordAshes - BootMii Beta
Actually now I managed to even get the Hombrew Channel installed while booting to a custom application... Basically the process is the same as above but a couple of extra steps are added before and after: Before: (this process creates a modified WAD for the Homebrew Channel) 1. Assuming Homebrew Channel is installed, backup your NAND using a program such as WiiNDv2 (found on WiiBrew siteby LordAshes - BootMii Beta
One of the boot options is for BootMii to load the Homebrew Channel (HBC). As far as I can tell this just boots the Channel with the title JODI (the title used by Homebrew Channel). I have not tested to see if it also checks for the title HAXX (which was the previous title of the Homebrew Channel). With the CustomizeMii program, users can easily turn most DOL applications into a channel.by LordAshes - BootMii Beta
Yes. If you are willing to sacrifice Homebrew Channel and use (for example) Homebrew Launcher instead. Basically: 1. Install BootMii 2. Install Homebrew Launcher 3. Uninstall Homebrew Channel (if installed) 4. Use CutomizeMii (PC program) to create a Channel for the desired application (DOL file). Ensure that you give this Channel the TITLE: JODI (This is the TITLE used by Hby LordAshes - BootMii Beta