YesNoOk

Show content

This section allows you to browse the content for this member. Note that you can only see content for which you have sufficient viewing permissions.


Cybrmynd is Offline
Contact Cybrmynd:

Cybrmynd

User

Messages by Cybrmynd

    

Re: Im having a problem with a Palette!

 February 10, 2010, 07:37:39 am View in topic context
avatar  Posted by Cybrmynd  in Im having a problem with a Palette! (Started by Cybrmynd February 09, 2010, 09:15:56 pm
 Board: M.U.G.E.N Development Help

What does your palette look like? Obviously pink is in the right place. Sounds like all the other colours aren't in the palette that mugen is using. Like, they're all at the end, and mugen is looking at the start.



The palette above has been taken from a 8 bit 256 pose at the start of the animation. All the png sprites were converted into 8 bit 256 sprites, and then later the act palette in the above image was applied to all the 256 sprites. So in other words, the current palette comes from the 256 8 bit sprites that were converted. In no way should they change, because they derive from the actual sprite like it should.

Quote
In your sff.def filetry changing this:

Code:
[Pal]
1,1, vanessakof.act, 0,255

to this:

Code:
[Pal]
1,1, FSTANC01.png

I think the way it works is that it takes the palette from what ever image is declared. I could be wrong, but test it and give it a try.

I'll try this out as well, even though in the mugen docs it seems you can choose which direction you can to create the palette. Well thats the impression I get anyway.

EDIT: Hey guys.

For some reason, PNG's won't work for me. But PCX files are still working well, and the palette is fine. Thanks anyway.

It still doesn't change the fact that PNG files don't work for me. I don't know.

    

Re: Sexy Fighters !

 February 09, 2010, 09:28:04 pm View in topic context
avatar  Posted by Cybrmynd  in Sexy Fighter Girls ! :NWSafe (Started by Warner February 02, 2010, 06:36:00 pm
 Board: Graphics

Wow, these are awesome.

*drools* Ohhh-ohhhh!

Seriously though, definitely some great artists around here.

    

Im having a problem with a Palette!

 February 09, 2010, 09:15:56 pm View in topic context
avatar  Posted by Cybrmynd  in Im having a problem with a Palette! (Started by Cybrmynd February 09, 2010, 09:15:56 pm
 Board: M.U.G.E.N Development Help

Yeah, so anyway. I have a Palette that has been applied (at least I think so) to every sprite of a character I'm currently working on.

The directories of everything are correct (again, at least I think so), and everything compiles nicely.

I run Mugen and suddenly my character is outlined as a black shadow. For example:



Now the thing is, If I disable the Pal text in my sff.def file, and let Mugen do the Auto Pal thingy, the color turns up perfectly, of course.

Obviously I have done something wrong with my palette. But I'm not to sure, and I fail to search for the problem. I followed the main character tutorial, and stuffed up somewhere. I load up the sprites that have had the palette applied to, and they seem to appear fine.

What confuses me the most is that, my character is black, but it seems to cut the pink out just fine. :/

I'm using the current mugen 1.0 and photoshop.

The process I went through starting the sprite and pal:

1. Ripped some KOF sprites using Winkawaks with the pink background, exported into png.
2. loaded into photoshop, made into 256, and saved a .act palette based on the 'first' stance sprite.
3. Did a batch conversion based on the previous actions to repeat the process.
4. placed the act in the chars/player/ folder, and compiled into a sff using sprmake2.
5. Ran game.
..

6. Failed to launch.

My Sff.def file.

Quote
;KOF Test SFF DEF File
;=========================================
;-----------------------------------------

[Output]
 ;Filename of the SFF file to create (required).
filename = chars/vanessakof/vanessakof.sff

[Pal]
1,1, vanessakof.act, 0,255

[Option]
sprite.usepal = 1,1


[Sprite]
   0, 0, FSTANC01.png,  85,168
   0, 1, FSTANC02.png,  85,168
   ...
   ...

The character Def.

Quote
; Definition file for Kung Fu Man
; Contains all the filenames needed for the character

; Player information
[Info]
name = "vanessakof"        ;Name of character
displayname = "Vanessa" ;Name of character to display
versiondate = 09.02.2010    ;Version date of character (MM-DD-YYYY or X.XX)
mugenversion = 1.0          ;Version of M.U.G.E.N character works on (X.XX)
author = "Cybrmynd"         ;Character author name
localcoord = 320,240        ;Local coordinate space width and height

; Files for the player
[Files]
cmd     = vanessakof.cmd           ;Command set
cns     = vanessakof.cns           ;Constants
st      = vanessakof.cns           ;States
stcommon = common1.cns      ;Common states (from data/ or motif)
sprite  = vanessakof.sff           ;Sprite
anim    = vanessakof.air           ;Animation
ai      = vanessakof.ai            ;AI hints data (not used)

[Palette Keymap]
x = 1 ;Press button X to select palette 1, etc.


Any help will be appreciated, thanks.