@DRS_ cool thanx. I really don't need much memory. I also found another array bound bug in my menu system.by owen - Coding
At first I tried array[10000][10000][10000] and the compiler told me that the size of the array was too large. I really didn't need that much anyway. :) @Aruskano thanx much but I will not venture into "dynamic memory" magic. I will stick with the simple stuff. I will just have to rethink how I size the arrays until I find the optimum mix.by owen - Coding
After messing around with the size of my arrays it seems like I am running out of heap space or some kinda memory. I may have to rethink how I build my octree. here are the structures that are eating up my heap :( #define LISTSTRUCT_MAX 120 typedef struct { int list; int list_current; int list_max; } ListStruct; //-----------------------------------------------------------by owen - Coding
For the enemy_add() function the program flow never actually entered the enemy_add() function. I'm doubt I am running out of memory because I have written large programs. The enemy_add() function is like this; void enemy_add(guVector pos, int type ){ int free_slot=enemy_list_max; int i; for(i=0; i<enemy_list_max; i++) { if(!enemy_list.active) { free_slot=i; bby owen - Coding
Nothing worst than when you are coding and everything complies fine but one day compile the dol file, run it on the wii and the wii just freezes instanly. I have no clue why it happened. No crash screen, nothing. Just black. Is there anyway to debug this kind of crash? Nothing is apparently wrong with the code because it was working fine the other day and I was just going through my usualby owen - Coding
You have DevKitPro installed? there are some wii examples with some basic stuff. Once you get the devkitpro examples working, you should beable to hack some stuff out of the sprites example. Then there is a GRRLIB has a tiledemo (that looks like this video ) but its pretty basic. GRRLIB stuff is hereby owen - Coding
I updated it a bit. Removed the colour switching and added a 3d quadtree like data structure to manage the 500 asteroids that are bouncing about at 60fps. Its not perfect since I can only draw 180 asteroids on the screen before I lose frames but I guess 500 is enough,by owen - Testing Corner
THe plugin is probably storing some stuff about the last installation. You might try re-installing it as well. I am not sure.by owen - Coding
@Titmouse good idea. I think a permanent mothership would be good, although I would have to figure out how to set up the stage so that it does not get raped by asteroids when you fly too far from it. Its tricky because right now, the enemies are killing the asteroids faster than the player. And if the enemies don't defend themselves from the asteroids then they themselves will get blown uby owen - Testing Corner
So you are using a 16:9 widescreen tv and what cables and tv settings are you using?by owen - Coding
here is my work in progress asteroids clone; Its not really a game, since you cannot die and nothing can damage you. It has no music or sound effects and some of the collision detection is kinda wack. The game plays best with a analog stick (nun-chuck,gamecube or classic), press A or C to change the camera view and B to shoot. I am really not sure where I am heading with it so any suggestiby owen - Testing Corner
@antibyte sounds pretty cool. Will test it out with my new big array quad tree. I also had another type of bug where I would try to access Array and it would change a value in a totally unrelated array in a unrelated piece of code. Only way I realised it was happening was because its effect was shown on screen. Finding it was a tedious task of printf() before and after blocks of code on theby owen - Coding
I got a funny crash today while trying to declare a big array. Instant crash. The wii stopped outputing video, the power light stays green and the disk drive is solid blue. Maybe its getting old :(by owen - Coding
@Hazematman I do a while loop while checking the timer and the key presses. I check for key presses so I can quickly skip the points when I don't want to wait for the loop to end. void engine_sleep() { //little error console float wait=1000, atime=0; while(1) { game_updatebuttons(); if(button_bomb_held | button_shoot_held | button_menu_held | button_start_held ) break; iby owen - Coding
I just started using printfs and sleep recently but most of my fatal crashes come from; - trying to draw polygons in the wrong 3d mode causing a blank or frozen screen. - accessing array with the wrong index. - sending the wrong number of verts to GX causing a blank or frozen screen. - mixing ints and floats in calculations (doesnt really crash but causes weird side effects)by owen - Coding
people have been asking this question for YEARS!!! I never really understood it.by owen - Coding
finally managed to put the code to some good use;by owen - Coding
Ok, cool, I thought the ifndef was suppose to take care of the. I am working on my menu system. will test out the extern syntax and see if it solves it.by owen - Coding
So I've been updating one of my 3d games in c and I notice that when every I reference a bool variable that was declared in a header file I get a crash screen. If I initialize the variable to false, everything works fine but I am wondering if I am miss using the the header files or something. My set up is like this; common.h has this code; #ifndef common_h #define common_h bool dby owen - Coding
@sifar yeah, true, but it could probably be a barebones javascript/php parser (no html, no html render engine, no interface, no flash lol). But then again if you know php/javascript why not learn c? yeah its pointless. sorry @sl1ck, learn c or lua.by owen - Coding
@sifar he doesn't want to create a internet browser. he wants a to create homebrew for the wii using javascript and php but there is no app framework /host on the wii that allows him to do that. It would be something likeby owen - Coding
C and C++ is better than all web languages. Of course using c is harder but it is more efficient . Web languages are memory intensive and really just used by people who want to be sandboxed. I doubt such a wrapper is possible. Have you tried the featurs of the wii opera browser?by owen - Coding
SO I'm working on a little side project for the NintendoMax Compo and I want to play some sound effects but I don't want to have to convert all my sound effects to PCM (annoying!). I am using Modplay for the background music (only allows me to play one mod file at a time). Is there a way I can play quick sound effects without converting them to pcm files?by owen - Coding
you need to change your theme. Download one; put it on your SD card and then run it from the homebrew channel (might be easier to find if the theme is the only thing in the apps folder of the SD card.) Once you swap the theme, then you should be good.by owen - Homebrew General
Good luck with your code! Looks complicated. how many layers do you plan to draw?by owen - Coding
hey @oldskooler whats you current email address? sent me a email when you get a chance. ~~~~owenby owen - Ideas, requests
no, 24mb + 64mb of ramby owen - Wii Linux
@DJHoboMan and @headfirst4halos did your disc drive spin and then make a single "click" sound when you put the disk in? I'm trying to figure out which one is the actual issue because no one seem to be clear as to what happens to the drive if you play MW3 too long.by owen - Hardware
for unity info; read without the license from nintendo and the special version of unity you won't be able to use for wii development - sorry. If you really want to do wii stuff try a tutorial;by owen - Coding
This app has no documentation about rockband drums but your can try your luck;by owen - Ideas, requests