Is it possible to disable in-game warnings?

General discussion on MAME, MARP, or whatever else that doesn't belong in any of the other forums

Moderators: mahlemiut, seymour, QRS

Post Reply
landshark9
Button Masher
Button Masher
Posts: 26
Joined: Tue Apr 05, 2005 4:33 pm

Is it possible to disable in-game warnings?

Post by landshark9 »

Somewhere in the late .80's or early .90's of mame versions, Strikers 1999 started popping up an unknown layer ID error in level 8 during the last boss fight.

This makes the fight alot more difficult as you can barely see your ship.

Does anyone know a way to disable these warning windows?
User avatar
mahlemiut
Editor
Posts: 4191
Joined: Mon Feb 04, 2002 10:05 pm
Location: New Zealand
Contact:

Post by mahlemiut »

If you have the source, you could comment it out if you want. Although, to be honest, I haven't noticed these messages before. Or, if they don't appear in the latest version (0.101) then use that.
- Barry Rodewald
MARP Assistant Web Maintainer
Image
User avatar
Weehawk
MARPaholic
MARPaholic
Posts: 2562
Joined: Wed Jun 25, 2003 7:43 am
Location: Devil's Canyon
Contact:

Post by Weehawk »

Happens on 1-8 and 2-8 in .100

And no guys in trenchcoats.

:cry:
John Cunningham (JTC)
Image
landshark9
Button Masher
Button Masher
Posts: 26
Joined: Tue Apr 05, 2005 4:33 pm

Post by landshark9 »

I confirmed that it happens in 101 as well. It's only during the last boss fight.
User avatar
Weehawk
MARPaholic
MARPaholic
Posts: 2562
Joined: Wed Jun 25, 2003 7:43 am
Location: Devil's Canyon
Contact:

Post by Weehawk »

From psikyosh.c:

Code: Select all

	/* 1st-3rd layers */
	for(i=0; i<3; i++)
	{
		if ( !BG_LAYER_ENABLE(i) )
			continue;

		switch(BG_TYPE(i))
		{
			case BG_NORMAL:
				if(((psikyosh_bgram[0x17f0/4 + (i*0x04)/4] & 0xff000000) >> 24) == req_pri)
					psikyosh_drawbglayer(i, bitmap, cliprect);
				break;
			case BG_NORMAL_ALT:
				if(((psikyosh_bgram[0x1ff0/4 + (i*0x04)/4] & 0xff000000) >> 24) == req_pri)
					psikyosh_drawbglayer(i, bitmap, cliprect);
				break;
			case BG_SCROLL_0C: // Using normal for now
			case BG_SCROLL_0D: // Using normal for now
				if(((psikyosh_bgram[(BG_TYPE(i)*0x800)/4 + 0x400/4 - 0x4000/4] & 0xff000000) >> 24) == req_pri)
					psikyosh_drawbglayertext(i, bitmap, cliprect);
				break;
			case BG_SCROLL_ZOOM:
			/* 0x10 - 0x1f */
			case 0x10: case 0x11: case 0x12: case 0x13:
			case 0x14: case 0x15: case 0x16: case 0x17:
			case 0x18: case 0x19: case 0x1a: case 0x1b:
			case 0x1c: case 0x1d: case 0x1e: case 0x1f:
				if(((psikyosh_bgram[(BG_TYPE(i)*0x800)/4 + 0x400/4 - 0x4000/4] & 0xff000000) >> 24) == req_pri)
					psikyosh_drawbglayerscroll(i, bitmap, cliprect);
				break;
			default:
				ui_popup	("Unknown layer type %02x", BG_TYPE(i));
		}
	}
}
I think that's where it's coming from. If you can compile your own source, it should be easy to change.

The only thing I can see that you could alter in your settings to help is to change ui_transparency from 160 (the default) to 0. The text will still be in the way, but the background will be completely transparent. Might help a little.
John Cunningham (JTC)
Image
landshark9
Button Masher
Button Masher
Posts: 26
Joined: Tue Apr 05, 2005 4:33 pm

Post by landshark9 »

I didn't even think of the transparency thing. I'll give that a try first. The text shouldn't be a problem, it's the opaque box covering my ship ;)

If that doesn't work, maybe I'll stub out ui_popup() and see how other games react (not sure what ui_popup() is used for as I've never looked into the mame source).

Thanks for your help.

Edit: transparency works good enough, thanks. Submitted my first recording.
User avatar
TRB_MetroidTeam
MARPaholic
MARPaholic
Posts: 1055
Joined: Fri Oct 22, 2004 4:50 am
Location: PR - Brazil

Post by TRB_MetroidTeam »

landshark9 wrote:Submitted my first recording.
A nice one! Congratulations!
Valter "TRB" - The Real Battle
Metroid Team, from Brazil
Crazy Taxi and Crazy Taxi 2 world champions
Post Reply