Here are the source code changes to remove initial screens!


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]

Posted by ShamanRa on 26, 2000 at 4:19 AM:

Reposted from my original post at the PC2Jamma boards, just in case anyone over here needs this info...

----------------------

Well, I said I would offer the source code edits to get rid of the "Press OK..." screen and the copyright screen so here they are. You'll be underwhelmed with how simple this really is. Hopefully the MAME team doesn't mind this since I'm not actually distributing a binary, but just examining the source code....

Anyway, edit the file "mame.c" in the directory where you unzipped the MAME source. Look for the following line of code...

if (showcopyright()) goto userquit;

...and comment it out like so...

//if (showcopyright()) goto userquit;

Then look for the following "if" statement about three lines after that one...

if (showgamewarnings() == 0)
{
...
}

... but note that the "..." is not actually there, but there is some code in there instead. Comment out the surrounding "if" like so...

//if (showgamewarnings() == 0)
//{
...
//}

Then recompile, and there ya go. Hope this helps someone.

ShamanRa





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]