QuoteyellowstarQuoteLordAshes If you were using binary files, such a (compiled c-code) executable or picture files, the files would need to be encoded on the server so that they can be sent in a regular HTTP GET request. This means that the client (the Wii program) would then need a corresponding decoder to convert the files back to their binary format. No, you can retrieve binary files with HTTby Daid - Coding
Few things about downloading files, there is some http download example code out there. Which works most of the time (but doesn't support chunked encoding, cookies and a few more things that some hosts need) For GoF I made my own HTTP download class, it's in C++, but not that hard to follow. Sources can be found in my svn: I am attempting mediafire downloads, but it's hard.by Daid - Coding
Quotecalvinss4Hi there g_man. How long have you been programming in C? According to your Level struct, levelList.planetR is an integer. When you divide an integer by an integer (i.e. levelList.planetR/50), it carries out integer arithmetic, meaning only the integer part of the result is kept. So for example, 49/50 = 0.98 = 0. If you want to carry out floating point division, then at least oneby Daid - Coding
Have you tried pngcrush to reduce the size of the images? (maybe irfanview messes up the files)by Daid - Ideas, requests
The Wii network functions work almost the same as the normal socket functions found on all major OSes. But then prefixed with "net_" I've wrapped them in my own functions here:by Daid - Coding
The color is a 32bit value with the 4 color components (Red Green Blue Alpha). Each pixel on your texture gets multiplied with this color before it's applied. (Each component gets multiplied and then divided by 255 to be precise) For example, if you have a white texture and draw it with the color 0xFF0000FF it will be drawn red. If you have a picture and you want to make it appear more rby Daid - Coding
Quotearasiumplease use #DEFINE. This is unreadable.You mean typedefs?by Daid - Coding
Very simple example: Run it with this script: print("Start!"); sleep(10); print("End!");And it will print Start!, wait 1 second and then print End! but during the 1 second sleep you can still do processing in the main loop.by Daid - Ideas, requests
You can run it in a different thread, but I kinda hate multithreaded programming. With the yield/resume you can run it in your main thread. I could create some example code if you wish.by Daid - Ideas, requests
While being interesting this attack won't do us any good. They attack a computer that does the encryption, the wii only does the decryption. Encryption happens at the secret Nintendo HQ.by Daid - Offtopic
I personally would use lua for these kinds of things. Makes it easy to modify the events without recompiling. And gives a ton of flexibility. By making use of the "lua_yield" function you can make scripts like this: Say(PersonA, "Bla bla bla..."); Say(PersonB, "Bla bla bla..."); Play("Soundfile!"); SetPose(PersonA, "Cheer"); if ChooseAction("Run away", "Kick in the nuts") == "Run away" thby Daid - Ideas, requests
QuoteThe camera's built-in image processing is capable of tracking up to 4 moving objects, and these data are the only data available to the host. So, you can't. Sorry.by Daid - Coding
Whow, USB loader, cIOS and violating the HBC license in 1 post. Must be a record.by Daid - The Junkyard
But what about speed? I mean I only get 30FPS with 9 frameskip on my 2GHz AMD laptop.by Daid - Ideas, requests
Guess you can use "powerpc-eabi-gcc" now. My guess is that "broadway-gcc" is just an old name.by Daid - Offtopic
QuoteThe annual healthcare cost of obesity in the US has doubled in less than a decade and may be as high as 147 billion dollars a year says new government-sponsored research. Yes, breaking a leg sucks, and it is costly to fix. But mass living unhealthy is like everyone breaking legs all the time, every few years. The amount of health problems that you can get from being fat is insane (whichby Daid - Offtopic
QuoteprofetylenQuoteArikadoWelcome to The Socialist United States of America. All we can do is hope the next President repeals it. Lol. Seriously, what is so wrong with trying to get as many people as possible to have a health insurence? The money it costs? Well, I'm sure you get much back as healthy people can work more and better than ill ones. Won't solve a thing, guys get sickby Daid - Offtopic
I would recommend which is easier to use then GIMP IMHO.by Daid - Offtopic
GuitarsOnFire is a strange mix of C and C++ code: From the machine perspective there is no difference in C or C++, all the magic is in the compiler. And in our case, GCC just as happily uses C as C++by Daid - Coding
I use code::blocks myself. But there are TONS of alternatives: []=trove%3A63&fq[]=trove%3A65&words=&search=Search&fq[]=trove%3A11by Daid - Offtopic
you can download a dump of all articles here. You could build a reader around that.by Daid - Ideas, requests
It's better to put these lines in your ~/.profile. That will keep your makefiles compatible with windows and setups where devkitpro isn't installed in /opt/devkitproby Daid - Coding
I also had trouble with bannerbomb working on 3.1 and 3.2. So I used the twilight hack. If that's not an option then upgrading to 4.2 might solve your problems.by Daid - Getting Started
should be able to create an install a channel from what I understand.by Daid - Homebrew Applications
3 things: -Dolphin is far from perfect. I recommend testing on a real Wii, results could be better there. -Maybe the file needs to have power of 2 sizes (128x128 for example) -Use a different image host. Adds on that one are insane.by Daid - Coding
QuotescanffQuoteg_manI thought I read somewhere that box2d wasn't very good for the type of gravity i'm tring to implement. Also, I'm tring to use this as a learning experience. Thanks though Yes Box2D will not help you with this.Not entirely true. In the source repository there is Contributions/Enhancements/Controllers/b2GravityController which can be used to do what he wants.by Daid - Coding
Upgrade to 4.2 and dop-mii everything to the latest versions. Good chance the downgrade broke something and there is no reason to downgrade.by Daid - Homebrew Applications
Stripios is a 'host' tool, so it will be compiled for windows in your case. For that it tries to use a C++ compiled (g++) you might get away with using mingw to compile Stripios. Else you could try to setup a cygwin environment to compile in.by Daid - Coding
Just dropping by to say "Awesome job!"by Daid - Ideas, requests