• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Cello's guide to everything tile insertion/placement (HUGE Guide, Tips, FAQ)

Cello

Tonight!
1,498
Posts
14
Years

[ cello's guide ]
to everything tile insertion, tile/set placement, and much more!






[index]
1.) introduction
2.) tools you will need
3.) basics/need to know
4.) Preparing a tile
5.) pallette editing/saving
6.) Advanced map block editor
7.) Did you know?...
8.) FAQ/Fixes
9.) Credits






[
introduction]
Hello, I'm Cello, and I'm a stringed instrument apparently. Today I will be bringing you an advanced guide to tile insertion. I know what you're thinking, "isn't there enough of these guides already?"
Yes, it's true this guide will be covering the same tile insertion that others do, but it will also be providing tips & tricks, teach you the basics which other guides overlook, provide fixes and answers to any of your problems, and tile/set placement.
Even though this guide says advanced, it will be covering things from your first time inserting a tile, until you become a expert yourself. It is beginner friendly!

Don't let my post count or join date fool you. Not meaning to brag or anything but I'm kind of a big deal when it comes to this stuff, yahr? ;<
....Just kidding, now lets get on with the guide! First off, the tools.













[tools you will need]
Alright, so starting us off I will list you (in order of tile creation and not including the rom) what kind of tools you will need to put your pretty pixel pictures in your pokemon game. ;o

1.) First off, you need a heavy pixel-friendly software such as:
Spoiler:

2.) You will need a palette editing tool:
Spoiler:

3.) You will need a map editing/tile insertion tool.
Spoiler:

4.) If you need a extra hand, this isn't a hospital and I'm no surgeon... but here are some extra tools that can help? :
Spoiler:
















[basics / need to know]
Before we start, we need to know the basics for anything to do with everything I'm about to cover. For tile insertion or anything I'm about to teach you, a prerequisite is computer experience or else a lot of what I say will make no sense. So in this section I will cover the info on tiles, common file types, and terms.

Basic terms/file types:
Spoiler:

Basics on inserting tiles:
Spoiler:
















[preparing a tile]
Now that we know the basics and have all of our tools, what say we finally get cracking on our tile work? In this section I will be covering how to prepare a image to be cut up into tiles. First of all, I would like to suggest something: Organize out your files.
Here's how I have my folders set up:
Spoiler:


This way, everything is nice and tidy within the folders and easy to locate.
Moving along, we will now prepare a image to be imported and cut up into tiles.


FIRST Step - Open your program / Set your canvas.
You'll want to open up the program you're using to pixel. I'm going to use paint since it's less complex and easier to take a small sized photo with. Start a new file of any size, you'll probably re size it later anyways. If you have a tile already made or prepared, good! Open it up, you may not even need the next step.


SECOND Step - Set a Transparent color.
This is very crucial; Set your transparent color before anything. From experience, a palette chooses your transparent color based on the first color to actually be set in the image. Choose a color you know your tiles wont have in them. This color will be removed when placed on any game map.
Spoiler:
I chose straight-up black. I know I'll never use that dark of black on any of my tiles. While you're in there messing with colors, make sure you're tile is edited and final. Also be sure you're not going over 16 colors with your tile, it will save you a lot of time.


THIRD Step - Set your tiles, touch them up!
Alright, we have our transparent background color. Now lets place our tile(s) overtop our transparent color! After the tile(s) are set, be sure to go to File -> Save As and the save your image in a memorable spot. I chose to save it as a .PNG for best quality results.
Spoiler:


Alright, preparation was easy, yeah? Next comes grabbing your image's palette information.














[palette editing/saving]
This part can be either very easy, or very annoying. I'll be demonstrating how to index and save palettes in this section, in both photoshop and Gale. Basically it's teaching you how to use a program to find every color in the image you just made, and throw it together in one file. Fire up your program and load your image.

PHOTOSHOP - Locating the palette editor/saving the palette.
Alright, so I'm assuming we have our tile's image loaded into our palette editing program. In the images in the spoiler below is how to locate what you need in order to save your tile's palette.

First up is photoshop. In order to view your image's palette, you have to index it first.
Simply go to Image -> Mode - > and click "Indexed Color".
Like so:

Spoiler:



