Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MAME Questions  (Read 12497 times)

0 Members and 1 Guest are viewing this topic.

arcadeattic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:December 16, 2005, 08:03:28 pm
  • I've been MAMEed!!
MAME Questions
« on: May 02, 2005, 01:14:00 pm »
I'm building my fist MAME machine and I'm testing the MAME end of things on my computer before I add them to my cab. So far I have MAME installed and checking out different Frontends to see what the best choice for my box will be. Here is my dumb questions... When you start a ROM you are presented with one and most times two screens, one is a warning that you have to press "Enter" to continue and the other is a screen that you have to type "O K" after this the game will begin test mode and become playable. Well I was wondering how this allplays out once you ditch the Keyboard. What are most of you doing??? Do you have an arcade button connected to the "Enter" and "O" and "K" keys or does the frontend enter this information for you? Or are you forced to break out the key board every time you want to switch between games? Thanks in advanced for all your help on my dumb questions...
« Last Edit: May 02, 2005, 07:31:07 pm by arcadeattic »

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Dumb Questions
« Reply #1 on: May 02, 2005, 02:55:00 pm »
You can remove these screen by running MAME using parameters or Ini File.

ex :  mame pacman -skip_disclaimer -skip_gameinfo   

will start pacman directly on the game.

If you use a  ultimarc'sJPAC or IPAC in your arcade cabinet, you can "type" ok  , by moving your stick to left then right (or the contrary i'm not sure).. but it works by moving the joystick. You can simulate the return key and the tab key too by combining Joystick move and button.

If you are looking for a nice , easy and powerfull multi-emulator frontend , you can Try mine : AtomicFe

http:\\www.atomicfe.com


tommy

  • Guest
  • Trade Count: (0)
Re: Dumb Questions
« Reply #2 on: May 02, 2005, 03:27:57 pm »
You can dissable ever having to type ok or enter in the mame32 options/interface options.

monkeybomb

  • PM me to find out how to get a custom title like mine!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1236
  • Last login:January 03, 2018, 07:16:29 pm
Re: Dumb Questions
« Reply #3 on: May 02, 2005, 03:59:21 pm »
I'm tiered of these kinds of "dumb questions".  If you call your thread "dumb questions"  Consider the following:

What happens if I press alt + f4?

If I look at the sun will I go blind?

I thought a man was good looking, am I gay?

If I get in the rain will I get wet?

How do you spell ISO?



screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Re: Dumb Questions
« Reply #4 on: May 02, 2005, 04:48:33 pm »
I think by "dumb questions" he meant "questions that have been asked 1,000,000 times".  At least, that's how I interpreted it.

-sab

monkeybomb

  • PM me to find out how to get a custom title like mine!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1236
  • Last login:January 03, 2018, 07:16:29 pm
Re: Dumb Questions
« Reply #5 on: May 02, 2005, 05:06:24 pm »
I think by "dumb questions" he meant "questions that have been asked 1,000,000 times".  At least, that's how I interpreted it.

-sab
Thanks I have a hard time with the obvious. ::)

arcadeattic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:December 16, 2005, 08:03:28 pm
  • I've been MAMEed!!
Re: MAME Questions
« Reply #6 on: May 02, 2005, 05:34:28 pm »
Thank you youki I will in download your frontend and check it out. and the I will attempt the modifications of the .ini file. As for the "Dumb Question" I only say it is a dumb question because the 10s of thousands of you that have already installed MAME on a computer and connected it to arcade controls would already know the answer. And yes monkeybomb that is exactly what I ment...
« Last Edit: May 02, 2005, 07:31:34 pm by arcadeattic »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:Today at 02:45:49 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Dumb Questions
« Reply #7 on: May 02, 2005, 06:37:34 pm »
If you know the question is "dumb" then you know that the answer is either obvious, or already answered elsewhere.  So why waste our time with it?

Ask a stupid question..... get a stupid answer

GGKoul

  • Cheesecake Apprentice
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4707
  • Last login:May 26, 2024, 02:06:23 am
  • I was once a big man!! -4700 posts later...
Re: Dumb Questions
« Reply #8 on: May 02, 2005, 07:25:10 pm »
If you know the question is "dumb" then you know that the answer is either obvious, or already answered elsewhere.  So why waste our time with it?

Ask a stupid question..... get a stupid answer

Welcome Back Howard! 8)

