Users browsing this thread: 1 Guest(s)
How to reduce color depth to a specified palette?
#1
Question 
Hi! I'm new to ripping sprites, and have made a mistake. Sad
I recorded and ripped an entire game, but since my recording was a little fuzzy, there are lots of "ghost" colors that I need to get rid of.

Please look closely at the visual demonstration of the issue. I increased the contrast so it's easier to see the problem, but you still might need to zoom in.
   

Is there a way, in any program, to specify an allowed palette of colors and automatically reduce the color depth of an image to that palette?
I currently use Paint.net but I'll download whatever I need to.

Full sheet attached if anyone wants to give it a try.

Please help Sad


Attached Files Thumbnail(s)
   
Reply
Thanked by:
#2
Quote:Is there a way, in any program, to specify an allowed palette of colors and automatically reduce the color depth of an image to that palette?

I know you can do that in mtPaint.

You'd crop out one monster, do "Image > Convert to RGB" if necessary, then edit the palette until it has the colors you want. Then you can do "Image > Convert to Indexed" and use the "Use Current Palette" option with Dithering set to "None". Then assemble monsters into one sheet afterwards.

[Image: S4YRdKy.png]
Reply
Thanked by:
#3
How did you rip these sprites? Ingame screenshots, tile viewer or recorded video file?
Ripping Tutorial for PC Engine / TurboGrafx 16 / TurboGrafx CD
https://www.vg-resource.com/thread-41637.html
Reply
Thanked by:
#4
(02-29-2024, 12:34 AM)scurest Wrote:
Quote:Is there a way, in any program, to specify an allowed palette of colors and automatically reduce the color depth of an image to that palette?

I know you can do that in mtPaint.

You'd crop out one monster, do "Image > Convert to RGB" if necessary, then edit the palette until it has the colors you want. Then you can do "Image > Convert to Indexed" and use the "Use Current Palette" option with Dithering set to "None". Then assemble monsters into one sheet afterwards.

[Image: S4YRdKy.png]

Thanks, I'm gonna try this when I get home!

(02-29-2024, 11:29 AM)Barack Obama Wrote: How did you rip these sprites? Ingame screenshots, tile viewer or recorded video file?

I recorded a video of me playing the game at 4x integer scale, took screenshots of that video file and ripped from them manually.

I need to find a way to record videos without any color compression if I want to do it again like this.
Reply
Thanked by:
#5
The Spriters Resource generally doesn't accept rips from recorded videos due to compression artefacts.

Also there's AnimGet / ScreenGet for this:
https://spritedatabase.net/download

They record animations for you and spit them out as BMP / PNG, which are 100% fine and don't have any errors.
Ripping Tutorial for PC Engine / TurboGrafx 16 / TurboGrafx CD
https://www.vg-resource.com/thread-41637.html
Reply
Thanked by:
#6
(02-29-2024, 02:49 PM)Barack Obama Wrote: The Spriters Resource generally doesn't accept rips from recorded videos due to compression artefacts.

Also there's AnimGet / ScreenGet for this:
https://spritedatabase.net/download

They record animations for you and spit them out as BMP / PNG, which are 100% fine and don't have any errors.

Thanks, those seem awesome!

Also, I wholeheartedly agree with the artifacting problem. I would never upload something that doesn't look 100% identical to the original game (I use aseprite to check if every color is identical to the MAME palette). I'm very anal about this.

Finally, I just noticed that your signature has PC-Engine ripping tutorials. That could be very useful, so double thanks! Last time I tried ripping PC-Engine graphics I failed miserably.
Reply
Thanked by:
#7
No problem, also check out Kramlack's post about PC-Engine ripping:
https://www.vg-resource.com/thread-42382...#pid680740

His suggestion with BizHawk's built-in PC Engine core (TurboNyma) might be even better than Mednafen / Mednaffe.
Ripping Tutorial for PC Engine / TurboGrafx 16 / TurboGrafx CD
https://www.vg-resource.com/thread-41637.html
Reply
Thanked by:
#8
(02-29-2024, 12:34 AM)scurest Wrote:
Quote:Is there a way, in any program, to specify an allowed palette of colors and automatically reduce the color depth of an image to that palette?

I know you can do that in mtPaint.

You'd crop out one monster, do "Image > Convert to RGB" if necessary, then edit the palette until it has the colors you want. Then you can do "Image > Convert to Indexed" and use the "Use Current Palette" option with Dithering set to "None". Then assemble monsters into one sheet afterwards.

[Image: S4YRdKy.png]

Is there a way to delete colors off the current palette? I can only edit them one by one...
Reply
Thanked by:
#9
I believe the only way is "Palette > Set Palette Size" and decrease the size.
Reply
Thanked by:
#10
(02-29-2024, 02:49 PM)Barack Obama Wrote: The Spriters Resource generally doesn't accept rips from recorded videos due to compression artefacts.

Also there's AnimGet / ScreenGet for this:
https://spritedatabase.net/download

They record animations for you and spit them out as BMP / PNG, which are 100% fine and don't have any errors.

ScreenGet just flatout doesn't work, it either errors out or saves "1 of 800 relevant screenshots" (and even the one it saves is corrupted). Is this a known problem? Is there a way to solve it?
AnimGet worked after I set my monitor's resolution to something 2003 appropriate... but 2 minutes of a tiny 240p window came out to be 1.2GB Very Sad My PC only has 12GB of RAM, if I try to record the entire game (40 minutes give or take) it's certainly gonna crash! Embarassed

Do you have any suggestions?
Reply
Thanked by:
#11
You need to stop after a certain time, save the screenshots, put them in another folder and start again. These tools work for short sequences, not a 10 min. recording. AnimGet gives you these large .BMP files, while ScreenGet gives you smaller .PNGs. I would use them for old emulators like epsxe with a small resolution, everything else will give you problems. Bonus points if it's possible to deactivate bg layers within the emulator.

Both work for me, btw (Win10, UHD monitor).
Also 12GB of RAM are more than enough, Windows maybe needs a third of that.
Ripping Tutorial for PC Engine / TurboGrafx 16 / TurboGrafx CD
https://www.vg-resource.com/thread-41637.html
Reply
Thanked by: wonder_boke


Forum Jump: