Jump to content
LaunchBox Community Forums

Eliminating startup screens in mame


straightman

Recommended Posts

This applies to many mame title which after selecting play in LB have the following observed sequence of events:

1- Loading percent box is displayed which lasts for several seconds

2 - A rectangular message box from mame is displayed to tell if there are any limitations with the game (inaccurate sound or graphics for example) which requires a keypress to get through

3 - A screen of boilerplate text is displayed which disappears after several seconds without keypress

4 - Game screen is displayed asking for coin load

Question: How can steps 1 thru 3 be eliminated resulting in the first displayed screen being that described in step 4?

Link to comment
Share on other sites

1 minute ago, straightman said:

Referencing my original post in this thread,  are there any steps that can be leveraged to do what I ask? Everything is working well enough so I would prefer if there are configuration techniques to resolve things.

As @Retro808 said, no, there are no steps other than a no-nag build like he said. Official MAME will always have those screens, hence why a specific build needs to be made, using the MAME source code that removes them.

Link to comment
Share on other sites

1 minute ago, straightman said:

Referencing my original post in this thread,  are there any steps that can be leveraged to do what I ask? Everything is working well enough so I would prefer if there are configuration techniques to resolve things.

MAME cannot be configured to NEVER display those. You can make a setting in the INI so you only see imperfect warnings once per game, but there is no way to always turn them off. They are hardcoded in the emulator to do that which is why to completely eliminate them you need a recompiled build that has that code removed or commented out (like the one provided by MadK9). You can also adjust the timer and number of key presses in your MAME Running Script to make the script work more accurately on your set up so you don't have to wait as long for the script to close those windows. For me 5 seconds was far better than the 10 we had defaulted, but that length of time can vary based on your computer and settings.

Link to comment
Share on other sites

5 minutes ago, straightman said:

Referencing my original post in this thread,  are there any steps that can be leveraged to do what I ask? Everything is working well enough so I would prefer if there are configuration techniques to resolve things.

Yes, exactly what I posted. What you are seeing is built into Mame. Only way to remove it is a No-Nag version.

A quick Google for "0.232 Mame No Nag" found we still have a compiled 232 version on the forum.

 

Link to comment
Share on other sites

42 minutes ago, C-Beats said:

MAME cannot be configured to NEVER display those. You can make a setting in the INI so you only see imperfect warnings once per game, but there is no way to always turn them off. They are hardcoded in the emulator to do that which is why to completely eliminate them you need a recompiled build that has that code removed or commented out (like the one provided by MadK9). You can also adjust the timer and number of key presses in your MAME Running Script to make the script work more accurately on your set up so you don't have to wait as long for the script to close those windows. For me 5 seconds was far better than the 10 we had defaulted, but that length of time can vary based on your computer and settings.

Thanks guys, this worked as described eliminating what I described in steps 1 and 2 of the originating post. I am interested to understand more how to control time delay to eliminate step 3, I see this script in the Emulator details screen under "Running Scripts" (LB V12.7 full version) the system must have pasted this in during setup:


SetKeyDelay, 0, 50
return
sleep 10000 ; Wait 10 seconds before pressing the key.
Send, {space 3}  ; Press the space bar 3 times to ensure we close all screens

 

If not this script then I see possible options under "Startup Screen" with a Startup Load Delay slider set currently to 8s. The information that I would like to eliminate from display comes on between 4 and 7 sec. I would have thought if any of these control configuration settings where working it would have eliminated the content from display since the autohotkey has a 10s value and the slider in startup has a setting of 8s

Link to comment
Share on other sites

That the script I'm referring to. The sleep line needs changed to control the delay. That "10000" value is the delay time in milliseconds. To reduce the wait time simply use a smaller number, to increase use a larger number. For example 5 seconds would be 5000 ms so you'd use 5000 as the new value.

Link to comment
Share on other sites

Currently the time delay is set to 10s which is greater than the time during which the issue is displayed which is between 4 and 7. Based on that I would have expected the screen to be blanked out. Is it possible the autohotkey script is not working? Is there a need to install anything from the autohotkey website first or is everything setup for it in LB?

Link to comment
Share on other sites

To test it I set the configuration to 30000 (30s) and it did not change the system response.  Out of interest I tried running both from LB and BB with the same outcome. Is it possible to use a masking technique?, where a plain black screen image is displayed in front of the emulator output and then the black overlay is closed after a number of seconds?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...