When prompted, click "OK."
But before clicking ok, make sure your tiles palette is 16 colors or UNDER. You wont be able to use your tile if it's over. If you're under 16 colors, don't worry, I'll tell you what to do later to resolve this in the FAQ section. If you're over 16 colors, i'll cover it in another step below.
Here's an example of what to look for:

Spoiler:



Now that we have your image indexed, we can now go see the palette.
Click on image -> mode -> and then color table now.
Demonstration:

Spoiler:


You'll now end up with a palette showing all the colors in your image. You will need to save your palette from here, so click save, like this! (Save it in a place you'll remember, as either a .PAL or a .ACT):

Spoiler:




GALE - Locating the palette editor. (DO NOT SAVE PALETTES IN GALE, REASON BELOW.)
The palette editor is automatically up the second you start gale. If not, it's a easy fix by clicking View -> Palette.

WARNING: A new bug with the palette saver has been foun. When you save your .PAL file and then load it in A-Map, the colors are all darker. I do not recommend this program for palette saving any longer.

I am looking into seeing if this can be fixed or not, however.

Graphics Gale is still a good pixelling program with the grid and all, but I do not recommend this palette saving, only editing.


How to save just in case, BE WARNED.
Spoiler:



Have more than 16 colors? - Use IfranView.
You will be worshiping this program before you know it.If you have a tile with a palette of more than 16 colors, simply open it up in ifranview first. This will only take a few clicks. Click Image -> Decrease Color Depth. Picture:

Spoiler:


You will now be prompted to fill some stuff out. Just click 16 Colors, and hit OK.
Picture:

Spoiler:


And there you have it, it's like nothing even happened! Make sure you save it. You may notices a few dotty pixel changes across your image. Just grab a color and color over it. Just make sure you dont go over 16 colors again!
Now go back into your palette program and save your palette and you're all set to go!

Now that we have our tiles finalized, and we have out palettes in a file, it's time to get our hands really dirty in Advanced Map!











[Advanced Map Block Editor]
Here we go, ladies and gents! Open up Advanced map. This is where you will taking the tile image(s) you just prepared and put them into your rom. You will also be using your palette you just made to color that image. It wont know what colors your image is without the palette file.

What I'm about to teach you is the easiest way known to insert tiles. Also, I have to give credit for other tile insertion guides because this isn't the first guide to demonstrate tile insertion this way.


Step one - Getting set up!

This is a program with a lot to it, so I'll walk you through it. First you'll want to load you're rom, of course. Choose your map that you'll be working from. If you want to start a new map, go ahead, but it would be wise to overwrite another map to save space in your rom.

Once you do all of this, it's time to go into the block editor, which is where you will do all of your tile insertion/editing work. It's the purple jigsaw puzzle piece along the top.
Or just check this image:

Spoiler:



Step two - Block editor overview, locating the palette box, inserting palettes.

Ok, so we're in the block editor now. From the left over is your tileset which holds all of your finished and inserted tiles. Next down the line is up/down, palettes, tile bank/.DIB viewer, and the behavior data.

Right now we want to look at the palette box.

Spoiler:


As you can see, you have 13 palettes spread between the two tilesets that you can use to color inserted tiles. You cannot overwrite a palette that is being used by another tile, or else that tile's color will change.

So now we want to get cracking on inserting the palette which just saved. Select one of the palettes 0-12 out of the box, whichever one isn't being used. Once you have found one, along the top, click palette -> load current palette from file.

Spoiler:


Now locate your .PAL or .ACT file you saved of your tile you're about to insert and open it up.
That palette will now be replaced with yours.
Click palette again and select "Write Palette changes to rom." This is how you save most any change in the block editor.


Step three - .DIB Files, saving it.
Ok, so now that we've successfully loaded our palette and saved it, it's time to save our tileset into a .DIB file, which is basically a bitmap with your whole tileset in it.
Make sure, before you save it, that you have the palette of the tiles you are about to insert set, or else the colors will end up all funky.

To save your tileset, along the top in the block editor, click picture -> Save tileset 1 or Save tileset 2.

Spoiler:


The two options do exactly as they sound. Save tileset 1 saves the first tileset in your map as a .DIB file, and Tileset 2 saves your second tileset.


