YesNoOk
avatar

Need Help With Dreamslayer's Sprite Rips (Read 1759 times)

Started by Cartoonfanatic, October 20, 2007, 11:07:52 am
Share this topic:
Need Help With Dreamslayer's Sprite Rips
#1  October 20, 2007, 11:07:52 am
  • ***
  • Heh, I create palettes. Tell me if you want some.
Hey guys, I'm having some trouble here. I'm wondering how do I get rid of the little pixels at the top of the sprite rip of Ken below? If you can't see the pixels please save the picture and zoom in at the top of the pic on the right side, then you'll see it. The colors of the pixels are in the palette too so I'm having trouble. The pixels are on the rest of the sprite rips too. How do I fix this? I won't be able to cut the sprites when I put them in Fighter Factory if they're still there. Other sprite rips of CvS characters from Dreamslayer don't have those pixels on them.

Check out my palettes guys! Click below in my sig if desired!
http://mugenguild.com/forumx/index.php?topic=66166
Re: Need Help With Dreamslayer's Sprite Rips
#2  October 20, 2007, 11:10:45 am
  • ****
Go on an image editing program and just clean it? As in, use that pink, and just run over the whole image on where you think has these 'pixels' except obviously for Ken.
Re: Need Help With Dreamslayer's Sprite Rips
#3  October 20, 2007, 11:13:09 am
  • ***
  • Heh, I create palettes. Tell me if you want some.
Do I have to clean everyone of the sprite rips individually?
Check out my palettes guys! Click below in my sig if desired!
http://mugenguild.com/forumx/index.php?topic=66166
Re: Need Help With Dreamslayer's Sprite Rips
#4  October 20, 2007, 11:34:44 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Could learn to use pcxclean.

That would allow you to remove the pixels pretty fast but with some fiddling then reapply a more correct pallete to all the images.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Need Help With Dreamslayer's Sprite Rips
#5  October 20, 2007, 11:42:45 am
  • ***
  • Heh, I create palettes. Tell me if you want some.
I've known about PCXclean for a while now. But on winane's site it says it's for DOS and I have a Windows computer, is it still possible to use it PCXclean despite the fact that I have a Windows computer?
Check out my palettes guys! Click below in my sig if desired!
http://mugenguild.com/forumx/index.php?topic=66166
Re: Need Help With Dreamslayer's Sprite Rips
#6  October 20, 2007, 03:26:36 pm
  • ******
Yes.
Read the doc on PCXClean, and you'll learn to make up the command line you need.
Create a text file, write that command line in it, according to your folders, sprites and palettes.
Make sure the file extensions show up - the text file must display the .txt at the end. In case you don't have the extensions displayed, when in your folder, go for tools -> folder options... -> display -> uncheck "hide known file extensions".
Change that .txt to .bat.
Put the .bat in the same folder as your files (palette, sprites)
Double-click on the .bat.
You're done.

Hint : a command line for PCXClean can be that :
pcxclean -c -y -t subdirectorywhereyourspritesare\*.pcx nameofyouractpalette.act
Of course, first make a copy of the directory where your sprites are, for safety purpose.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Last Edit: October 20, 2007, 03:31:09 pm by Baiken
Re: Need Help With Dreamslayer's Sprite Rips
#7  October 20, 2007, 05:11:00 pm
  • ******
  • [E]
    • Mexico

  • Online
actually, you can use any program that batch applies palettes to get the same effect as pcx clean, except that they will require extra steps. if you can't run pcx clean post again so i can post how.
Re: Need Help With Dreamslayer's Sprite Rips
#8  October 20, 2007, 05:45:37 pm
  • ******
actually, you can use any program that batch applies palettes to get the same effect as pcx clean
They usually use the closest color of the palette to take care of pixels with colors that aren't in the palette, no ? While PCXClean uses only a particular color - the background one (255).
Quote
so i can post how.
I just did...
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: Need Help With Dreamslayer's Sprite Rips
#9  October 20, 2007, 06:11:34 pm
  • ******
  • [E]
    • Mexico

  • Online
ok, since someone is mildly interested.

change the entry that you do not want to have in your palette to the bg color, apply the palette preserving indexes. then reapply the palette but now with nearest color matching, the color will dissapear from the sprites. note that you must already have a good palette.
Re: Need Help With Dreamslayer's Sprite Rips
#10  October 20, 2007, 11:37:51 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Quote
While PCXClean uses only a particular color - the background one (255).

It does the same as applying Maintain Indexes when you load a pallete in PSP. New pallete with BG colour in the right place is applied over old pallete with gibberish in it.

Doesn't make your comment wrong but needed some clarification.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Need Help With Dreamslayer's Sprite Rips
#11  October 21, 2007, 12:43:43 am
  • ******
