PDA

View Full Version : [Tutorial] Super Easy Sprite/Map/Image Inserting (FR/LG)


papayaperson
November 7th, 2012, 07:59 PM
Programs Needed:
IrfanView
unLZ.GBA
NSE
MS Paint
VBA (To ensure your new sprite appears properly in-game)

Welcome to my tutorial! Here I will show you the absolute easiest, least time-consuming way (in my opinion) to insert new pokemon, trainers, berries, maps and any other sprite you wish!

Step 1: Readying the Image
*You may skip Step 1 if your sprite is of proper size and is indexed

To begin, you need to ensure three things are true about your sprite:
The sprite's background is not used anywhere else in the sprite
No more than 16 colors are used (including background color)
The size is correct for what you are using it for

To make sure your sprite is the right size, just know that it is 64x64 pixels big, and a worldmap is 256x160 pixels.

Open up the image in IrfanView now. Go to Image>Decrese Color Depth>16 Colors. Then, go to File>Save. Where it says "Save as type", change it to say PNG. Now the other box that came up when you clicked 'Save' should have changed. Check of the first checkmark that says "save transparent color", then click save. Click the images background, and save again, just uncheck "save transparent color", and close the image. It's now ready to be inserted!

Step 2: Inserting the Image
Now that your image is indexed, open up your ROM in unLZ.GBA and go to the sprite you wish to replace.
Click "Import", and import your new image. Then, click "write to ROM", and it will be there. However, the color will be off. We fix this in the next step!

Step 3: Fixing the Images Color
There are two ways to do this, If you truly care about shiny sprites, go to the next part of Step 3 (large text further down in this spoiler) If you don't care much about shiny sprites, this way is much faster and easier.

Open up NSE and find the image you inserted, and Open up the same properly-colored sprite in MS paint.
In both programs, use the eye dropper and select the same pixel (Not in the background)
In paint, click 'Edit Colors' and in NSE, go to the pallette>edit current>edit>define custom colors. Now copy the numbers in Sat, Hue, and Lum from paint into NSE and save that color. That color is now saved properly. Do this until every color is fixed. Then close paint, and open the pallet in NSE and choose the first color there. Choose the paint bucket, make that color your background. Lastly, Save the pallet and the ROM (Pallet>Edit Current>Save Pallet to ROM, and File>Save) Your sprite now has the right color!

If shiny Sprites are of your concern:
Open your sprite in NSE and in Paint, and locate the main colors of your sprite. Ie, Voltorb is Red and White. Open up the pallet viewer in NSE and edit the color on the far right. Make it the darkest shade of a color you have, ie the darkest red pixel on Voltorb. To do this, copy the Sat, Hue, and Lum of the color in paint to the pallet editor in NSE. With the next pixel from the right, make it the next darkest shade of the same color. When you finish with this color, start on the next one, until every color (excluding background) is in the pallet. Now just put the colors where they are supposed to be in the sprite, and save both the pallet and the ROM. See another sprite,and return to yours to see the difference. From experience, I know the shiny sprite has a much more appealling pallet if you do it this way.

Step 4: Testing The Sprites
This step isn't necessary, but I recommend it. Make a trainerbattle script involving your new trainer, an event in which you battle your new poke sprite, etc, and see that it works. Now you're finished!

Naruto200
November 21st, 2012, 01:07 PM
Hey, I don't know if you're still active or not.
Can you explain how to insert overworld sprites for a new trainer sprite?

I want to Add an overworld character (possibly more than one) to use in my game.
In other words, how can I add an NPC to FR/LG without replacing any of the original ones. If this is possible a tutorial for it would be nice.

Sudeki
November 21st, 2012, 03:21 PM
Hey, I don't know if you're still active or not.
Can you explain how to insert overworld sprites for a new trainer sprite?

I want to Add an overworld character (possibly more than one) to use in my game.
In other words, how can I add an NPC to FR/LG without replacing any of the original ones. If this is possible a tutorial for it would be nice.
If you want to add lots of new Overworlds / overworld palettes then I suggest getting JPAN's hacked engine. Then you can follow this tutorial :
http://www.pokecommunity.com/showthread.php?t=211535

SacredRose
June 15th, 2013, 07:17 PM
Does this work for the World Map?

papayaperson
June 16th, 2013, 04:49 AM
Does this work for the World Map?

No, inserting the world map is different

Synchronous
June 16th, 2013, 09:45 AM
Does this work for the World Map?

That Wouk require AM 1.92's WME, or the Positron World Map Editor.

JCInnes
July 2nd, 2013, 04:01 PM
Is there a way to create a brand new colour pallet instead of over writing one?