Don't use piracy and you'll be fine.by Daid - The Junkyard
You don't if you can avoid it. Start out with GRRLIB, and look at the GRRLIB (and other libraries) sources if you need to know how to use GX yourself.by Daid - Coding
QuoteawiiprogrammerQuoteDaidQuoteawiiprogrammerI know a fair amount if c++.But do you know any C?C++ is a follow-up to C, they are basically the same. The only difference is the way the objects are linked in binary. OF COURSE I KNOW C. The devkitPro toolchains support C & C++, so I don't see the reason in asking this.When you say "I know C++" I assume you program using Boost/STL/MFC and thinby Daid - Coding
QuoteawiiprogrammerI know a fair amount if c++.But do you know any C?by Daid - Coding
MIKEp5 just stands for MIni KErnel Preview 5. Which is the linux kernel, build with "MINI" support (low level hardware access)by Daid - Wii Linux
Start a new thread, sleep 15 miliseconds, run your function. If you need example code for new threads, just look at the sourcecode for the SDL Wii port.by Daid - Ideas, requests
The first (few?) blocks are guaranteed to work, not just for the Wii, but for most flash chips that you can buy.by Daid - Hardware
I managed to get this code working when connecting the uC, but only when connecting to the PC (using the WiiUse library). But that was quite a while ago, there might have been updates and it might work on the Wii now.by Daid - Hardware
QuoteSifJarIt IS the case. But I don't think that's top of Nintendo's list of worries tbh.The only proof I have seen you post for this is that some code looks 'dodgy' because it's not coded in a way you should code it.by Daid - Homebrew General
Sure, we'll just create a game from scratch (including gameplay, artwork, everything) from some story from some book because you found the book AWESOME! I'll get right on it after I made a game from the Sword Of Truth series, and this great game from the traffic ticket I got last week. I also want to turn my desk phone in a game, but that can wait. Because your book is AWESOME!by Daid - Ideas, requests
That might be administration data that won't be freed?by Daid - Coding
What did it output? Would help to know what we are looking at.by Daid - Coding
Quoteg_manQuotetueidjPutting a function's code in a header file is basically the same as declaring it inline, except you avoid multiple definition errors by using inline.are you sure? but declaring it static inline would also solve the same problem.Indeed, static would solve the multiple definition errors. The "inline" keyword is just a hint for the compiler, the compiler is free to ignore iby Daid - Coding
Inline happens at compile time not at link time, so that's why it won't link (as the function is already inlined) the only way to get inline functions to work is to put the whole implementation in the header file. (for best compiler compatibility make the function "static inline")by Daid - Coding
Just scan for machines on your local subnet with port 4299 open to find the Wii.by Daid - Ideas, requests
From: QuoteThe first and easiest thing to do is make sure not to place anything like buttons or status displays too close to the edges of the screen, because this creates the likelihood of having them partially or completely cut off. The BBC recommends keeping a margin of 5 percent on each side.by Daid - Coding
I think you could just compile it with ease? Else there is a zip reading/writing code in the zlib contrib directory.by Daid - Coding
3rd party controllers are badly supported by homebrew at best.by Daid - Homebrew General
QuoteJhooFor example, I went to the Priiloader wiki page and there is a huge warning about unexpected problems... How can I figure out what's safe and what's not to install? It is suggested to be installed according to another guide I read - "Softmod for ANY 4.2 Wii!" (don't know if I can link it here, according to forum rules).Don't use anything with warnings on WiiBrew.org uby Daid - Getting Started
"Strings" are not easy in C or even in C++. In C# and Java a lot of work is done for you, but in C/C++ you need to take care. I suggest reading this topic: I explain a bit about 'strings' there.by Daid - Coding
Almost everything uses 2 complement numbers these days. So, I think the NEG instruction does: Invert all bits. Add 1. Or: R1 = (~R1) + 1; Or: R1 = -(signed int)(R1);by Daid - Software
Sounds like a PAL vs NTSC problem.by Daid - Homebrew General
QuoteCrayonYour png are 256 colors, palette are not working in libpng. Convert them in 24bit or 32bit.pngu is the problem not libpng. I've patched the pngu in the GoF SVN to fix this issue: . But only when converting to RGBA8.by Daid - Coding
If you know very little about 3D then I suggest you start off on an PC, with something like OpenGL. There are a whole bunch of tutorials found here: Skeletal systems mostly have to do with animations and 'attaching' objects to other objects (like a gun in someones hand)by Daid - Coding
You can disable thumb generation in "tools->folder options" For the 3D model, you need some kind of library to load and show it. It's usually not as simple as it sounds.by Daid - Coding
QuoteCrayonNormally the Wii goes at 60 FPS.On PAL it's 50 FPS. On GuitarsOnFire I did the strangest thing, I sync animations to the audio. But most of the time using frame counters is good enough, but it will run a bit faster on PAL then on NTSC.by Daid - Coding
QuoteDragoni dont want to be impatient, but can we have a timeframe in which we can expect homebrew to be up and running on 4.3?I would say, 2 months. But I might have been following the OpenPandora to much.by Daid - Homebrew General
Use DOP-Mii to install the latest versions of all IOSes, this should clean out any pirate IOS written on top of a official IOS. You could potentially use AnyTitleDeleter to remove any IOS not used by nintendo (I think pirates use IOS202/IOS222/IOS254) but these shouldn't affect homebrew in any way. As 99.9% of the homebrew is run in IOS36.by Daid - Homebrew General
And the pirates would simply hack the title check out.by Daid - Offtopic
Useful. Some things: vsnprintf does NOT add a terminating \0 at the end if the buffer is full. This could cause problems in your code. You do the vsnprintf twice, once on line 12 and once on line 17, the one on line 17 seems wrong, as it's after the va_end. sprintf(buf, "%s\n", buf); This might do what you want, but it does not take the length of the buffer in account. And I'm notby Daid - Coding