Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Gradius on October 22, 2006, 07:15:34 am

Title: OK screens
Post by: Gradius on October 22, 2006, 07:15:34 am
Could anyone be so kind to tell me the way to remove all OK screens in the latest versions of MAME32? The old way of replacing a couple of lines in mame.c no longer works. It's for my personal use and I will not distribute my build. If you think this information should not be public, please send me a message to stormrider@alvarezeninternet.com. Thanx in advance.
Title: Re: OK screens
Post by: MartyNg on October 22, 2006, 09:21:12 am
Could anyone be so kind to tell me the way to remove all OK screens in the latest versions of MAME32? The old way of replacing a couple of lines in mame.c no longer works. It's for my personal use and I will not distribute my build. If you think this information should not be public, please send me a message to stormrider@alvarezeninternet.com. Thanx in advance.


I'm running MAME 106, and I dont' mind the disclaimer junk, but when I have parties and everyone's crowding around the machine, I always have people asking me if I can turn that off. I think I'd rather see a 5-minute disclaimer screen the first time I boot up the cabinet instead of having it every time a game starts up!

Title: Re: OK screens
Post by: SirPeale on October 22, 2006, 10:30:41 am
You can turn it off in mame.ini.

You'll always get game info the very first time you run a game, but it doesn't come back after that.
Title: Re: OK screens
Post by: Gradius on October 22, 2006, 12:29:07 pm
It must be this line in mame.c:

ui_display_startup_screens(!settingsloaded && !options.skip_disclaimer, !options.skip_warnings, !options.skip_gameinfo);

Unfortunatelly I have no idea of C, so I don't know how to edit it. If I remove the '!' I skip the OK screens but I have a screen showing the game information, which promts you to press the select key. It's a step forward, but not the real solution.
Title: Re: OK screens
Post by: Gradius on October 22, 2006, 12:35:51 pm
I GOT IT! This is the right line of code! -->

ui_display_startup_screens(!settingsloaded && options.skip_disclaimer, options.skip_warnings, !options.skip_gameinfo);
Title: Re: OK screens
Post by: headkaze on October 22, 2006, 01:31:21 pm
Yep, or add the following line above ui_display_startup_screens()

Code: [Select]
/* ensure we don't show the opening screens at start */
options.skip_disclaimer = options.skip_warnings = options.skip_gameinfo = TRUE;
Title: Re: OK screens
Post by: BamBam on October 23, 2006, 05:21:15 am
I am running the command line version of Mame 1.09.  Where could I go and do this for the warnings (100% video emulation....)

John
Title: Re: OK screens
Post by: berlincam86 on October 23, 2006, 07:20:53 pm
could you guys help me? Im running mame32fx 108. where do you put that command line i dont understand where you guys put it in C ? :dunno
Title: Re: OK screens
Post by: headkaze on October 23, 2006, 07:38:36 pm
You have to set up the MinGW compiler environment in order to compile mame. Check out Mr Do's Compiling Mame for Dummies (http://www.mameworld.net/mrdo/compile.html). Quite often it's as simple as getting the latest source for Mame, then over writing the Mame32 or Mame32FX source or whatever version you want to compile.''

You have to go into src\mame.c and add the following line before ui_display_startup_screens()

Code: [Select]
/* ensure we don't show the opening screens at start */
options.skip_disclaimer = options.skip_warnings = options.skip_gameinfo = TRUE;

Then you need to compile (make) the new version. Say you have a Pentium 4 and want to compile Mame32 with the UI then compile with:
Code: [Select]
mingw32-make.exe WINUI=1 P4=1 NAME=Mame32P4
Title: Re: OK screens
Post by: berlincam86 on October 23, 2006, 08:20:54 pm
Please im new at this i dont understand one bit of this could you possibly explain this step by step. Im sorry for the trouble. I got  the mingw file in my mame 32 file but i dont know what to do next.
Title: Re: OK screens
Post by: berlincam86 on October 23, 2006, 08:26:58 pm
ok I didnt read the rest of that page i will read that first then get back to you.
Title: Re: OK screens
Post by: berlincam86 on October 23, 2006, 09:11:37 pm
ok im a real dummy because i tried that and i dont know what i did wrong but i cant get it to work.
Title: Re: OK screens
Post by: Zeosstud on October 26, 2006, 11:12:57 am
If  your still stuck let me know, I will help you.

Zeosstud

butlerrodney@hotmail.com
Title: Re: OK screens
Post by: berlincam86 on October 26, 2006, 08:01:24 pm
I have added you to my msn messenger list I really need help with this.
Title: Re: OK screens
Post by: berlincam86 on November 04, 2006, 05:45:37 pm
Im still stuck please help!
Title: Re: OK screens
Post by: Spaz Monkey on November 05, 2006, 12:19:00 pm
So that people can help you out, tell us what you are doing and what error messages are being produced please.
Title: Re: OK screens
Post by: berlincam86 on November 05, 2006, 01:29:05 pm
Im trying to compile mame to remove the ok screens but i cant figure out how setup the mingw program.
Title: Re: OK screens
Post by: Zeosstud on November 07, 2006, 01:28:00 pm
I believe this problem had been taken care of.  Not to worry.

Zeosstud
Title: Re: OK screens
Post by: berlincam86 on November 07, 2006, 06:28:21 pm
Yes i have got it thank you.
Title: Re: OK screens
Post by: Buddabing on November 07, 2006, 06:42:58 pm
Just put two buttons on the edge of the control panel, label one "O" and the other one "K". What's the problem?

Title: Re: OK screens
Post by: berlincam86 on November 07, 2006, 07:05:44 pm
just didnt want to push any buttons.besides start that is.
Title: Re: OK screens
Post by: trcroyle on November 10, 2006, 06:29:49 pm
Just put two buttons on the edge of the control panel, label one "O" and the other one "K". What's the problem?



Happ is all out of "K" buttons and ponyboy won't answer my PMs!
Title: Re: OK screens
Post by: AlanS17 on November 11, 2006, 07:55:57 pm
Just put two buttons on the edge of the control panel, label one "O" and the other one "K". What's the problem?


I mounted mine inside the coin door.
Title: Re: OK screens
Post by: FrizzleFried on November 12, 2006, 01:28:44 pm
How friggin' hard is it to move a joystick back and forth?   

(that coming from a guy who remapped his EXIT from P1-A to a single button...same with credits for P1 & P2)...

Title: Re: OK screens
Post by: berlincam86 on November 12, 2006, 07:18:14 pm
with a cabinet that only has a lightgun its pretty hard.
Title: Re: OK screens
Post by: diverdown on November 12, 2006, 10:21:28 pm
with a cabinet that only has a lightgun its pretty hard.
lol

try wiggling the gun
Title: Re: OK screens
Post by: berlincam86 on November 13, 2006, 07:56:35 am
lol yea maybe that will work.
Title: Re: OK screens
Post by: u_rebelscum on November 13, 2006, 03:56:38 pm
lol yea maybe that will work.

It will if you remap the lightgun to (also) "UI right" and "UI left".