Latias4Ever Posted September 29, 2019 Posted September 29, 2019 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: Here is the image I'm trying to import: Additionally, here's the original image, and the cgb file that it came from: 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.
Kaphotics Posted September 29, 2019 Posted September 29, 2019 The saved data has too many unique pixel colors, as indicated in the error message. Try exporting it in a different format (bmp), as png is a compressed image format (not lossless). 1
Latias4Ever Posted September 29, 2019 Author Posted September 29, 2019 (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: EDIT: Additionally, here's the Colourmap for the image after that conversion to Indexed, you can see that it has 16 unique colours: Edited September 29, 2019 by Latias4Ever
Guest Posted October 8, 2019 Posted October 8, 2019 (edited) There seems to be an issue with importing .png at all right now. Take this, for example: If you Export .png and then reload that same .png file, it ends up like this: Some C-Gear skins also just don't render properly, despite looking fine in-game: 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 October 27, 2019 by Guest
Latias4Ever Posted October 8, 2019 Author Posted October 8, 2019 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.
Guest Posted October 9, 2019 Posted October 9, 2019 (edited) You can import .psk in PKHeX the same way you would import .cgb Just to clarify, the psk has your edit. Edited October 27, 2019 by Guest
Latias4Ever Posted October 9, 2019 Author Posted October 9, 2019 Yes, I'm aware of that, what I'm asking is how I can convert a png/bmp to a working psk? I also want to edit the skin to fit the B2/W2 C-Gear, but I can't really import it if I don't know how to convert it to psk. Here's the B2/W2 version: Elesa 2 C-Gear B2W2.bmp 1
Guest Posted October 10, 2019 Posted October 10, 2019 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.
Latias4Ever Posted October 10, 2019 Author Posted October 10, 2019 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. 1
Hide Posted July 6, 2022 Posted July 6, 2022 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.
TmoTevin Posted July 8, 2022 Posted July 8, 2022 While there are post from a few days ago, does anyone here know how to fix too many tiles / can explain what it mean?
Kaphotics Posted July 8, 2022 Posted July 8, 2022 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? 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. 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now