Step four - Inserting your new tile(s) into your .DIB file.
For this part you will need your pixelling program. Open up your .DIB file. I opened mine up in Gale so I could use the grid to better place my tiles.

Spoiler:


To set up the grid, just do as shown in the images below:

Spoiler:


Now that your grid is set, cut and paste your new tiles from another file and paste them into you're tileset's .DIB file you have open.


Spoiler:


Place it evenly across the grid so they aren't uneven when you place them in the map.
If you want to paste it over an old tile that you wont use, go ahead. Just whatever you do DON'T edit over a tile you're using or else it will be gone.

If tile glitching occurs, there is a fix in the FAQ section of this guide.

Once you're all finished, save your .DIB file.


Step five - Loading your newly saved .DIB file and new tiles.
Go back into A-Maps block editor. Along the top, click Picture -> Load Tileset 1 or Tileset 2. Make sure you're set to the correct palette.

Spoiler:


When you load it, you will now notice that your new tile/tiles are in the right box.

Spoiler:


Along the top, click Palettes -> Write Palette Changes to ROM.


Step six - Inserting your new tiles into the actual tileset.
This is the final step to it all. You can now see your tile, but it is not yet inserted and ready to use. When you click on your new tile, you can see where it grabs a little 8x8 slice of it. This allows you to better adjust your tiles.

So in order to completely insert your tile, click a empty space in the left box in the block editor like so:

Spoiler:


You can see up/down is displayed as like a layer type deal. On down you can set the grass like I did, and on up you can set anything that will over over top of it. In my case, I put the rock over top of it. You will be switching between palettes a lot to do this.

When you're done with a tile, click the "Save" button a little to the right so that it saves your tile. Keep repeating until you're done inserting you're new tiles.

Spoiler:


Once again, click Palette -> Write Palette Changes to Rom. Exit the block editor and check your map and it's tileset.

You will now see your new tile(s) in full bloom in the right tileset manager.

Spoiler:


This means you can now select those tiles and set them in the map. Save all progress. Now, when you play on that map, everything inserted will appear.


CLOSING NOTES:

  • You have to repeat this with every tile(s) you insert.
  • You only have 13 palettes to work with so get creative. Put the grass/ground into one palette, the objects like flowers and stone into another, so on and so forth.
  • You cannot overwrite palettes being used. You can overwrite an old palette you dont plan on using though.
  • You cannot overwrite tiles that are being used. You can overwrite old tiles though.












[Did you know?...]
....That you can edit a color in a palette on the spot?
It's true! Why would I lie to you?! Just simply click the color and mess around with it on the scale. You can even drag and paste a color over another!
See, see!

Spoiler:



....That you can instantly change a tiles colors by pasting it into a indexed image?
I swear it! Open your image that you saved after you indexed it and paste another tile into. It changes colors so it matches that palette! That way you can easily insert more tiles without having to insert a new palette. This will save you room for more tiles and palettes. LOOK!:

Spoiler:



....That you can drag copy and paste a lot of tiles in A-Map at once?
Quit calling me a liar, it hurts. ]:
I'm being for reals though! Looking in your tilesets in the map editor part of amap, hold ctrl and then right click and drag to collect a bunch of tiles. Next time you click on the map, it will paste everything you just collected when you did that! This will turn a tedious job of tree laying into cake work. Check it out d00d!:

Spoiler:















[FAQ/Fixes]
Q: My tiles have crazy colored objects over them after I inserted new tiles, how do I fix this?
A: This often happens as a result of older tiles that you've erased over glitch over a bit. Simply go back and edit those tiles back and save it. It'll be fixed.


Q: When I insert a new palette/tile, my tileset viewer on the left in the block editor squishes together. What happened?
A: This is just, in my eyes, a way of knowing that you need to save. In the block editor click Palettes -> Write Palette Changes to Rom. It'll be fixed.


Q: When I try to save my tileset, I get a error saying I can't export it due to multiple colors in the palette. What do I do?
A: If I had a penny for... er, nevermind. Read the error carefully.
eurjvt.png

This means you have the same colors in that one palette. Go to Palette -> View Palette Editor. Find whichever colors are the same and change them. Just don't mess with the first color. When you're done, Apply and save, then retry.


