passionfruit69 Posted September 2, 2021 Share Posted September 2, 2021 Hello, I'm gonna keep it short, I love pokémon and the concept of shinys, but some shinys are an absolute disappointment, so I'm working on making my own custom shinys, and I was wondering if there was an app or AI that let's you feed it images and choose the colors to replace and/or swaps palettes, I'm currently editing the images 1 by 1 and it's fine but very slow, and it's gonna be a hassle if this is the only way, but I'm sure there has to be another way/method to do this or similar, any help and tips will be greatly appreciated budadeth and Jaden 1 1 Link to comment
passionfruit69 Posted September 3, 2021 Author Share Posted September 3, 2021 41 minutes ago, JaredNattyDaddyTKL said: ez gif? im not looking for a way to build the gif, im looking for a way to make the recoloring process either automated or more efficient Link to comment
Gilan Posted September 5, 2021 Share Posted September 5, 2021 Photoshop would be a good program to use. I'd merge them all onto 1 "sheet" and do the color replacement. Then would split them back into their original frame order. If you're doing a lot of them, I'd write a python script to do the sheet merge and re-split. Wouldn't take too long. Just messing with replacement thresholds would take the most time. passionfruit69 1 Link to comment
Insensitivity Posted September 5, 2021 Share Posted September 5, 2021 (edited) 8 hours ago, Gilan said: Photoshop would be a good program to use. I'd merge them all onto 1 "sheet" and do the color replacement. Then would split them back into their original frame order. If you're doing a lot of them, I'd write a python script to do the sheet merge and re-split. Wouldn't take too long. Just messing with replacement thresholds would take the most time. Similarly to what he suggested, I tried using least squares with polynomial features of the input, (r, g, b) -> (r^3, g^3, b^3, ..., r, g, b, 1), you then find the color transformation matrix using least squares from a single frame, and then you use it for inference on all the frames, seemed to work extremely well on the example you provided, just don't include the background (transparent pixels) and other duplicates in your data. for example using some random colors similar to yours (since you didn't upload yours): Edited September 5, 2021 by Insensitivity kuplion and passionfruit69 2 Link to comment
JaredNattyDaddyTKL Posted September 5, 2021 Share Posted September 5, 2021 9 hours ago, Insensitivity said: Similarly to what he suggested, I tried using least squares with polynomial features of the input, (r, g, b) -> (r^3, g^3, b^3, ..., r, g, b, 1), you then find the color transformation matrix using least squares from a single frame, and then you use it for inference on all the frames, seemed to work extremely well on the example you provided, just don't include the background (transparent pixels) and other duplicates in your data. for example using some random colors similar to yours (since you didn't upload yours): If I knew what you did I would make the shiny versions of everyone black and red lol Link to comment
kuplion Posted September 6, 2021 Share Posted September 6, 2021 In addition to the suggestions, photoshop has a batch automation system and a functional colour replacement tool so you could record the replacement process once and the replay it back for all of the other sprites. passionfruit69 1 Link to comment
passionfruit69 Posted September 6, 2021 Author Share Posted September 6, 2021 On 9/5/2021 at 5:31 AM, Gilan said: Photoshop would be a good program to use. I'd merge them all onto 1 "sheet" and do the color replacement. Then would split them back into their original frame order. If you're doing a lot of them, I'd write a python script to do the sheet merge and re-split. Wouldn't take too long. Just messing with replacement thresholds would take the most time. I am using photoshop, but I lack the brains to script such thing, regardless I appreciate the information On 9/5/2021 at 1:12 PM, Insensitivity said: Similarly to what he suggested, I tried using least squares with polynomial features of the input, (r, g, b) -> (r^3, g^3, b^3, ..., r, g, b, 1), you then find the color transformation matrix using least squares from a single frame, and then you use it for inference on all the frames, seemed to work extremely well on the example you provided, just don't include the background (transparent pixels) and other duplicates in your data. for example using some random colors similar to yours (since you didn't upload yours): this is fantastic, do you reckon you could link or (if you have lots of free time) make a simple easy to follow guide? I'd really appreciate that and I see a lot of potential for custom sprite modding Link to comment
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