Could you put the JPEG image that is causing problem somewhere on Internet so I can download it. BTW mdbrim and I asked you to use elizabeth_hay_jpg_size, but you did not give any feedback.by Crayon - Coding
But when you use GRRLIB_LoadTextureJPGEx, it's not looking for 0xD9 0xFF. The second parameter is the size of the image, so no need to find the end of the file.by Crayon - Coding
Just to be sure, are you sure the file size for elizabeth_hay_jpg is 0x32F6 (13046 bytes)? Why do you write it in hex, it's just more complicated to read. If you use WiiBuilder or raw2c, the size for elizabeth_hay_jpg should be elizabeth_hay_jpg_size.by Crayon - Coding
With no code, it's impossible to tell whats wrong. Please paste some code somewhere we could have access to.by Crayon - Coding
Do you really need GRRLIB_buffer to be extern? Use static instead if all your function are in the same file: static u16 *GRRLIB_buffer; BTW, you don't need to create a buffer in your code, if you use GRRLIB???by Crayon - Coding
QuoteChicken_BonesCan I use GRRLIB_LoadTextureJPGEx with GRRLIB_LoadTextureFromFile? No, but you can use it with GRRLIB_LoadFile, but you will need to add some custom code.by Crayon - Coding
Try to use GRRLIB_LoadTextureJPGEx instead of GRRLIB_LoadTextureJPG.by Crayon - Coding
ScaleX and ScaleY should be equal to 1 in order to use the original size. GRRLIB_DrawImg:: xpos Specifies the x-coordinate of the upper-left corner. ypos Specifies the y-coordinate of the upper-left corner. tex The texture to draw. degrees Angle of rotation. scaleX Specifies the x-coordinate scale. -1 could be used for flipping the texture horizontally. scaleY Specifies the y-by Crayon - Coding
I guess it's because you changed your Makefile, it should look like this:by Crayon - Coding
I'm sorry I just don't understand the problem. If it's possible just put every thing in a zip file and upload it somewhere. I tried this code: typedef struct OscImg { GRRLIB_texImg * texture; } OscImg; OscImg imgOsc; Whit this in the main(): imgOsc.texture = GRRLIB_LoadTexture(my_img); // ... GRRLIB_DrawImg(10, 60, imgOsc.texture, 0, 1, 1, 0xFFFFFFFF); Aby Crayon - Coding
How did you create the object with the objOscar class? Could you paste that code. Maybe it could a good thing to paste the .h too. When there is an error in Programmer's Notepad you could click on the red line to go to the error, could you paste that line too. Thanks.by Crayon - Coding
What tool did you use to generate spr_oscright_img??by Crayon - Coding
From what I see in your code, those two lines seems to be in the middle of nowhere: OscImg imgOsc; imgOsc.texture = GRRLIB_LoadTexture(spr_oscright_img); Call GRRLIB_LoadTexture in your constructor or something ... PS: Next time use the code tag when you post source code on this forum.by Crayon - Coding
The parameters for GRRLIB_DrawImg are in order: xpos Specifies the x-coordinate of the upper-left corner. ypos Specifies the y-coordinate of the upper-left corner. tex The texture to draw. degrees Angle of rotation. scaleX Specifies the x-coordinate scale. -1 could be used for flipping the texture horizontally. scaleY Specifies the y-coordinate scale. -1 could be used for flipby Crayon - Coding
If you were using a recent version of GRRLIB, you would simply need to call GRRLIB_LoadTextureFromFile.by Crayon - Coding
If you are using the svn version of libogc you need to use the svn version of GRRLIB. In revision 4170 of libogc, GX_BM_SUBSTRACT was renamed GX_BM_SUBTRACT.by Crayon - Coding
I'm not sure I understand everything here. wiiload is suppose to be used with the Homebrew Channel, you don't need to open any homebrew (like WiiExplorer). wiiload does not connect via FTP, but with TCP/IP.by Crayon - Coding
A category was started for homebrew done in C++. But no one is using it :(by Crayon - Coding
If you are better in object-oriented programming, why do you code in C :)by Crayon - Coding
string is only available in C++. In C, you should use char.by Crayon - Coding
QuoteDaidQuoteCrayonYour png are 256 colors, palette are not working in libpng. Convert them in 24bit or 32bit.pngu is the problem not libpng.. Yes, you are right. I don't know why I wrtote that :(by Crayon - Coding
QuoteiSubaruhow to make it possible be downloadable by Homebrew Browser? Is there some thing that must be sent to someone for acceptation, or maybe they do it automatically? Simply add it to the list:by Crayon - Coding
Your png are 256 colors, palette are not working in libpng. Convert them in 24bit or 32bit. If you want warnings like that when converting your images, instead of raw2c, you may want to use WiiBuilder.by Crayon - Coding
We did some test with GRRLIB, but we got into other stuff. If you want to look at the code, every thing is available in this branch:by Crayon - Coding
QuoteiSubaru- Thumb.db (for what kind of...?) This is the cache of thumbnail images that represent larger images in a Windows folder. In other therms, this is crap.by Crayon - Coding
A lot of homebrew are open source. Don't hesitate to look at their code. Here is the list:by Crayon - Coding