Q: In the map editor my tiles are fine, but when I play the game they're replaced by animations. How do I fix this?
A: Check each of your tiles behavior data and make sure it's not set to a animation. If it's still not fixed, simply delete those tiles and re-insert them. That will definitely work.


Q: My character is standing on top of a tree. What's going on?
A: Your character is just alarmingly good at climbing trees. ;) No, really, it's because you have your tile's second row Behavior Data is set to 20, for Hero is covering block. You need to change this to 00 so he goes underneath. Or just make it to where the objects not passable. They'll only go under it if your tree is on the up layer of your tile in the block editor, though! This works in vice-versa, too, if you want your character to stand on top of a up layer tile.


Q: How do I change my map's tileset?
A: Through the "Header" tab along the top of your loaded map in the map editor(not the block editor). When you're in the header tab, it will be at the bottom, where you'll be allowed to change the tilesets.


[Credits/Contact
]

  • Other guide authors for inspiring this guide, especially other tile inserting guides. Be sure to check them out too, we each have our own information to share!
  • Kyledove, Newtiteuf, and Speed for their free to use tiles demonstrated in some of the screenshots
  • Lu-Ho for A-Map
  • The creators of Gale/Photoshop/Paint
  • emilinrose and Spherical Ice for helping find new things to add/fix about the guide.

Have a question? Want to talk? PM me or send me a visitor message, I'll be more than happy to talk.

Also, feel free to suggest anything to be added to this guide. I'll give credit.
 
Last edited by a moderator:

Tropical Sunlight

The Faltine
3,476
Posts
16
Years
Even though I can insert tiles, this tutorial explains everything that is needed to know how to insert a tile.
Nice tutorial, really really!
 

Cello

Tonight!
1,498
Posts
14
Years
Yay, it was published. :D
Thanks whoever did it.

Even though I can insert tiles, this tutorial explains everything that is needed to know how to insert a tile.
Nice tutorial, really really!

Thank you for the response!
I plan on maybe updating this more with block editor behavior data stuff sometime soon, and maybe a few other things.
 

Banjora Marxvile

hOI!!!!!! i'm tEMMIE!!
3,496
Posts
15
Years
  • Age 30
  • Seen yesterday
This is great! It is clear, and will help anyone who hasn't tile inserted. I like how you put all the basic terms and things before the tut, helps understanding it better. I'll recommend this to anyone who asks me how to tile insert, I think. Considering that you are so new to Tile Inserting... This proves that anyone can Tile Insert.
 
Last edited:

SharpPoint

Suicune used Surf!
477
Posts
14
Years
Holy omg. This tutorial is so organized, very noob-friendly and funny, at the same time. Great job Cello!
 

colcolstyles

Yours truly
1,588
Posts
15
Years
I like the way you wrote this in a casual, friendly manner. It makes the tutorial so much easier to read and comprehend. The material itself is very well explained as well, and I like how you went through and explained how to fix all those little things that could go wrong. You've probably saved your thread dozens of questions from newbies asking about error messages^^
Good tutorial overall. I wish I had this when I was getting started :D

Oh, one thing I didn't like was that you recommended that people get "AdvanceMap v1.91". Luckily, there is a newer, better version out (v1.92). Your link leads to the thread where both of them are posted but I think you should change the recommended tool to v1.92 so people don't go downloading the outdated version, thinking it's better for some reason.
 

Cello

Tonight!
1,498
Posts
14
Years
I like the way you wrote this in a casual, friendly manner. It makes the tutorial so much easier to read and comprehend. The material itself is very well explained as well, and I like how you went through and explained how to fix all those little things that could go wrong. You've probably saved your thread dozens of questions from newbies asking about error messages^^
Good tutorial overall. I wish I had this when I was getting started :D

Oh, one thing I didn't like was that you recommended that people get "AdvanceMap v1.91". Luckily, there is a newer, better version out (v1.92). Your link leads to the thread where both of them are posted but I think you should change the recommended tool to v1.92 so people don't go downloading the outdated version, thinking it's better for some reason.

Thank you for bringing this to my attention. I have no idea what was going through my mind when I typed that. xD

Fixed!

It makes me very happy to know that people are finding my guide helpful and easy to use, though. Thank you all for the feedback. Anything else that's wrong or you think I need to improve, please let me know. :)