You could wiggle the joystick left and right to get pass the O - K screen

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re: MAME Questions
« Reply #9 on: May 03, 2005, 07:46:02 am »
Alright, this is a question that gets asked often, but the answers are not obvious -

What I propose is: I will try to give a definitive answer, and then hopefully one of the mods can change the thread title and STICKY this.

First off, there are four situations that this occurs.

When you launch a game for the first time, a message comes up about not playing games you aren't entitled to.  This is called the disclaimer.  I believe you have to type OK to bypass this (not wiggle the joystick), but you only have to do it the first time the game is played.  And I think it can also be bypassed by adding an empty file named <romname>.ini to your C:\MAME\ini folder.  For MAME 0.63 and later, you can bypass this by setting skip_disclaimer to 1 in your mame.ini file.

The next is called the game_info screen and comes up with information about the resolution and processors that the game used and can be bypassed by moving the joystick left then right.  For MAME 0.63 and later, you can bypass this by setting skip_gameinfo to 1 in your mame.ini file.

The third is usually called the game_warnings screen and comes up with a message like "This game has known problems:  Screen flipping in cocktail mode is not supported.  Press OK to continue. "  You can wiggle the joystick to bypass this screen.

The last screen is called the BadDumps screen and comes up (in the DOS box) with a message like "Rom XXXYz is missing, XXYE is best available.  The game may not work correctly.  Press any key to continue."

The last two screens can be skipped by similar settings (-skip_warnings) in the .ini file of NoNameMAME or BuddaMame.

For MAME 0.79 thru 0.99u2, the last two screens may also be bypassed by either sending "-ftr 1" after the game name, or by adding "Frames to Run 1" to either the mame.ini file or the individual gamename.ini file.  (Thanks to Howard Casto for discovering this).

Also, any of the screens can be bypassed by changing the source code and recompiling MAME.

The following info is from my personal updated FAQ page:

How do I get rid of the blasted "Click OK to continue?" screens

Three ways:  The simplest is to just move your joystick right or left.  NOTE:  MAME is actually looking for "O" followed by "K", "Analog Joystick X-" followed by "Analog Joystick X+", or "UI LEFT" followed by "UI RIGHT"   Therefore, if you are using a keyboard hack and your joystick is mapped to "A" for Left and "D" for Right, you need to remap the UI LEFT and UI RIGHT keys in MAME to "A" and "D" for this method to work.

For DOS MAME, the ArcadeOS front-end has an option to automatically bypass the OK screens, or

You can recompile the MAME source and then the screens will never even show up.  Here's how to do it:  Get and apply the patch files from SirPoonga's site, or follow the changes below.  SirPoonga's files give you a mame.ini file setting to turn the screens on and off, my changes just eliminate the screens permanently.

To compile your own without nag screens, follow these changes stolen from the Mameworld compile board:

For MAME 0.60 and previous (line numbers may be different):
Open up mame.c and edit line 1195: if (settingsloaded == 0) and change it to: if (0).
In line 1202: if (showgamewarnings(real_scrbitmap) == 0) change it to: if (1).

For MAME 0.61 and 0.63 (line numbers may be different):
Open up mame.c and edit line 502 -> if (settingsloaded || showcopyright(artwork_get_ui_bitmap()) == 0) I change it to if (1)
In line 505 -> if (showgamewarnings(artwork_get_ui_bitmap()) == 0) I change it to if (1)

For MAME 0.63 and later, you can skip the initial startup screen and the game settings screen through the mame.ini file.  Be sure to save any previous ones and run "mame.exe -cc".  However, you still get the "Screen flipping is not supported in cocktail mode, The colors are wrong", etc. messages.  A fix that I devised to avoid this is as follows:

Open mame.c and around line 505 you will see the following code:

/* show info about incorrect behaviour (wrong colors etc.) */
if (showgamewarnings(artwork_get_ui_bitmap()) == 0)

Change the second line to > if (options.skip_gameinfo || showgamewarnings(artwork_get_ui_bitmap()) == 0)

With this change, if skip gameinfo is enabled in mame.ini, you will not see any incorrect emulation warnings or startup screens.  If this setting is disabled, you will see both the game warnings and the game info screens.

***

