| 1 |
======================================================================== |
| 2 |
CONSOLE APPLICATION : splicebmp Project Overview |
| 3 |
======================================================================== |
| 4 |
|
| 5 |
//////////////////////////////////////////////////////////////////////// |
| 6 |
// Version: |
| 7 |
//////////////////////////////////////////////////////////////////////// |
| 8 |
|
| 9 |
This is release 002 of splicebmp. When run, splicebmp will report |
| 10 |
its version number. This may not be visable due to the console |
| 11 |
window immediately closing. In this case, run it in a command |
| 12 |
line. |
| 13 |
|
| 14 |
//////////////////////////////////////////////////////////////////////// |
| 15 |
// Usage: |
| 16 |
//////////////////////////////////////////////////////////////////////// |
| 17 |
|
| 18 |
splicebmp |
| 19 |
|
| 20 |
No command line parameters are required. |
| 21 |
|
| 22 |
"powder.gba" is assumed to be the name of the original POWDER ROM. |
| 23 |
"dungeon16.bmp" is assumed to be the name of the bitmap to replace |
| 24 |
the POWDER bitmap. |
| 25 |
"powder_c.gba" is the name of the generated spliced ROM. |
| 26 |
|
| 27 |
If an error occurs, an appropriate message is output. However, if |
| 28 |
it is run from the Windows desktop the console application may |
| 29 |
close before the message can be read. Run it from the command |
| 30 |
line to learn what the errors may be. |
| 31 |
|
| 32 |
//////////////////////////////////////////////////////////////////////// |
| 33 |
// Description: |
| 34 |
//////////////////////////////////////////////////////////////////////// |
| 35 |
|
| 36 |
splicebmp is a tool for splicing custom bitmaps into the POWDER |
| 37 |
executable. As POWDER is a Gameboy Advance ROM, it has no way of |
| 38 |
reading external files. Thus, the ROM itself has to be hacked to |
| 39 |
replace the bitmaps. This is somewhat complicated by the need to |
| 40 |
ensure the palettes match, and the fact the bitmap is diced into |
| 41 |
tiles inside the ROM. |
| 42 |
|
| 43 |
//////////////////////////////////////////////////////////////////////// |
| 44 |
// Where to get: |
| 45 |
//////////////////////////////////////////////////////////////////////// |
| 46 |
|
| 47 |
splicebmp can be retrieved at: |
| 48 |
|
| 49 |
http://www.zincland.com/powder |
| 50 |
|
| 51 |
This is also the place to look for the most recent art pack. With |
| 52 |
a new release, you may need to get a new art pack to get the new |
| 53 |
items (or new resolution bitmap). Occasionaly, you may need to |
| 54 |
get a new splicebmp pack. |
| 55 |
|
| 56 |
//////////////////////////////////////////////////////////////////////// |
| 57 |
// Important Points: |
| 58 |
//////////////////////////////////////////////////////////////////////// |
| 59 |
|
| 60 |
* splicebmp.exe requires the MSVC 7 runtime dlls. These are |
| 61 |
provided with the Windows version of POWDER. If you get an |
| 62 |
error about missing .dlls, try copying the .dlls from the |
| 63 |
Windows POWDER installation into the directory where splicebmp |
| 64 |
is run from. |
| 65 |
|
| 66 |
* dungeon16.bmp must be a 256 colour Windows bitmap |
| 67 |
|
| 68 |
Other types of bitmaps and other file formats will not be |
| 69 |
accepted. |
| 70 |
|
| 71 |
* Colour index 0 is transparent |
| 72 |
|
| 73 |
The default palette colour for this is black. However, the |
| 74 |
palette colour is ignored. The background of all tiles should |
| 75 |
be this index, however. |
| 76 |
|
| 77 |
* The GameboyAdvance has a 15 bit colour palette |
| 78 |
|
| 79 |
While each of RGB can have one of 256 different values in most |
| 80 |
modern systems, the GameboyAdvance only has 15 bit colours. The |
| 81 |
provided colours will be quantized to this range. This means |
| 82 |
you have only 32 levels of pure red, for example. (In |
| 83 |
practice you have even less! See the next point) |
| 84 |
|
| 85 |
* Bright Green is actually Black. splicebmp automagically will |
| 86 |
remap bright green, (0, 255, 0), to black, (0, 0, 0), so that |
| 87 |
one can have true black despite index 0 being black. This |
| 88 |
accomadates programs like gfx2gba which aggressively merge |
| 89 |
palette colours. |
| 90 |
|
| 91 |
* You may add additional colours. You may change palette colours. |
| 92 |
Note, however, that the pre-existing palette colours will be |
| 93 |
preserved so that other internal bitmaps continue to work. |
| 94 |
Thus, you cannot create 255 entirely new colours. It is |
| 95 |
undefined what will happen to the colours that overflow this |
| 96 |
list. |
| 97 |
|
| 98 |
* The resolution of dungeon16.bmp should not be changed. Changing |
| 99 |
it will result in a crash and/or a corrupted ROM. |
| 100 |
|
| 101 |
* The GameboyAdvance is *dark* |
| 102 |
|
| 103 |
Even with the Afterburner installed, the GBA's screen has a very |
| 104 |
different gamma from your monitor. What looks garish and high |
| 105 |
contrast on your monitor often comes out muted on the GBA. The |
| 106 |
GBA SP has significantly better colour. |
| 107 |
|
| 108 |
To give an example: when you bring up the minimap in POWDER, |
| 109 |
unexplored area is drawn as dark brown. On the GBA, this is |
| 110 |
black. On the GBA SP, this is barely recognizeable as dark |
| 111 |
brown. |
| 112 |
|
| 113 |
* Overriding the overlay icons is currently not supported. Thus |
| 114 |
there isn't a way to change what your avatar looks like or how |
| 115 |
he is dressed. |
| 116 |
|
| 117 |
//////////////////////////////////////////////////////////////////////// |
| 118 |
// Questions: |
| 119 |
//////////////////////////////////////////////////////////////////////// |
| 120 |
|
| 121 |
If you have any questions about the operation of this program, or |
| 122 |
POWDER in general, please contact: |
| 123 |
|
| 124 |
[email protected] |
| 125 |
|
| 126 |
//////////////////////////////////////////////////////////////////////// |
| 127 |
// Warranty: |
| 128 |
//////////////////////////////////////////////////////////////////////// |
| 129 |
|
| 130 |
There is none. Use at your own risk. |