applying Maintain Indexes when you load a pallete in PSP.
Only if all the empty slots have the same color as the background... And palette-wise, it will still be wrong. If a pixel is associated with color slot 240, applying maintain index with a palette that has the same color as the bg on slot 240 will still leave that pixel with slot 240, only recolor it to the color that is on slot 240 of the new palette, and that's not what we want for Mugen, since we want the pixel to be switched to the background slot (255 for act file or 0 for Paint Shop Pro) ??? That are you would need to make another pass of "nearest color matching" with a palette that has only one occurence of the background color, in the background slot (0/255). Of course, if you don't want to be bothered with PCXClean, that's a solution - mass "maintain index" with one palette with unused slots filled with background color, followed by mass "nearest color" with another "good" palette with the background color only in the background slot. But you need two palettes then.


One more possible solution if you like to mess with neither palettes nor PCXClean : mass cropping.
If you have irfanview, put all your sprites in a same folder, open one, file->batch conversion/rename, check "batch conversion", check "use advanced options", go in "set advanced options", check "crop", "left top", Y-coord. : 3 (for example), width : 320, height : 237 (following the "3" example, total must be 240), uncheck resize, Ok, output format to pcx, select the folder where all your sprites are and click on "add all", set an output directory, then "start" and you're done.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Last Edit: October 21, 2007, 12:54:07 am by Baiken
Re: Need Help With Dreamslayer's Sprite Rips
#12  October 21, 2007, 01:19:42 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
I've found that's what PCXclean does. It doesn't reorder the pallete. If you load the image afterwards and check the pallete all the slots that were previously 1 colour will be a new one.

Unless i'm doing something wrong.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Need Help With Dreamslayer's Sprite Rips
#13  October 21, 2007, 01:22:58 am
  • ***
  • Heh, I create palettes. Tell me if you want some.
Okay, thanks for the replies everyone, you all helped me out big time. :sugoi:
Check out my palettes guys! Click below in my sig if desired!
http://mugenguild.com/forumx/index.php?topic=66166
Re: Need Help With Dreamslayer's Sprite Rips
#14  October 21, 2007, 02:23:36 am
  • ******
  • [E]
    • Mexico

  • Online
That are you would need to make another pass of "nearest color matching" with a palette that has only one occurence of the background color, in the background slot (0/255).

exactly, that is why elecbyte made pcx clean in the first place and that is why it was suggested as an alternative in case pcx clean did not work.
Re: Need Help With Dreamslayer's Sprite Rips
#15  October 21, 2007, 03:31:03 am
  • ******
I've found that's what PCXclean does. It doesn't reorder the pallete. If you load the image afterwards and check the pallete all the slots that were previously 1 colour will be a new one.

Unless i'm doing something wrong.
PCXClean doesn't reorder the palette, it takes all the pixels in the sprite, and for each pixels that have a color not found in the reference palette, it automatically recolors it with the background color slot - not the nearest, but one particular color only. It doesn't change the slot the pixel is associated with : it reassociates the pixel to that particular slot, palette unchanged.
PSP doesn't do that, not in one go. All it can do is change the content of the slot the pixel is associated with, but leave the pixel associated to that slot. You need two steps to have the same result, like [E] was originally sugesting, yes.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Last Edit: October 21, 2007, 03:38:57 am by Baiken
Re: Need Help With Dreamslayer's Sprite Rips
#16  October 21, 2007, 04:50:25 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
So by the sound of that, we're in complete agreement? Okey doke good show XD.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Need Help With Dreamslayer's Sprite Rips
#17  October 21, 2007, 01:53:48 pm
  • ******
I'm still in contradiction with that :
It does the same as applying Maintain Indexes when you load a pallete in PSP.
Given how you still haven't backtracked on it and only said "so we agree", I can only respond that no, we still don't agree. Because it doesn't do the same. Which is why I have to go and talk to you as I would to a n00b. And you're not exactly helping (not that I can expect anything else). Talk about giving clarification... And I'm this close to making you a comparative scheme to make sure we do understand each other.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Last Edit: October 21, 2007, 02:11:35 pm by Baiken
Re: Need Help With Dreamslayer's Sprite Rips
#18  October 21, 2007, 11:42:09 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Leaving out the smartass comments.

We're going to have to drop this, just tried pcxclean again and found my PC hates it still. Gives me matte pictures of a very dark gray. Step up from not working but nevertheless broken. It's rather hard to describe anything like this without pictures and i can't take any of what my experience has been previously. Yes it has worked previously, it does not now.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Need Help With Dreamslayer's Sprite Rips
#19  October 22, 2007, 12:34:30 am
  • ***
  • Heh, I create palettes. Tell me if you want some.
I've tried/opened PCXClean for the third time now and it just opens really quickly then closes, what's going on with the program? :S It's not giving me a chance to type anything in.
Check out my palettes guys! Click below in my sig if desired!
http://mugenguild.com/forumx/index.php?topic=66166
Last Edit: October 22, 2007, 12:37:37 am by KensouFanatic
Re: Need Help With Dreamslayer's Sprite Rips
#20  October 22, 2007, 12:41:46 am
  • ******
