
I noticed Swiss has it's own .bnr file, so I figure it's doable. Any insight?
SS
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
never knew there was one (doesn't mean there isn't) but the linux one works really good!ShockSlayer wrote:That's basically what I'm looking for, thanks! Kind of a pain though that it's Linux only, but I guess I can run a VM. Unless there's a Windowstastic way to do this?
SS
>>> BadAssConsoles.com <<<emu_kidid wrote: beer is like WD40 for megalomaniac's brain, gets the gears moving
PNG2CARD by CrowTRobo
---------------------
This tool will convert a PNG image to an array of data suitable for
being used as a banner or icon on a GameCube memory card. This was
written to be used in conjunction with my memory card code that is
now available as part of GCLIB which can be found at:
http://www.sourceforge.net/projects/gclib/
PNG2CARD converts 96x32 and 32x32 images which are the size of the
banner and icons respectively. Three image types are supported:
Palette, RGB and RGB with Alpha channel. These get converted to
the three GC formats that they correspond to:
CI8 (8bit color indexed)
RGB5 (5 bits per color)
RGB4A3 (4 bits per color and 3 bits for alpha)
Usage
-----
PNG2CARD <png file> <output file> <array name>
<png file> is the PNG image you want to convert
<output file> is the file you want the array to be written to. If the
file already exists, the data is appended. This way you can output
multiple images to the same file. For instance, when using animated icons.
<array name> is the name you want for the array of image data.
If you get a "libpng warning" about the "iCCP chunk" when using PNG2CARD,
you can just ignore it. The program doesn't use this chunk of the PNG
file so the warning is irrelevant.
yeah, thanx for the info, emu_kididemu_kidid wrote:sounds like that program will write it into an array to be included in a program rather than a .bnr. I'm pretty sure I've seen tga2bnr or something ancient that has worked well. Worst case, someone here can write one, it's pretty easy.
so, instead of "paste insert" the codes in, i "paste write'?emu_kidid wrote:When you paste in the hex editor, make sure it's overwriting and not changing the total size of the file because all the offsets in the file are fixed addresses/size.
yep, if it weren't for emu_kidid giving me the answering to solving the issue, i wouldn't have been able to figure this outdeckard wrote:Glad to hear you were able to get it sorted out. Thanks for sharing the details
yeah, that's another way to go about it, something i hadn't thought of ever. nice idea, Apache ThunderIApache Thunder wrote:I found that I can use photoshop to out put to 16 bit BMP and GCRebuilder will finally accept that as the BMP import. You MUST add the alpha layer! (also make sure that "Alpha Channel" is checked on the save file dialog box) If you don't Photoshop won't save it in the right format. (has to be 16bit A1 R5 G5 B5)
In photoshop's "advanced mode" dialog, be sure that the above mentioned format is selected. Do not check "Flip row order" box! Will result in corrupted image in GCRebuilder!)
I did try Gimp. But it doesn't seem to do it right and the image comes in corrupted. (most likely wrong channel order). There may be better alternatives to Photoshop for those who need free options though. But that's what format GCRebuilder expacts. BMP 16-bit A1 R5 G5 B5 <--- Remember that.
don't need to go through all that mess just to use a custom banner image. Photoshop kicks so much ass.