We need to set up new feeds, actually.by Tantric - Offtopic
QuotescanffQuoteKsmilerAhhh I meant, I wanted to check out the project from Sourceforge using TortoiseSVN but I dont know the address of the project. Then I can apply the patch for WiFi debugging. Will there be any problems if I overwrite the libogc library with the checked-out version? I don't think just anyone has commit access to the SVN. You'll have to ask an admin of the pby Tantric - Coding
QuoteSteelSLasherthanks for that, also setting it as a windows path, is that by any chance setting a global system variable also while i have your attention, why can't images be inserted into windows as elements (libwiigui) and will a future release involve built in threads or is there some material describing how threads should be used considering a GUI. I am finding it a bit hard to graby Tantric - Coding
You should run it like this: C:\devkitPro\devkitPPC\bin\powerpc-gekko-addr2line.exe -e C:\WiiBrowse\WiiBrowse.elf 800555d0 80409595 80299933 Where you have included all the addresses under STACK DUMP (the ones separated by -->) Then you will get output like this: ??:00 video.cpp:93 stuff.cpp:203 main.cpp:402 Which is showing you it went from main.cpp line 402, to stuff.cpp liby Tantric - Coding
That's great! What are you going to make them out of?by Tantric - Homebrew General
What do you mean? Just take a look at the included template. You put the PNG in the images folder, add it to filelist.h, include filelist.h in the source, make a GuiImageData object, and a GuiImage object.by Tantric - Coding
Hi. That is a known problem. I will fix it in 3.0.1 and 4.0.2.by Tantric - Homebrew Applications
Ah. Well, you can't include C++ files in C - but you can do the reverse. Leave all the code the same, and just renaming the file with your main() - usb.c? to usb.cpp The C code gets compiled as C++, but will work the same. If you really want to compile C stuff into a C++ project as C, just wrap your C code like this (see oggplayer.h for an example - ): #ifdef __cplusplus extern "C"by Tantric - Coding
Quotetrottolook!!!!!!!!! this issue was making me crazy! Is there a plan to include all the resolution format? Is there a plan to include jpg? Is there a plan to have the stretch functionality in the imageData class? Thx Amedeo If you have feature requests, feel free to submit them to Google Code: Stretch and jpg shouldn't be hard. But the reason I personally didn't waby Tantric - Coding
QuotetrottoloAnother stuff... I did an application now I developped in another project the gui....so now I put in the source directory of my application(in a subdirectory called gui) the file and directory of develloped in parrallel. when I include the gui/gui.h of my application I did this error when compiling usb.c In file included from c:/projects/wii/USB/USB_AME/source/gui/FreeTypeGby Tantric - Coding
At the moment, no, there's nothing pre-made - although you can certainly make something from scratch. The ability to compile in PNG files like libwiigui does is determined by the makefile, you can take a look there for how to do that. Shy of C++? FYI, You can keep the rest of your app in C, and just use C++ for the GUI, if you wish.by Tantric - Coding
Your image file width and height should be multiples of 4, that's the most important thing. Also save your files in 8 or 16 bit, non-interlaced format. Follow the specs for PNGU, since that's what libwiigui uses.by Tantric - Coding
are there spaces in the path? Your source files shouldn't be in a subfolder that includes spaces. Try moving it to c:\Projects or somethingby Tantric - Coding
Or you can turn off the auto loading or saving!by Tantric - Homebrew Applications
You would have to tell it where you them in the Makefile. Or, just move the files to where I said to put them - C:\devkitPro\libogcby Tantric - Coding
lbrewii, nice job hijacking some else's thread :Pby Tantric - Homebrew Applications
Not one of my goals, no.by Tantric - Homebrew Applications
That's the right place, but you're doing something wrong, somehow... ft2build.h should be at: C:/devkitPro/libogc/include/ft2build.h If you can't find it, redownload the libs from the libwiigui site and try again.by Tantric - Coding
Heh. No, don't use THAT makefile. Open up the folder labelled "template" inside. That is a sample project, with a sample Makefile.by Tantric - Coding
Or look at any of the others from other projects out there.by Tantric - Coding
Or within Programmer's Notepad, you can open the Makefile, and compile. The project file just lets you browse the listing of files associated with the project.by Tantric - Coding
A buffer can be cast in any way convenient - void *, char *, int *, whatever you need =) It has no impact on the data itself, only the chunk size being considered, if you decide to manipulate it somehow.by Tantric - Coding
Here's a better example: fatInitDefault(); // should only be called once // will read in the whole file char * buffer; // file buffer int size = 0; // file size FILE* file = fopen("sd:/hello.txt","rb"); if(file > 0) { struct stat fileinfo; fstat(file->_file, &fileinfo); size = fileinfo.st_size; buffer = (char *)malloc(size); fread(buffer, 1, size, file);by Tantric - Coding
QuotescanffIf you're just wanting to read a file then... fatInitDefault(); FILE* f; char buf[50] = {0}; f = fopen("/hello.txt","r"); // will be root of the SD fread(buf,50,1,f); fclose(f); Actually, that might not be the root of the SD. Depends on if SD was mounted and set as the default devoptab device. It'd be best to do this instead: f = fopen("sd:/hello.txt"by Tantric - Coding
Quotecdmaclibfat, which is installed as part of devkitpro. #include fat.h // Should have angle brackets but this forum doesn't display them ... fatInitDefault(); fatMountSimple("sd", &__io_wiisd); fatMountSimple("sd", &__io_wiisd); is not required - this is done by fatInitDefault()by Tantric - Coding
Thanks for the feedback. I didn't think to include a project file for Programmer Notepad, since I don't use that. I'll include one in the next version. But, I've made one for you and you can download it here: Just save that file into the main libwiigui folder, alongside the Makefile. Hope this helps.by Tantric - Coding
Ah! Well, all you need to do is read the file into a buffer like you're doing. Then, just simply pass that buffer pointer into GuiImageData - you can cast it if needed: GuiImageData myImg((const u8 *)myBuffer); A reminder that GuiImageData uses that myBuffer directly, so don't free() it when you're still using it! Also, you're responsible for free'ing the buffer youby Tantric - Coding
QuoteXFelixXi dont think it auto loads the srm when i tell it to either. It will, if your save has Auto at the end of the name (rename it!). Otherwise, you'll have to load the save the first time, and then (optionally) delete the old save file.by Tantric - Homebrew Applications
Quotethe_marioAlso, the date/time display for saves is completely wrong. EDIT: Also not a big fan of the auto saving system. It should save to a preexisting .srm not create a completely new one. Date/time comes from libfat. Not a bug in Snes9x GX. Autosaving was set up this way, for a save to be loaded automatically it must have Auto on the end now. Other saves are numbered.by Tantric - Homebrew Applications
Did you read the included readme, or the wiibrew page? Apparently not..by Tantric - Homebrew Applications