Edit NCGR while keeping the same amount of colors in the palette

YuseiFD

Well-Known Member
OP
Member
Joined
Jul 6, 2016
Messages
605
Trophies
0
Age
34
XP
2,641
Country
Hello, i am having a hard time editing a picture, i used photopea and paint.net, added black text and gave it shadow, the palette hasn't changed that much, but every time i try to import using Tinke, it claims the picture has more colors than the maximum amount, what can i do please ?

What is the best tool to use for this please.

a_license.NCER_1.png
VS
a_license.NCER_0.png
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
Editing things using image editors is fraught with difficulty, though I would rather do that effect with layers rather than manually, shadows and blur effects possibly being another.

I have had some success with crystaltile2. It has the option to export and import image formats (do BMP or PNG), and if you are sensible and either restrict the palette (gimp calls it indexed mode) or colour pick when you are there and steer clear or gradients, blur, paintbrush effects (or always use hard edge), anti aliasing and anything else that generates excessive amounts of colours. You might also be able to crush you image down to those colours you do have using such a tool.
It is not always that obvious but for a general workflow open the ROM up, click on the little DS icon to the right of the main toolbar to bring up the list of DS files (hopefully it is just there, preferably not compressed but it can sort that if needs be/you can sort it manually, and not contained in a sub archive it does not understand). Right click on the file you are interested in and it will then give options to load it, do the same for the palette files if you think you want one and hopefully it is not too tile mapped either (though again you might be able to work around that).
From there the image viewer should be there and in all the right modes. Select what you want to edit and in one of the downdown menus should be various export options.
https://www.romhacking.net/utilities/818/
https://gbatemp.net/download/crystaltile2.23649/
 
  • Like
Reactions: YuseiFD

YuseiFD

Well-Known Member
OP
Member
Joined
Jul 6, 2016
Messages
605
Trophies
0
Age
34
XP
2,641
Country
Editing things using image editors is fraught with difficulty, though I would rather do that effect with layers rather than manually, shadows and blur effects possibly being another.