In my custom compile, I also remove the "Bad or missing rom, Press any Key" screens as follows: (Data provided by Ciro of Emuloader) (Some of the code has changed since he sent this, but you should still be able to figure it out.

"I discover where you can avoid that message (not only "No Good Dump Known", but "bad CRC" and "bad Size" as well).

Follow these steps:

1. Make a backup copy of the file "mame\src\common.c"

2. Open the file "mame\src\common.c"

3. Go to the line 880 (not sure if this is the exact line) You will see this function:

......
/*-------------------------------------------------
display_rom_load_results - display the final
results of ROM loading
-------------------------------------------------*/

static int display_rom_load_results(struct rom_load_data *romdata)
......

4. Comment this "IF" sequence (everything, including the " } " character on the end of it)
The commentary characters are:
- to open the commentary use : " /* " (without the quotes)
- to close the commentary use: " */ " (without the quotes)

...........................
/* if we're not getting out of here, wait for a keypress */
if (!options.gui_host && !bailing)
{
int k;

/* loop until we get one */
printf ("Press any key to continue\n");
do
{
k = code_read_async();
}
while (k == CODE_NONE || k == KEYCODE_LCONTROL);

/* bail on a control + C */
if (keyboard_pressed(KEYCODE_LCONTROL) && keyboard_pressed(KEYCODE_C))
return 1;
}
............................

5. Delete these two commented lines from the "IF" statement or the compiler will generate an error...

/* loop until we get one */

/* bail on a control + C */

6. Save the file and re-compile MAME...   That's it!!!

PS: Always keep the .o (object files). If you change only one file, you will not need to wait for all the compilation to be over...

In the compilation folder, just delete the file "common.o" from "mame.obj" folder (this folder can be different for other types of compilation, mine is "mameppro.obj" because I use the Pentium optimized compilation) so it will recompile only the "common.c" file and you will not need to wait too long... "

***

NOTE:  If you build a custom compile, I recommend keeping a copy of the original version (with the nag screens) around also.   The original version includes the screen sizing routine and the warning screens might tell you something is broken and keep you from looking like an idiot on MAMETesters.




« Last Edit: August 22, 2005, 02:10:36 pm by Tiger-Heli »
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

tore-

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 60
  • Last login:June 11, 2014, 06:18:33 am
  • I want to build my own arcade controls!
Re: MAME Questions
« Reply #10 on: April 23, 2006, 04:32:27 pm »
Maybe this should be updated so that it is up2date with latest source?

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7959
  • Last login:Yesterday at 05:37:37 pm
Re: MAME Questions
« Reply #11 on: December 22, 2006, 09:24:16 am »
Tagged for later.

Xris

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:June 21, 2014, 08:22:43 am
Re: MAME Questions
« Reply #12 on: December 03, 2009, 02:08:44 am »
People come here for help. Some people have better things to do then to figure out "mame" problems or post on an arcade forum all day to rack up stars. Just help the guy! Some people arent as "cool" as you guys who think people should already know this stuff. We can do without the sarcasm.



Thanks to Tiger-Heli who actually gets it and took the time to answer.


headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: MAME Questions
« Reply #13 on: December 03, 2009, 05:44:59 am »
Um.. you just bumped a 3 year old thread  :dizzy:

Ginsu Victim

  • Yeah, owning a MAME cab only leads to owning real ones. MAME just isn't good enough. It's a gateway drug.
  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10092
  • Last login:June 28, 2025, 10:45:55 pm
  • Comanche, OK -- USA
Re: MAME Questions
« Reply #14 on: December 03, 2009, 10:15:53 am »
Some people arent as "cool" as you guys who think people should already know this stuff.

We're cool enough to understand 2005 vs 2009. If this thread were a sports game, it would be in the $1.99 bin.
« Last Edit: December 03, 2009, 03:48:28 pm by Ginsu Victim »

Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: MAME Questions
« Reply #15 on: December 03, 2009, 10:47:44 am »
Technically, isn't it a 2005 thread?

This time, I am really not trying to stir things up.  I think since the OP and answers (for the most part) were in May 2005, that the other posts at the end don't cause it to be a 2006 thread.   ???

Yep, I'm bored.   ;D

opt2not

  • Trade Count: (+15)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6173
  • Last login:April 02, 2024, 07:42:30 pm
Re: MAME Questions
« Reply #16 on: December 03, 2009, 02:11:09 pm »
I just went back in time! Damn, I should have bought stocks!   ;D