Skip to content

misc/crystal.cpp: The Crystal of Kings some white graphics become black #11161

@ghost

Description

MAME version

0.254 - 0.255

System information

Windows 10 Home, 64-bit, version 22H2, USA, US English
Installed RAM 8.00 GB
AMD A6-5200 APU with Radeon(TM) HD Graphics 2.00 GHz

INI configuration details

mame -cc

Emulated system/software

crysking

Incorrect behaviour

Some of the white graphics appear black when rendering in bgfx mode. Looks like bad alpha blending. The text in the intro scenes will correct itself during a fade out sometimes.

Setting the bgfx chains to "none" fixes it I think. I can't go far enough into the game at the slow speed it renders. I don't remember this game being this slow before, because I have played it on this very machine before.

Expected behaviour

Correct colors on graphics

Steps to reproduce

  1. run mame crysking -video bgfx -bgfx_backend d3d11 or mame crysking -video bgfx -bgfx_backend d3d12 or mame crysking -video bgfx -bgfx_backend opengl or mame crysking -video bgfx -bgfx_backend vulkan
  2. observe the text and scenes where colors should be brightest white are black

Additional details

This is not a new problem but I decided to pull the finger out after a post on reddit just a few hours ago by another user reporting this: https://www.reddit.com/r/MAME/comments/130ch29/bgfx_issues_with_the_crystal_of_kings_crysking/

I think this has been an issue since September of last year? I have an old ini file I made just for this game and that's when it was created. At some point running this in a window actually crashed mame but I didn't mark the version, I just made a comment in the file about it.

labelled comparisons:
1
2

Now if you set the bgfx chains to "none" the problem goes away. Seems like a good clue:
bgfx none

If someone with a good pc can look at this more I'd greatly appreciate it. I'll have to try to remember what settings I used to get this one full speed again if that's even possible any more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions