MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9711
Loc: ECV-197 The Orville
Send PM
Re: Disable sprite and background layers
05/25/13 02:41 AM


> Unlike in an NES emulator where you can just map an RGB value to each of the 64
> colors in the palette. Which is actually manually doable. But I doubt this was done
> in a game with 16 bit graphics.

(Fair warning I don't know the specific details of CPS-1 and I haven't bothered to check before writing this, but I'm confident it works how I say here)

Actually, 16 bit systems all work pretty much identically to the NES. Except when you set one of the 64 (256 on SNES) palette entries it's not a reference to a color predefined by the hardware, it's the actual RGB values of the color.

Since the sprites and tiles are still 4 or 16 colors each in most cases, there's an additional attribute that says where in the palette the 4 or 16 colors to use are located.

> yeah, the individual sprites are processed in cps1.c, line so and so. If you insert
> an if-else-condition with the indices of all the sprites that you don't want to show,
> they can be made invisible." Or something like that.

For the record, this is the specific part where I stopped feeling sorry for you and decided you wanted us to do your homework. If you can throw around terminology that specific, either you're capable of finding where to do it yourself, or you don't know anything and got once-in-a-lifetime lucky on word choice.

> And no, I don't have any interest in asking the MUGEN community. I'm not looking for
> individual sprite or background sheets.

The MUGEN community creates those sprite sheets with emulators that have layer disables where possible (often hacked versions of MAME), and with manual cutting-out where it's not (e.g. Mortal Kombat, which has no hardware layers). That community was already well up and running when the object test was discovered. Thus, it was exactly the right place to send you, as you have the same goals as them and they've already invented all the necessary wheels.







Entire thread
Subject Posted by Posted on
* Disable sprite and background layers DaRayu 05/24/13 11:09 PM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/24/13 11:26 PM
. * Re: Disable sprite and background layers DaRayu  05/25/13 12:20 AM
. * Re: Disable sprite and background layers R. Belmont  05/25/13 02:41 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 03:35 AM
. * Re: Disable sprite and background layers Anonymous  05/25/13 11:52 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 12:11 PM
. * Re: Disable sprite and background layers Anonymous  05/25/13 05:17 PM
. * Re: Disable sprite and background layers Tomu Breidah  05/25/13 04:10 PM
. * Re: Disable sprite and background layers DaRayu  05/25/13 07:21 PM
. * Re: Disable sprite and background layers Anonymous  05/27/13 02:46 AM
. * Re: Disable sprite and background layers DaRayu  05/27/13 08:37 AM
. * Re: Disable sprite and background layers BIOS-D  05/27/13 10:03 PM
. * Re: Disable sprite and background layers Anonymous  05/27/13 01:32 PM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/25/13 12:37 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 01:15 AM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/25/13 01:18 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 01:31 AM
. * Re: Disable sprite and background layers BIOS-D  05/25/13 01:47 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 02:04 AM
. * Re: Disable sprite and background layers BIOS-D  05/25/13 02:22 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 03:37 AM
. * Re: Disable sprite and background layers Vas Crabb  05/25/13 06:25 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 11:52 AM
. * Re: Disable sprite and background layers Matty_  05/27/13 03:43 AM
. * Re: Disable sprite and background layers BIOS-D  05/25/13 09:33 AM
. * Re: Disable sprite and background layers Tomu Breidah  05/25/13 09:52 AM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/25/13 01:33 AM
. * Re: Disable sprite and background layers DaRayu  05/25/13 01:49 AM
. * Re: Disable sprite and background layers SmitdoggAdministrator  05/25/13 01:55 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 14 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 10098