Advertiser Content

Tutorial Indexing Images

Started by Avara October 27th, 2017 9:48 AM
  • 1542 views
  • 2 replies

Avara

Female
Izantine
Seen 2 Days Ago
Posted 3 Days Ago
1,146 posts
8.1 Years
Indexing Images
-----------------------------------------------------------------------------------------------------------------------------------------------------
Seeing as many old guides no longer have pictures and some contain outdated methods requiring multiple tools, I felt we were in need of a new tutorial! In short, many images in the third generation of games have a 16-colour limit which is why indexing is required. For the purposes of this tutorial, we're going to index a trainer sprite so that it's ready to be inserted. You'll need an image you want to index and a tool named GraphicsGale which you can download here.

-----------------------------------------------------------------------------------------------------------------------------------------------------

The first thing you'll want to do is open your sprite in GraphicsGale, highlight "All Frames", then hit "Color Depth".



We want to set this to 4bpp as seen above.
When you've done that, you'll notice that your palette has been trimmed down to 16 colours.
Select your entire image at this stage, and hit Ctrl+C to copy. Don't forget to do this!
Even though your image now has a total of 16 colours - technically, your image can only use 15 of those.
Why? The first colour in the palette index will serve as our transparent colour, as per the GBA requirements.



Notice that in the above image our first colour is black; not the green that we want to be our background colour.
How do we fix this? Simply click on the colour, in our case black, drag & drop the values around with our green. We'll end up with this:



Paste/Ctrl+V over it, and boof, it now looks normal again! Sorted.
Export, insert into your ROM, and test.


x

Disturbed

Age 26
Seen October 21st, 2019
Posted August 29th, 2019
1,912 posts
11.7 Years
You didn't end the post with an "x"
This is the worst tutorial of all time.

In all seriousness though, it's nice to have some more up to date tutorials on how to do things like this. I'll definitely be referring back to this when I work on whatever it is I'm working on ^^

Avara

Female
Izantine
Seen 2 Days Ago
Posted 3 Days Ago
1,146 posts
8.1 Years
I've re-written this post entirely since some of the images were lost in the server change!

Also @Disturbed, I've done the right thing and added "x" to the end of the post to make up for my wrongdoings and relive myself of eternal shame.
Advertiser Content