I have had some success with crystaltile2. It has the option to export and import image formats (do BMP or PNG), and if you are sensible and either restrict the palette (gimp calls it indexed mode) or colour pick when you are there and steer clear or gradients, blur, paintbrush effects (or always use hard edge), anti aliasing and anything else that generates excessive amounts of colours. You might also be able to crush you image down to those colours you do have using such a tool.
It is not always that obvious but for a general workflow open the ROM up, click on the little DS icon to the right of the main toolbar to bring up the list of DS files (hopefully it is just there, preferably not compressed but it can sort that if needs be/you can sort it manually, and not contained in a sub archive it does not understand). Right click on the file you are interested in and it will then give options to load it, do the same for the palette files if you think you want one and hopefully it is not too tile mapped either (though again you might be able to work around that).
From there the image viewer should be there and in all the right modes. Select what you want to edit and in one of the downdown menus should be various export options.
https://www.romhacking.net/utilities/818/
https://gbatemp.net/download/crystaltile2.23649/
Thank you for your reply, i already tried but it's too tile mapped, plus checking the source for Tinke, it does the same job and on top of that it loads the NCER which maps the NCGR graphic and shows it properly, but the question that remains, is what can i use to make sure i don't exceed the allowed color palette maximum value of colors. You mentioned GIMP and indexed mode, is that a feature i can use on other editors ??
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
Limited colours is very old school web and computer graphics so equivalents probably exist in many things, and you can fake it (gradients, anti aliasing, brush effects and colour tweak options... don't use any of them) in most things. What the hard limiting options might be in other programs I don't know offhand though indexed is likely a good search term and not a non standard one gimp or photoshop make up or call something else to confuse matters.
That said if you are only crushing colours down do you need another program?
 
  • Like
Reactions: YuseiFD

YuseiFD

Well-Known Member
OP
Member
Joined
Jul 6, 2016
Messages
605
Trophies
0
Age
34
XP
2,641
Country
Limited colours is very old school web and computer graphics so equivalents probably exist in many things, and you can fake it (gradients, anti aliasing, brush effects and colour tweak options... don't use any of them) in most things. What the hard limiting options might be in other programs I don't know offhand though indexed is likely a good search term and not a non standard one gimp or photoshop make up or call something else to confuse matters.
That said if you are only crushing colours down do you need another program?
Thank you again for clarifying, as you can see in the OPs spoiler, i used the same colors, no special effects other than shadows which are already used in the original, but this makes 188 unique colors in the image which is completely odd, but i think i'm gonna leave it for now :D
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
Cranking up the zoom from the image in the opening post that looks like anti aliasing which can produce that high a count, similarly crushing it to 16 colours (still looks fine by the way) and doing a difference blend shows some stuff as well which would not be the case were it limited colours as a base. Now it is possible the forum messed something up in the process (they do appear to be PNG so not like the JPG it lowers quality for).

What game is it by the way?
 

YuseiFD

Well-Known Member
OP
Member
Joined
Jul 6, 2016
Messages
605
Trophies
0
Age
34
XP
2,641
Country
Cranking up the zoom from the image in the opening post that looks like anti aliasing which can produce that high a count, similarly crushing it to 16 colours (still looks fine by the way) and doing a difference blend shows some stuff as well which would not be the case were it limited colours as a base. Now it is possible the forum messed something up in the process (they do appear to be PNG so not like the JPG it lowers quality for).

What game is it by the way?
Captain tsubasa: New kick off

JPG sadly doesn't hold transparency, and i don't want to mess with size since Tinke is kinda sensetive to it when importing, but you were right, i am trying to replicate the original font and shadow effect as much as i can
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,375
Country
United Kingdom
I might give it a look a bit later.

I usually do shadows by replicating the top layer, altering colours to be whatever you need and shuffling the lower presumably now grey layer a few pixels out. In the case of the Nintendo on the original they might have also selected the text, increased the size by a pixel or two and then done the same as the previous sentence, maybe a blur as well to soften it a bit.
 
  • Like
Reactions: YuseiFD

YuseiFD

Well-Known Member
OP
Member
Joined
Jul 6, 2016
Messages
605
Trophies
0
Age
34
XP
2,641
Country
I might give it a look a bit later.

I usually do shadows by replicating the top layer, altering colours to be whatever you need and shuffling the lower presumably now grey layer a few pixels out. In the case of the Nintendo on the original they might have also selected the text, increased the size by a pixel or two and then done the same as the previous sentence, maybe a blur as well to soften it a bit.
Yeah i actually managed to find out, thanks to a friend of mine in the scene, that using aseprite can help saving the png as indexed
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    I have a giant check list of impossible things, and I haven't done them all yet lol
  • K3Nv2 @ K3Nv2:
    @Psionic Roshambo, Was the pot farmer in San andreas
  • Psionic Roshambo @ Psionic Roshambo:
    I tell people I wrestled a 5 foot alligator and they get this smile like this guy is full of shit lol the reality is I am sad it got away.... I wanted a pet alligator lol
  • BigOnYa @ BigOnYa:
    You live in Florida, so I believe it, you guys are crazy.
  • Psionic Roshambo @ Psionic Roshambo:
    At the time I would have probably fed it people lol
  • Psionic Roshambo @ Psionic Roshambo:
    Seriously cocaine not even once lol
  • BigOnYa @ BigOnYa:
    Not even once, but 100's of times
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    My girlfriend at the time, she had me stay up with her all night because some how the crazy bitch had spent like 12 hours snorting 2 8 balls, didn't use any water (gotta clean your nose) so she had so much crusted in her nose I was sure she was gonna blow up her heart. I mean this was the stuff right off the boat so absolutely pure. ugghh so annoying
  • Psionic Roshambo @ Psionic Roshambo:
    Also doing like 320 dollars worth of coke in half a day lol damn it
  • Psionic Roshambo @ Psionic Roshambo:
    hmmm 360 even lol
  • Psionic Roshambo @ Psionic Roshambo:
    Well I was getting a discount so 320 is probably right
  • BigOnYa @ BigOnYa:
    That is cheap, I used to pay $100 for a tine.
  • Psionic Roshambo @ Psionic Roshambo:
    Tine? One gram?
  • BigOnYa @ BigOnYa:
    Sixteenth
  • Psionic Roshambo @ Psionic Roshambo:
    Also it was literally out of a kilo when I got it off the boat so absolutely pure
  • Psionic Roshambo @ Psionic Roshambo:
    Holy shiz that's a lot
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I was getting 3.5 Grams for 320 could have stepped on it and doubled my money easy lol
    +1
  • BigOnYa @ BigOnYa:
    I'd be afraid to it nowdays, my heart would explode prob. I just stick beers n buds nowdays.
  • Psionic Roshambo @ Psionic Roshambo:
    I would get to drive from tarpon springs to like Miami a thousand bucks lol do that twice a week and back in 92 that was good money
  • Xdqwerty @ Xdqwerty:
    @BigOnYa,
    @Psionic Roshambo what are you guys talking about?
  • Psionic Roshambo @ Psionic Roshambo:
    Blew it on women and muscle cars lol
    +1
  • BigOnYa @ BigOnYa:
    Hamster food, its pricey nowadays to keep PCs running.
  • Psionic Roshambo @ Psionic Roshambo:
    I don't do anything except cigarettes and gotta stop eventually lol
    Psionic Roshambo @ Psionic Roshambo: I don't do anything except cigarettes and gotta stop eventually lol