| 1 |
This is a simple prog that converts a 8 bpp indexed file into a u7map based on a colour<->u7chunk association. |
| 2 |
The command will create and fill a "u7map" file. |
| 3 |
|
| 4 |
To call the prog: |
| 5 |
|
| 6 |
./mockup <image file> <mapping file> |
| 7 |
where <image file> contains a 8 bpp indexed image at 192x192 resolution (BMP, GIF and PNG) |
| 8 |
and <mapping file> contains a simple colour u7chunk# association separated with a space. |
| 9 |
|
| 10 |
Peek at mockup.bmp and mappings.txt to get a better idea of what I mean. |
| 11 |
|
| 12 |
The u7chunk number can be found using Exult Studio. Your graphical program will tell you what is the hex colour code of any colour you are using. |
| 13 |
|
| 14 |
Don't forget: the image MUST BE 8 bit per pixel. It will not work otherwise. Also, being 8bpp, the max number of different colour is 255. |
| 15 |
|
| 16 |
Have fun, |
| 17 |
Artaxerxes |
| 18 |
|
| 19 |
[email protected] |