Jump to content

Modding B/W Pokemon Sprites


Abacus

Recommended Posts

Thanks for the info, Andibad! I'll look into it asap. I take it that you're referring to modifying the movements of sprites in-battle, correct? If so, this is far above and beyond what I'm doing. Do you have the link to the gbatemp thread, by any chance?

Edit: Success!

SmackMe..png

I got around my previous problem by taking a rather roundabout, time-intensive route. It'd be a huge time saver if someone figured out how to directly load a palette for this particular type of image in CrystalTile2 - I couldn't make the entire process work with MKDS.

Tutorial to follow shortly.

SmackMe..png.bea726d3b0be6ac87a1b41c8438

Edited by Abacus
Link to comment
Share on other sites

  • Replies 96
  • Created
  • Last Reply

Top Posters In This Topic

Okay, tutorial time! This time we'll be putting a big lightning bolt on a Pikachu's stomach. Note that we'll just be changing the the pixels, and not the palette this time around. If you want to change both, follow the steps I laid out on the previous page first, then these ones.

Start out by extracting two copies of a/0/0/4 (plus you'll probably want to keep a third one as backup), and open up CrystalTile2, ConsoleTool and PuyoTools (though any compression/decompression program would most likely do.) Load a/0/0/4 in ConsoleTool and find the pokemon you want to edit by multiplying its Pokedex number by 20. Like I said earlier, each pokemon has 20 files relating to it - Pikachu's files being 500-519.

518 is Pikachu's standard color palette, and 519 is its shiny palette. We can use 502 to modify male Pikachu's frontsprite and 503 to mod the female Pika's front. 511 and 512 modify their respective backsprites. In short, it's the third, fourth, twelfth and thirteenth files that you directly mod. As a timesaver, we'll only be painting a lightning bolt on a male Pikachu's gut, but the other relevant files can be modified in exactly the same way.

Now switch over to CrystalTile2 and open up a/0/0/4. Scroll down to file number 502 and export it to your desktop.

Demo2..png

Use your decompression tool of choice (PuyoTools in my case) to decompress that file, then go back to CT2 and re-import the decompressed file 502. It should now have a pretty little "picture" icon and a .NCGR file extension.

Demo3..png

Right click on file 502 and select the "Retrieve Tile Address" option. Then go to the Properties tab and set the width to 256 and the height to 128. Should look something like this. See the different pika-parts? These are the "sheets" that slide back and forth over each other that Shiny Sheimi mentioned on the previous page. Now to do something about those zany colors.

Demo4..png

This was the stumbling block that I hit - if anyone can directly apply file 518's color palette to the picture we have up right now, we could save bucketloads of time. As it is, we just have to settle on the next best thing. Click on the "Palette" tab, right next to the "Properties" one that you just had up. You should see a 16x16 grid of colors.

Demo5..png

Now, we need to manually adjust the Red/Blue/Green values for each color in the top row. The correct values (and order of colors) are viewable if you open up file 518 in ConsoleTool. You'll be switching back and forth between ConsoleTool and CT2 a lot.

Demo6..png

Demo7..png

Once you set the R/G/B values for all 16 colors, your pokemon's colors should look familiar.

Demo8..png

Export the image, then edit it with Paint/Adobe/whatever. While working your art, be sure to only use existing colors - no adding in new ones! Then re-import your altered design. After this, be sure to double-click the image - this makes it "stick".

Demo9..png

Export file 502 to your desktop or wherever, and compress it in an LZ11 format. In CrystalTile2, close the a/0/0/4 window, and open up the second, untouched copy of a/0/0/4 that you made. Find file 502 on the list, and import the modded 502 from your desktop to replace it. Save, exit, and insert this second narc back into your ROM. Voila!

Demo10..png

Demo2..png.fff1f84758d898116ddb3f1bfce5c

Demo3..png.0baab3090bea92a0a000cd6b1f14a

Demo4..png.c68789fc9f51e24fb45fde3190852

Demo5..png.b283f2f86c62b3253ba58d3641d1b

Demo6..png.f038828dddda59503f54a2061f470

Demo7..png.fa622627baca8c82b509ac72c69b4

Demo8..png.c35ae5931c52bbff0186703cfad06

Demo9..png.fa509a76a67c4d530f6e5fd0e6db9

Demo10..png.de3c53ada6dd94b4b8fd13cfd3a3

Edited by Abacus
Link to comment
Share on other sites

When it comes to adding new colours to the sprite, shouldn't it be possible with some sprites? I found when editing Pokémon sprites that there were "blank" colours on the palette - they weren't blank, but they were colours that were not being used on the sprite, there when the Pokémon had less than 16 colours. Would it be possible to edit the palette to change one of these unused colours and then use that on the sprite, or is there some other complication stopping you from doing this?

Another issue - this is absolutely fantastic, a total breakthrough. The next step, however, would be to find out if it's possible to edit pixels outside of the already existing "sheets" while still making the pieces slide normally. For example, making Pikachu's ears longer, or, the opposite of this, shortening Pikachu's ears, presumably by creating blank or transparent pixels. It might be possible in practice, but the problem that it might cause is that the pieces of the sprite will no longer function in animation anymore. Do we know much about how the sheets function with each other, or is this still mostly a mystery?

Link to comment
Share on other sites

I don't know much about ROM-editing, but assuming the palettes work the same way they do in any other type of image, it should be possible to create new colours to fill in blank entries in the palette. It's the same as changing any of the other colours, except that the ones you're changing aren't already being used. I don't see why this would work differently on a ROM, but hey, what do I know. :P

Link to comment
Share on other sites

this may sound like a rather dumb question.. but how did you decompress the file? when i used puyo tools on the 502 file and then import it in Crystal tile 2 i get a error saying "Unknown file format, cannot record to the table ".

What settings did you use for PuyoTools? also could you show a picture for puyo tools?

id appreciate any help :eek:

Link to comment
Share on other sites

  • 2 weeks later...

Any know how to alter the sprites of the starters? They are located in a/2/0/5 and I feel that naltazero's cool starter editor is no fun to use until we can edit these graphics.

Sorry if this question has already been answered on another thread, I looked but couldn't find it.

Link to comment
Share on other sites

I have Done it!

The entire sprite is modified, Baby!

Trochic and Zekrom

are completely edited.

This is fantastic, well done. I notice that you've done the impossible - or, what I suggested might be impossible on the previous page - and edited pixels outside of the original Pokémon's image (the Torchic has bumps that go outside of where the sprite's head originally went, and the sprite still animates naturally).

Link to comment
Share on other sites

Try using puyo tools for extraction and Kazo's sprite editor for the image editing.

I just tried kazo's editor but I don't know which rgcn goes with which rlcn, I tried rgcn file 12 and rlcn file 0 and got this

snivy..png

which looks kind of like Snivy. Any more advice/suggestions would be appreciated.

snivy..png.3b81efd255d516b40cccf5a9ea772

Link to comment
Share on other sites

Here is some stuff I was messing with about a month ago.

Pokemon%20Black_49_24504.png

[video=youtube;ajSTTmq-1bM]

I just tried kazo's editor but I don't know which rgcn goes with which rlcn, I tried rgcn file 12 and rlcn file 0 and got this[ATTACH]9709[/ATTACH] which looks kind of like Snivy. Any more advice/suggestions would be appreciated.

It might not have been programmed for that image size/format.

*edit* going to be releasing bwse 2, might not be perfect but i am sure a lot of people may want to use it. it uses DSDecmp and it a lot more user friendly now. just select the folder with the unpack files check pokemon if it is for pokemon sprites, unchecked for trainer. use the list for the different images. sync pal is used when importing a second, third, etc sprite of a new sprite and forces the program to use the palette from the rlcn file instead of making a new palette for the image, this is so all the sprites a Pokemon has uses the same palette. but make sure if you use it that all the colors the image has is apart of the original image other wise those pixels are skipped because there is no color for them.

http://dl.dropbox.com/u/3706406/Files/BWSE%202.rar

Edited by KazoWAR
Link to comment
Share on other sites

I just tried kazo's editor but I don't know which rgcn goes with which rlcn, I tried rgcn file 12 and rlcn file 0 and got this[ATTACH]9709[/ATTACH] which looks kind of like Snivy. Any more advice/suggestions would be appreciated.

Just to clarify, you're talking about the images that appear when you're choosing a starter, yes?

Edit: I'm starting to have some problems editing the sprites as per Abacus' instructions. Everything is fine up until the part where I have to "Retrieve File Address" and then change the dimensions. I can right click on the re-imported file and click Retrieve Tile Address, but nothing seems to happen and when I look in the Properties tab there isn't anywhere to enter the numbers specified. Has anybody else encountered this problem? My computer is pretty old but it seems to be capable of doing everything else just fine, so I wonder if it's something else causing the problem, or if I'm doing something wrong. Please help!

Edited by Shiny Sheimi
Link to comment
Share on other sites

Just to clarify, you're talking about the images that appear when you're choosing a starter, yes?

Edit: I'm starting to have some problems editing the sprites as per Abacus' instructions. Everything is fine up until the part where I have to "Retrieve File Address" and then change the dimensions. I can right click on the re-imported file and click Retrieve Tile Address, but nothing seems to happen and when I look in the Properties tab there isn't anywhere to enter the numbers specified. Has anybody else encountered this problem? My computer is pretty old but it seems to be capable of doing everything else just fine, so I wonder if it's something else causing the problem, or if I'm doing something wrong. Please help!

Yes, I want to replace them with images of other pokemon. Or just remove them if thats not possible.

To change dimensions, you must be in tile mode so click on the tile icon (looks like a mountain) on the shortcut bar and then you can change dimensions.

Link to comment
Share on other sites

Yes, I want to replace them with images of other pokemon. Or just remove them if thats not possible.

To change dimensions, you must be in tile mode so click on the tile icon (looks like a mountain) on the shortcut bar and then you can change dimensions.

Alright, cool, I'm getting there. Slowly. I changed to tile mode and managed to get the image open, but even after changing the dimensions it doesn't look right.

34j3fy8.png

This is Blaziken's sheet, by the way, not Pikachu's. Are the dimensions different for each sprite? I played around with the dimensions but I'm stabbing in the dark.

Edit: Never mind, I figured out what the problem was. I'd been a bit of an idiot and had opened the static frontsprite file instead of the parts file. Solved it now, and it's working. Thanks for your help, though. xD

Link to comment
Share on other sites

Edit: Never mind, I figured out what the problem was. I'd been a bit of an idiot and had opened the static frontsprite file instead of the parts file. Solved it now, and it's working. Thanks for your help, though. xD

no worries.

These are the starters with pallets applied, however they aren't in the same format as other pokemon. This makes it difficult to replace.

5-14.NCGR..PNG

5-13.NCGR..PNG

5-12..PNG

Any ideas on how to replace them?

5-14_NCGR..PNG.9f7ba26cfed37587800c7fbe3

5-13_NCGR..PNG.83c4eea28b37aa8fc31888d02

5-12..PNG.23f3dddf2f772fbae389fa5c1e0b45

Link to comment
Share on other sites

no worries.

These are the starters with pallets applied, however they aren't in the same format as other pokemon. This makes it difficult to replace.

[ATTACH]9715[/ATTACH][ATTACH]9716[/ATTACH][ATTACH]9717[/ATTACH]

Any ideas on how to replace them?

is need nscr (this sprite is need OAM), just using CT2 to solve that problem.

Link to comment
Share on other sites

I don't understand. Doesn't nscr contain data about the size of the sprite? Please explain what I must do slowly 'cause I'm a bit confused.

ops sorry is not nscr, is ncer.

if you clicked nclr, ncgr, try click ncer files, will look like this :

CWHQu.jpg (with ncer files)

Mmk7g.jpg (without ncer files) w64 h144

Link to comment
Share on other sites

Thanks andibad, I'm starting to understand. The ncer file is supposed to put the sprite together, right?

But how do you apply the ncer file to the rgcn file in ct2? When I press space nothing happens. When I click it the picture disappears.

Also which ncer file must I apply for which sprite?

EDIT: screenshot of sprite and ct2

ct2..gif

Thanks for spending your time to help me!

ct2..gif.684ca6e5ff4c84d4207aacf67e4e264

Edited by Detectiv
screenshot
Link to comment
Share on other sites

Okay, so, I've arrived with another problem. Sorry for hogging the thread. So, I did everything as per the instructions and everything went smoothly. Edited Snivy in Paint and imported the image etc etc. I edited it to have a slightly different shaped tail. I wasn't entirely sure whether or not it would work, because I have the feeling that a lot of the animations depend on there being set borders, if that makes sense? I would also like to know a bit more about how the animations work - does anybody have any idea? I thought maybe each part had an anchor or something that the game used to place it, but I'm no expert on that kind of thing. Some people have evidently managed to edit a Pokémon (and edit pixels outside of the original borders of the sprite) and the animation still works, but I want to know if there are any restrictions with this, or if anybody has figured out how the animations work, generally.

Anyway, so, back to the problem. I edited Snivy's tail to be a different shape, as you can see here.

10qh3cx.jpg

I reinserted the image (and double clicked it), exported the file, compressed it, imported it (and double clicked it, just to be safe). I then used Nitro Explorer to reinsert the narc to the ROM. I then ran the game on an emulator (DeSmuME) to see the results in the first battle (I picked Tepig so I'd battle Bianca with Snivy first), and I found that nothing had happened. It was as if I hadn't done anything at all - Snivy's tail was the same shape. I thought maybe I hadn't saved it properly, but when I went back into the ROM to see what the tail looked like in the file, it was exactly how I left it. So I thought maybe Snivy had several different sprites and the one I edited wasn't the one being used in that instance, so I went back and checked for other sprites, but no, I couldn't find any of them. Snivy doesn't have any alternate forms and doesn't look different female to male or anything like that.

So, after all that, I'm left at a total loss as to what happened. I'd be a bit less frustrated if the sprite had glitched or something, because at least then I'd know that I'd changed something and that it just wasn't possible, but right now I'm just confused as to how Snivy's original tail shape is still existing in the game despite the fact that those pixels no longer exist on the ROM.

Please, somebody ease my frustration!

Link to comment
Share on other sites

you have to pick oshawott so you encounter a male snivy. You have the new image on the male and not on the female. try that.

Like I already said in the post, Snivy isn't any different from female to male - both female Snivy and male Snivy use the same sprite. There is only one Snivy frontsprite (parts) file and it is the one that I edited. Hence my confusion.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...