Did you... Why should I ask, I know you didn't.
Yes.
Read the doc on PCXClean, and you'll learn to make up the command line you need.
Create a text file, write that command line in it, according to your folders, sprites and palettes.
Make sure the file extensions show up - the text file must display the .txt at the end. In case you don't have the extensions displayed, when in your folder, go for tools -> folder options... -> display -> uncheck "hide known file extensions".
Change that .txt to .bat.
Put the .bat in the same folder as your files (palette, sprites)
Double-click on the .bat.
You're done.

Hint : a command line for PCXClean can be that :
pcxclean -c -y -t subdirectorywhereyourspritesare\*.pcx nameofyouractpalette.act
Of course, first make a copy of the directory where your sprites are, for safety purpose.

PCXClean is a DOS command line program. You can't just double-click on the icon, it only responds to a command line input.


I took the sprite, made a clean palette from it keeping only Ken's color, and ran tests. Of course, I made that palette specifically by picking the colors I knew Ken has on that sprite. If it's not the same exact red, PCXClean will consider it to be different and wipe it out.
Image 1 : the original
Image 2 : "maintain index" with a clean palette, the pixel is still associated with the same slot, regardless of the color in it. Even if the sprite still looked good by some miracle, the stray pixel still wouldn't be associated with the correct slot and Mugen wouldn't see it as transparent.
Image 3 : PCXClean with a clean palette, the pixel with a color not found in the palette is recolored
Image 4 : comparison, PSP's "nearest color" with a clean palette, the pixel is still there

As originally suggested by [E], to get the same result without PCXClean, you need more steps than just that in PSP.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Last Edit: October 22, 2007, 01:13:54 am by Baiken
Re: Need Help With Dreamslayer's Sprite Rips
#21  October 22, 2007, 01:01:52 am
  • ***
  • Heh, I create palettes. Tell me if you want some.
So I've made a .txt file showing this input:
PCXCLEAN -b 001.pcx 001.pcx ken.act
Following this:
PCXCLEAN [options] <infilename> <outfilename> <palettefile>

How do I change the file to a .bat file?

EDIT: Hold on, I found out how to make it into a .bat file and double clicked following the steps you said Baiken, but I get a screen that says "confirm overwrite of 001.pcx?" and I clicked y/yes and the screen disappeared and the sprite now has a new palette, did I do it right?

Check out my palettes guys! Click below in my sig if desired!
http://mugenguild.com/forumx/index.php?topic=66166
Last Edit: October 22, 2007, 01:09:35 am by KensouFanatic
Re: Need Help With Dreamslayer's Sprite Rips
#22  October 22, 2007, 01:12:52 am
  • ******
Quote
did I do it right?
Yes ^_^ All the pixels that had a color not found in the palette got reassociated with the color slot for background color. As long as you used a correct palette with the exact colors, your sprite is now ready for use.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Re: Need Help With Dreamslayer's Sprite Rips
#23  October 22, 2007, 01:17:39 am
  • ***
  • Heh, I create palettes. Tell me if you want some.
Wow, thank you very much Baiken, and everyone else for helping me. :D
Check out my palettes guys! Click below in my sig if desired!
http://mugenguild.com/forumx/index.php?topic=66166
Re: Need Help With Dreamslayer's Sprite Rips
#24  October 22, 2007, 02:08:40 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Judging by that, my PCXclean is completely screwed.

Although you've got the wrong end of the stick on what i meant by maintain indexes. That purely involved image with non clean pallete, clean it, save cleaned pallete and apply that with maintain indexes on to other images with the non clean pallete.

It doesn't give you the transparent colour but it does recolour the correct pixels.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Need Help With Dreamslayer's Sprite Rips
New #25  October 22, 2007, 02:40:10 am
  • ******
I doubt your pcxclean is screwed. The colors in the palette need to be exactly the same. If you use a palette that has a red as 255,0,0 and your took your sprites with a slight color error resulting in your red being 255,0,1, then all your red will be removed, not giving a damn about "nearest color". It will be replaced with the color in slot 255, which, judging from what you said earlier, happens to be gray on your palette. In that case, just recreate the palette from scratch to make sure you have the colors you want.
Spoiler: blah (click to see content)
I manually picked Ken's 15 colors from that specific sprite to make that palette, so I was sure Ken's color would be in the palette. PCXClean has zero tolerance.
It's not a big problem with TDS's rips since we know the colors are all fine, but I remember that I didn't go the easiest way the first time I used PCXClean : I used shots from ePSXe with the colors that got screwed halfway, so my Benimaru and Rugal sprites ended up removed along with the background half of the time...


Oh by the way, KensouFanatic, don't forget to add the colors of the fireballs and the flames in your palette, if you didn't.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.
Last Edit: October 22, 2007, 02:45:51 am by Baiken
Re: Need Help With Dreamslayer's Sprite Rips
#26  October 22, 2007, 02:44:18 am
  • ***
  • Heh, I create palettes. Tell me if you want some.
Quote
Oh by the way, KensouFanatic, don't forget to add the colors of the fireballs and the flames in your palette, if you didn't.
I did, I added those in the palette too, plus I'll remember to add in the colors of any other special effects I might need.
Check out my palettes guys! Click below in my sig if desired!
http://mugenguild.com/forumx/index.php?topic=66166