finalburnneo / FBNeo

FinalBurn Neo - We are Team FBNeo.
http://neo-source.com
Other
937 stars 368 forks source link

dinkc64 we need a color changer Background on Final Burn Alpha like Nebula Emulators #1471

Closed OldGamers closed 1 year ago

OldGamers commented 1 year ago

I had tried so many time to find to change the Black Background for your emulator but its seem all I can do is removed the layers but I cant seem to find a color pallet to change the annoying black background for it, there few games I want to rip that dont support the roms that Nebula or Winkawak carry.

Here what Im talking about

In winkawak when you want to change the color to rip the sprite is located here Untitled

On Nebula Emulator is located in the shots factory under video 11

I know that not reported as bug but. if you give us the agility to removed the layers of the sprites would be better to also include a Color Background setup ?

dinkc64 commented 1 year ago

The shots factory in fbneo is really just an aid for driver development, I really don't have interest to expand this further. Probably a few years ago I would have done this, but, these days my health is not ideal and I rarely have the energy to do the things I want to do.

Sorry I can't help in this situation, best regards,

dinkc64 commented 1 year ago

I have a solution that might help, and won't take too much time to add if you're interested: I could make you a custom fbneo exe which always has a pink background for cps1 and 2, would that be helpful?

OldGamers commented 1 year ago

wow that be great and awesome and also that be helpful for sure.

dinkc64 commented 1 year ago

Here's the custom fbneo exe with pink backgrounds for cps1 and cps2: fbneo_cps12_pinkbg.zip

Incase you're wondering the code difference with this exe, here's the chunk of code I added to src/burn/drv/capcom/cps_draw.cpp, in the function CpsClearScreen():

UINT8 *dst = (UINT8 *)pBurnDraw;

for (INT32 y = 0; y < 224; y++)
{
    UINT32 col = BurnHighCol(0xff, 0x10, 0xf0, 0);

    for (INT32 x = 0; x < 384; x++, dst += nBurnBpp)
    {
        PutPix(dst, col);
    }
}
return;

best regards,

dinkc64 commented 1 year ago

@OldGamers hopefully that link I provided above was helpful with your project?

theneuropod commented 1 year ago

@dinkc64 Not OP but would it be possible to do this for other emulated systems? For example the Konami hardware that Aliens runs on? If you could point me in the right direction I'd appreciate it a lot.

dinkc64 commented 1 year ago

@theneuropod, sure - anything is possible. edit the konami aliens driver, find this: KonamiClearBitmaps(DrvPalette[0x0040]);

and insert this line above it: DrvPalette[0x0040] = BurnHighCol(0xff, 0x10, 0xf0, 0);

best regards,

theneuropod commented 1 year ago

@dinkc64 It worked! Thanks, you're a life saver.

dinkc64 commented 1 year ago

glad to hear! :)