<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>JPEG Overlap &amp;amp; SD Card Reading</title>
<description> This is regarding my game ... Hate

Umm... First things first... How do I read off of the SD Card?

Secondly, How do you code JPEGS in a way that they would overlap with (umm.. i think it was called alpha-blending (from back in my C# days))

Thank you in Advance!!!</description><link>http://forum.wiibrew.org/read.php?11,7916,7916#msg-7916</link><lastBuildDate>Tue, 18 Aug 2026 06:34:44 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8217#msg-8217</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8217#msg-8217</link><description><![CDATA[ Indeed, it is. You still need to include the header files, but you can skip the compilation and just go directly to the linking.]]></description>
<dc:creator>henke37</dc:creator>
<category>Coding</category><pubDate>Sun, 18 Jan 2009 11:35:53 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8215#msg-8215</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8215#msg-8215</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>Sinman</strong><br />Wouldn&#039;t I still have to include it in the Makefile with the list of other LIBS? If so, what&#039;s six in one hand versus half dozen in the other?</div></blockquote><br />Err, you would include it in the makefile but you wouldn&#039;t have to compile it along with the rest of the stuff. But I&#039;m pretty much a C noob so maybe henke37 can clarify. It just seems like bad programming practice to have your libraries in your source directory.]]></description>
<dc:creator>iofthestorm</dc:creator>
<category>Coding</category><pubDate>Sun, 18 Jan 2009 08:59:13 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8123#msg-8123</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8123#msg-8123</link><description><![CDATA[ Wouldn&#039;t I still have to include it in the Makefile with the list of other LIBS? If so, what&#039;s six in one hand versus half dozen in the other?]]></description>
<dc:creator>Sinman</dc:creator>
<category>Coding</category><pubDate>Sat, 17 Jan 2009 02:27:41 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8084#msg-8084</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8084#msg-8084</link><description><![CDATA[ I think the preferred way would be to compile GRRLib once and then stick it in your /libogc/lib directory, and the .h in your libogc/includes directory.]]></description>
<dc:creator>iofthestorm</dc:creator>
<category>Coding</category><pubDate>Fri, 16 Jan 2009 19:11:05 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8075#msg-8075</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8075#msg-8075</link><description><![CDATA[ <blockquote class="bbcode"><div><small>Quote<br /></small><strong>henke37</strong><br />Ew, having to compile libraries in your master makefile!</div></blockquote><br />Are you referring to my advice? I&#039;m a total noob learning by example. What&#039;s the preferred way?]]></description>
<dc:creator>Sinman</dc:creator>
<category>Coding</category><pubDate>Fri, 16 Jan 2009 15:34:28 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8064#msg-8064</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8064#msg-8064</link><description><![CDATA[ Ew, having to compile libraries in your master makefile!]]></description>
<dc:creator>henke37</dc:creator>
<category>Coding</category><pubDate>Fri, 16 Jan 2009 08:17:05 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8017#msg-8017</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8017#msg-8017</link><description><![CDATA[ FINALLY.. thanks to all. that helped me... Back to crafting my game..........]]></description>
<dc:creator>Legend28469</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 21:13:11 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8013#msg-8013</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8013#msg-8013</link><description><![CDATA[ Put the .a file for grrlib in the /devkitPRO/libogc/lib folder. Put any .h files or folders containing .h files in the /devkitPRO/libogc/include folder. (This is assuming you&#039;re using the default install paths)]]></description>
<dc:creator>Arikado</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 20:59:21 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8008#msg-8008</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8008#msg-8008</link><description><![CDATA[ ARG... :@.. its styll not working.. lol.. I hate to be a noob.. but i think i need a how to setup GRRLIB for dummies or something.... i&#039;ve got a bunch of files.. but i&#039;m not sure on where to put em.. my makefile is ok.. its just i don&#039;t know where to put the files that come with the whole package.. (sorry makefiles are new to me.. windows C++ programming was alot easier.. =D.. sorry... (wow.. i say sorry alot.. ) sorry)..]]></description>
<dc:creator>Legend28469</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 20:21:46 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8004#msg-8004</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8004#msg-8004</link><description><![CDATA[ Thank you for clearing that up...]]></description>
<dc:creator>Legend28469</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 19:39:15 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,8003#msg-8003</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,8003#msg-8003</link><description><![CDATA[ This is the blind leading the blind but here goes: download the GRRLib files and add them to your project&#039;s source directory. Open your Makefile and update the line that looks like:<br /><br /><pre class="bbcode">
SOURCES		:=	source</pre><br />to:<br /><pre class="bbcode">
SOURCES		:=	source source/GRRLIB</pre><br />(This tells your Makefile to look inside the new GRRLib directory you just added.)<br /><br />Then in the same Makefile update the line that looks (something) like:<br /><br /><pre class="bbcode">
LIBS	:= -lz -lwiiuse -lbte -logc -lm</pre><br />to:<br /><br /><pre class="bbcode">
LIBS	:= -lpng -lz -lwiiuse -lbte -logc -lm</pre><br />(This tells your Makefile to include libpng which is required by GRRLib.)<br /><br />Then in main.c add:<br /><br /><pre class="bbcode">
#include "GRRLIB/GRRLIB.h"</pre><br />Then follow the Day 5 tutorial.]]></description>
<dc:creator>Sinman</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 19:34:09 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7999#msg-7999</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7999#msg-7999</link><description><![CDATA[ Lol.. ok.. Thank you.. but umm.. any idea how to setup the GRRLIB files... Do they go in the PowerPPC part or the libogc... (sorry if its a noob question)]]></description>
<dc:creator>Legend28469</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 18:18:30 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7990#msg-7990</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7990#msg-7990</link><description><![CDATA[ Alpha blending is a more powerful (and slower) version of masking. I think that you are more interested in masking. However, due to the hardware acceleration, you might as well do alpha blending since that is hardware accelerated.]]></description>
<dc:creator>henke37</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 17:15:29 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7982#msg-7982</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7982#msg-7982</link><description><![CDATA[ Not exactly. The <a href="http://grrlib.santo.fr/wiki/wikka.php?wakka=Day5" rel="nofollow">day 5 tutorial</a> explains the process quite clearly though.]]></description>
<dc:creator>Sinman</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 14:00:31 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7962#msg-7962</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7962#msg-7962</link><description><![CDATA[ ok.. Thank you.. is the setup the same too... ??]]></description>
<dc:creator>Legend28469</dc:creator>
<category>Coding</category><pubDate>Thu, 15 Jan 2009 04:36:44 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7923#msg-7923</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7923#msg-7923</link><description><![CDATA[ iofthestorm is correct, JPGs don&#039;t contain alpha info. Check out <a href="http://grrlib.santo.fr/wiki/wikka.php?wakka=HomePage" rel="nofollow">GRRLib</a>. It uses PNGs (your image editor should be able to save those just as easily as JPGs) and lets you control the alpha of the entire image (if the alpha channel in the PNG isn&#039;t enough for you).]]></description>
<dc:creator>Sinman</dc:creator>
<category>Coding</category><pubDate>Wed, 14 Jan 2009 22:18:48 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7922#msg-7922</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7922#msg-7922</link><description><![CDATA[ I&#039;m sure you can do it, I just don&#039;t know how. But you could look in the list of GX functions or look at the source of other people&#039;s projects.]]></description>
<dc:creator>iofthestorm</dc:creator>
<category>Coding</category><pubDate>Wed, 14 Jan 2009 22:17:39 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7921#msg-7921</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7921#msg-7921</link><description><![CDATA[ Thank you ... lol... I guess the game I&#039;m making will be a little plain without alpha blending..]]></description>
<dc:creator>Legend28469</dc:creator>
<category>Coding</category><pubDate>Wed, 14 Jan 2009 22:15:34 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7918#msg-7918</guid>
<title>Re: JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7918#msg-7918</link><description><![CDATA[ Reading off the SD card is done with libfat. You will want to add -lfat to your libs in your makefile and then #include <fat.h> at the top. Then you can just do fatInitDefault() in the beginning of your program and then use files like you normally would in C. Eg, to open a file for reading you would do FILE *file = fopen("sd:/path/to/file", "r"). Read up on C file I/O for more information, and check the libfat example in the examples directory of devkitpro.<br /><br />As for the JPEG alpha blending, I can&#039;t help you there, but I don&#039;t think JPEGs have any alpha channel information. I assume you would mask out a certain color or something, but I haven&#039;t done anything with graphics on the Wii.]]></description>
<dc:creator>iofthestorm</dc:creator>
<category>Coding</category><pubDate>Wed, 14 Jan 2009 22:01:42 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,7916,7916#msg-7916</guid>
<title>JPEG Overlap &amp; SD Card Reading</title><link>http://forum.wiibrew.org/read.php?11,7916,7916#msg-7916</link><description><![CDATA[ This is regarding my game ... Hate<br /><br />Umm... First things first... How do I read off of the SD Card?<br /><br />Secondly, How do you code JPEGS in a way that they would overlap with (umm.. i think it was called alpha-blending (from back in my C# days))<br /><br />Thank you in Advance!!!]]></description>
<dc:creator>Legend28469</dc:creator>
<category>Coding</category><pubDate>Wed, 14 Jan 2009 21:57:39 +0100</pubDate></item>
</channel>
</rss>