Also, anyone with questions do not fret to PM me or leave me a visitor message. I check PC often since I have easy portable access and respond quickly. Even if you just want to drop by and say "hey." :P
 
Last edited:
102
Posts
15
Years
  • Seen Feb 2, 2023
I have a question about gale's palette saving. When i uploaded my palette into Advance Map, it gave me the "multiple colors" error, but when i went to correct it, i discovered to my horror that the colors were completely wrong and sometimes seemed to be entirely random. I think its a problem with Gale, because when i tried to import the palette to Photoshop to see if i could fix it from there, it gave me another error. When i load the palette in Gale, however, it works perfectly. Have you encountered this error before, or do you know how to fix it?
 

Zeffy

g'day
6,402
Posts
14
Years
  • Age 27
  • Seen Feb 7, 2024
I did it, I've learned how to insert tiles, thanks for the organized tutorial.
You deserve a round of applause!
 

874521

School days again...
489
Posts
15
Years
And there you have it, it's like nothing even happened! Make sure you save it. You may notices a few dotty pixel changes across your image. Just grab a color and color over it. Just make sure you dont go over 16 colors again!
Now go back into your palette program and save your palette and you're all set to go!

Now that we have our tiles finalized, and we have out palettes in a file, it's time to get our hands really dirty in Advanced Map!


Nice tutorial! Other tutorials are good too but this explains a lot.
Can I just paste the tile without 16 colors to the 16 colors instead of coloring it?
 

Cello

Tonight!
1,498
Posts
14
Years
I have a question about gale's palette saving. When i uploaded my palette into Advance Map, it gave me the "multiple colors" error, but when i went to correct it, i discovered to my horror that the colors were completely wrong and sometimes seemed to be entirely random. I think its a problem with Gale, because when i tried to import the palette to Photoshop to see if i could fix it from there, it gave me another error. When i load the palette in Gale, however, it works perfectly. Have you encountered this error before, or do you know how to fix it?

Thank you for bringing this to my attention, I'm looking into it as I type this message.
There are two things that come to my mind that could be the problem:
1.) Gale doesn't index images and that could be the problem. In some cases it will grab exact colors, and other cases it wont. When you save a palette in gale with a un-indexed image it gets a lot of other unneeded colors. Or it could be a palette file that only Gale can read.
2.) .PAL files are a bit messed. I've had troubles with .PAL files before. I'm going to look deeper into this for you and edit my post/PM you with the results.

EDIT: Ok, I've narrowed it down and it is because Gale doesn't index images. If your tile set has over 16 colors, it will load with a palette like this, which is way too many colors:
Spoiler:


So you'll need ifranview.
1.) Open your tile(s) in ifranview.
2.) Go to Image -> Decrease Color Depth
3.) Select 16 colors and hit OK.
4.) Save

Now when you reload your tiles in Gale, you'll end up with a much for specific palette, like this:
Spoiler:


Now save the palette and try it again in A-Map. It worked fine for me when I just tested it. :)
Sorry that gale is turning out complex with palettes.


For your multiple entries error, the fix is in the FAQ. :)

EDIT2: WOW, I checked the palette after I loaded it and every color is darker. For now I recommend not using Gale for palettes. I didn't realize this palette files it saved would do this.







______________________________________________________________________________________________________________________

Nice tutorial! Other tutorials are good too but this explains a lot.
Can I just paste the tile without 16 colors to the 16 colors instead of coloring it?

I mentioned this in one of my "Did you know" tips; you can paste a tile that you want recolored into another image that's indexed. It will automatically change it's colors. BUT there's two things:
-You have to be really careful because sometimes it will give the tile you just pasted bad colors.
-If it's over 16 colors, it will usually not come out the way you want since it has so many colors. You can try it though.

You should try this if the image your pasting the tile to has similar tiles, like a cliff into a rock tileset.

I hope I understood your question correctly. >_<


Anymore questions, please let me know. :)
 
Last edited:

874521

School days again...
489
Posts
15
Years
Thank you for bringing this to my attention, I'm looking into it as I type this message.
There are two things that come to my mind that could be the problem:
1.) Gale doesn't index images and that could be the problem. In some cases it will grab exact colors, and other cases it wont. When you save a palette in gale with a un-indexed image it gets a lot of other unneeded colors. Or it could be a palette file that only Gale can read.
2.) .PAL files are a bit messed. I've had troubles with .PAL files before. I'm going to look deeper into this for you and edit my post/PM you with the results.



