Jump to content

Recommended Posts

Posted

I'm trying to import a PNG that I edited from an exported C-Gear skin, using GIMP and making sure to set it to only use 16 colours, but when I try to import it, PKHeX says it has too many unique colours:

blob.png.c95d364795ecdc27d801df7f578d3cb0.png

Here is the image I'm trying to import: 

1793844397_Elesa2C-Gear2.png.aba198a9c0cc4f3c8cef1f95cdfe0fd6.png

Additionally, here's the original image, and the cgb file that it came from:

1057834893_Elesa2C-Gear.png.2c774b6e71c6a47ddf41c4b075ea9ad1.png 

Elesa 2 C-Gear.cgb

Before you ask, I shifted the image a pixel down, because it was one too high for the C-Gear's UI, as you can see in the image below. I also intended to edit it in the future for B2/W2's C-Gear, but right now I'm having issues with B/W in the first place. Additionally, is there any way to actually generate a cgb file from the picture? I've also tried using PokeCGear, but importing the picture in question resulted in a black image, no skin in sight.

 37483880_5585-Pokemon-BlackVersion(DSiEnhanced)(USA)(E)(SweeTnDs)__1054.png.1d3d041b70e92b4c6f42196b2232f1ee.png

Posted (edited)

Well I've exported it as a bmp, but then there's no way to import it to PKHeX, unless I try to change the extension to png, but then PKHeX crashes.

Elesa 2 C-Gear 2.bmp

Additionally, here's what I'm doing to ensure that it's only 16 unique colours:

blob.png.994d6f939d963bd1233a60a27ab8bc1a.png

EDIT: Additionally, here's the Colourmap for the image after that conversion to Indexed, you can see that it has 16 unique colours:

blob.png.4ae060a132fa08687006d89f1b21d153.png

Edited by Latias4Ever
  • 2 weeks later...
Posted (edited)

There seems to be an issue with importing .png at all right now. Take this, for example:

image.png.c13814c2ba5f6c495c2ea4a8acd4d6cc.png

 

If you Export .png and then reload that same .png file, it ends up like this:

image.png.b9d4f6ee8f040319c5fd8fd4c67d1208.png

 

Some C-Gear skins also just don't render properly, despite looking fine in-game:

image.png.70162ec6618e2f960a9f8815899dcdfb.png

 

I was able to import your image by simply opening it in mspaint and re-saving it from there, but it shows up all dark and blue, just like the Pikachu above (and yes, it displays that way in-game.)

I guess there must have been a regression somewhere when it comes to C-Gear, because I'm pretty sure I remember C-Gear stuff was supposed to have been fixed a while ago. But something must have re-broken it.

(Forgot to mention, this is in latest stable, and in 7db0657. Visual Studio won't load the newer commits, so I can't check those.)

For the time being, you should be able to use this psk.

 

Edited by Guest
Posted

How do I use the psk, though? I did want to fix the position of the original skin for both B/W and B2/W2, so I need a way to manipulate the image first, and I don't know how to use psk or export as psk.

Posted (edited)

You can import .psk in PKHeX the same way you would import .cgb

Just to clarify, the psk has your edit.

image.png.baa1cc50448d145925d0b0ae3e366269.png

Edited by Guest
Posted

PokeCGear works, there might be other ways but this is the only one I know of right now. PokeStock won't import your bmp as-is, must be something weird that GIMP does (or maybe you need to pick different options when exporting, idk.) If I just open the bmp in paint and save it without editing it though, then it imports fine. Still have to obey the 256x192 16 color limit though.

It turns out though, that PokeCGear will export as cgb when you load a B2W2 save, and to psk when you load a BW save. Weird. Well, as long as it works.

Posted

Alright, I've tried it as you said, and sure enough, the B2/W2 version works perfectly on PKHeX now. I'm also unsure why GIMP causes it to not import correctly, but as you said, opening it on paint and just saving worked. Thanks for the help.

blob.png.7b21b7bf8395bdee356192e3db46e91b.png

  • Like 1
  • 2 years later...
Posted
1 hour ago, Packattack77 said:

how do i limit it to 16 colors?

You have to open the options of your image editor and change the color depth to 16 colors. The location of said option changes depending on your software, in MS Paint you can go to: file>save as>16 color Bitmap. This will have an strong impact on the image if it was not originally made in such color depth, professional programs let you choose the colors for your palette.

Posted
3 hours ago, TmoTevin said:

While there are post from a few days ago, does anyone here know how to fix too many tiles / can explain what it mean? 

VOXvMme.png9NaQulx.png

A tile is an 8x8 pixel square. If you have too many tiles, it implies the image is too complicated to be stored; duplicate tiles line a black square can be reused in multiple spots.

Your image has tons of speckling and shading, thus not having any duplicate tiles besides the black areas. Too many.

  • Thanks 1

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...