I mentioned this in one of my "Did you know" tips; you can paste a tile that you want recolored into another image that's indexed. It will automatically change it's colors. BUT there's two things:
-You have to be really careful because sometimes it will give the tile you just pasted bad colors.
-If it's over 16 colors, it will usually not come out the way you want since it has so many colors.

You should try this if the image your pasting the tile to has similar tiles, like a cliff into a rock tileset.

I hope I understood your question correctly. >_<


Anymore questions, please let me know. :)

No, I meant the tile that hasn't been indexed will be pasted to the tile that is indexed, is it possible? Usually it is done to sprites. See the 3rd step on destinedjagold's tutorial. Click here to see.
 

Cello

Tonight!
1,498
Posts
14
Years
No, I meant the tile that hasn't been indexed will be pasted to the tile that is indexed, is it possible? Usually it is done to sprites. See the 3rd step on destinedjagold's tutorial. Click here to see.

Oh yes, it can be. :)
The color will change automatically to match the palette. Hopefully you were going for that, but if not you can just un-index the image and then paste the tile in there. Or if you saved a version of the image un-indexed already.
Here, I'll even post a picture doing so.

Spoiler:





EDIT:

MAJOR FIX.
Gale's .PAL files it saves seem to be bugged and I didn't realize it until just now.
When you load a palette file that you saved in gale the colors end up darkened.

I will continue seeing if there's a way to fix this, but for now I would like to recommend; do NOT using Gale for palette saving. Only editing.
 
Last edited:

874521

School days again...
489
Posts
15
Years
Oh yes, it can be. :)
The color will change automatically to match the palette. Hopefully you were going for that, but if not you can just un-index the image and then paste the tile in there. Or if you saved a version of the image un-indexed already.
Here, I'll even post a picture doing so.

Spoiler:





EDIT:

MAJOR FIX.
Gale's .PAL files it saves seem to be bugged and I didn't realize it until just now.
When you load a palette file that you saved in gale the colors end up darkened.

I will continue seeing if there's a way to fix this, but for now I would like to recommend; do NOT using Gale for palette saving. Only editing.

Oh, I see, thanks for that.
 

SharpPoint

Suicune used Surf!
477
Posts
14
Years
Oh yes, it can be. :)
The color will change automatically to match the palette. Hopefully you were going for that, but if not you can just un-index the image and then paste the tile in there. Or if you saved a version of the image un-indexed already.
Here, I'll even post a picture doing so.

Spoiler:





EDIT:

MAJOR FIX.
Gale's .PAL files it saves seem to be bugged and I didn't realize it until just now.
When you load a palette file that you saved in gale the colors end up darkened.

I will continue seeing if there's a way to fix this, but for now I would like to recommend; do NOT using Gale for palette saving. Only editing.

I noticed that, but it's when I used IrfanView and tried to open it in A-Map. =\
 
5,256
Posts
16
Years
Dunno if it's been mentioned already, but on your description of Paint, you made a mistake:

Paint DOES have a grid. If you zoom in, and then go to View >> Zoom >> Show Grid/zoom in and do the Ctrl+G shortcut, it creates a grid.
 

Cello

Tonight!
1,498
Posts
14
Years
Do you have to have palette editing tool?

Unfortunately yes, you have to have a tool that can edit and save palettes. The palette will be needed when you load your tiles into the block editor of A-Map.

If there's anything about palette editing that you don't understand, please feel free to leave me a visitor message or private message. I'll be more than happy to help you further.

Dunno if it's been mentioned already, but on your description of Paint, you made a mistake:

Paint DOES have a grid. If you zoom in, and then go to View >> Zoom >> Show Grid/zoom in and do the Ctrl+G shortcut, it creates a grid.

Oh wow, I've never seen that before. It's a shame it's just a pixel by pixel grid, rather than a adjustable grid so you can easily measure 16x16 tiles.
It's still usefull, especially for tile making and sprite editing. :D
I'll update the description informing that it does have a type of grid, though.

Thanks for sharing.
 
Last edited:
Back
Top