The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: IndyJones1023 on December 26, 2002, 10:28:32 am

Title: Any recompliers in here? Need to circumvent OK
Post by: IndyJones1023 on December 26, 2002, 10:28:32 am
I heard there is a way to recomplie MAME so you can avoid the Press OK thing. And yes, I know you can wiggle the joystick, but I would really like to avoid even doing that. I am building a cab (already ordered a SlikStik) and want it to be as hassle free as possible for my kids. So, anyone out there with the computer skills to alter MAME, recompile, and email it to me? Pretty please?  ;D
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: JLR2000 on December 26, 2002, 12:01:51 pm
Indy -

Recompiling is not that hard, but it does take some time to setup.  I'm not a programmer but I have recompiled the Mame source many times. Here's a good link:

http://www.fraggersxtreme.com/arcadepanels/faq.htm#How%20do%20I%20get%20rid%20of%20the%20blasted%20"Click%20Ok%20to%20continue?"%20screens (http://www.fraggersxtreme.com/arcadepanels/faq.htm#How%20do%20I%20get%20rid%20of%20the%20blasted%20"Click%20Ok%20to%20continue?"%20screens)

First, got to Mame.net for the how-to on setting up the compile environment.  Set some time aside to do this, it's not hard, but you need to follow the instructions and download what you don't have.  Set up and compile UNCHANGED mame source.  If you are successful, you are ready to make the two line changes you are looking for.  If not, you need to recheck your setup.

Trust me, it's not as hard as building your own cab, and it is valuable knowledge to have.  Recompiling and distributing is a no-no to the Mame Dev team and I don't want to bite the hand that feeds me... ;D

What I can do is volunteer to help you out if you get stuck.  Like I said, I'm not a programmer, and I'm only familiar with WinMame or Dos Mame, not Advancemame or Mame32.  If you run into trouble, PM me and I'll give you my email so I can try to help you out.

I'd rather teach a man to fish......

Good Luck.
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: IndyJones1023 on December 26, 2002, 12:23:00 pm
OK, since I've been out of the scene and you seem familiar with the nuances - what is the difference now between WinMAME and MAME32? Also, you said a two-line change, is there somewhere that illustrates which two lines and what the change needs to be?
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: JLR2000 on December 26, 2002, 12:28:22 pm
WinMame is compiled in windows. Dos Mame is compiled in dos.  Mame32 is mame with it's own built in frontend gui.  Both WinMame and DosMame are command line versions, which most people use with their frontend of choice.  Does that make sense....I hope I'm explaining this okay....

The link I provided above is to a FAQ, read the one "How do I get rid of the blasted "Click OK to continue?" screens".  It gives links to how to setup, and it outlines the exact changes to the source file mame.c.
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: StephenH on December 30, 2002, 03:34:41 am
A simpler idea:

If you run each game ONCE, it will no longer require pressing OK.

Title: Re:Any recompliers in here? Need to circumvent OK
Post by: SirPoonga on December 30, 2002, 04:37:26 pm
A simpler idea:

If you run each game ONCE, it will no longer require pressing OK.



not nessessarily.
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: Howard_Casto on December 30, 2002, 11:24:26 pm
A simpler idea:

If you run each game ONCE, it will no longer require pressing OK.




not nessessarily.

Agreed... DEFINATELY not true.  As a matter of fact 90% of the games require you to press ok for one reason or another.  Now several of the classics don't but I think every newly added game requires you to.  
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: m3talslug on December 31, 2002, 07:44:14 pm
Does anyone have a DOS or Windows build of MAME with MC-Escher's code for rotary games precompiled?  <-- or know where I could get it?

Rotary games designed for the "click type" rotary joysticks just don't feel the same the way MAME handles the controls.
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: Lilwolf on January 02, 2003, 11:19:11 am
btw, go to easyemu (I think) or the main mame site.  There are links for a single file to download that will allow you to compile.  After the download its AMAZINGLY easy compaired to what it used to be.

1st time I compiled the dos.  Took me about 4 hours to get the first exe file.

1st time to compile the windows version.  5 minutes after download.

Title: Re:Any recompliers in here? Need to circumvent OK
Post by: Luxury on February 24, 2003, 02:32:17 am
btw, go to easyemu (I think) or the main mame site.  There are links for a single file to download that will allow you to compile.  After the download its AMAZINGLY easy compaired to what it used to be.

are you talking about MinGW 2.0.0 which is on the mame.net site?  ive downloaded it and looked at it and realized that i am in way over my head.  am i a programmer?  haha....HELL NO!  but im willing to fake being one to get howards emusaver to work without all of the warning "ok" screens.   :'(
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: Homebrew on February 24, 2003, 08:11:31 am
Its really not hard at all to recompile.  Just follow the compiling instructions on mame.net and the use that link JLR2000 posted to find out how to remove the ok screens.  Believe me its not that hard.  I was intimidated myself at first, but if you've used a command prompt at all before, then this is a piece of cake.  Even if you haven't, its still not hard.  In my opinion, the hardest part was locating the lines in the mame.c file to modify(see JLR2000's link to understand what i'm refering to).

-Kevin
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: Dr. J on February 24, 2003, 12:46:46 pm
 You can easily get rid of the most common OK screens and Press Any Key screens, but not the OK screens for games that aren't complete or have errors still, by setting some options in Mame.  Since .63 or .64 came out you can set an option in the .ini so that these don't pop up.  It's under "Mame Core Misc Options" next to "Skip_gameinfo" and "Skip_disclaimer."  As for those that pop up because games are incomplete or have errors, I guess recompiling is the way to go.
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: Magnet_Eye on February 24, 2003, 05:10:08 pm
Yes, like Dr J said: put this in your mame.ini file:

skip_disclaimer         1
skip_gameinfo           1

all gone, minus roms with errors.  :-X

-M
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: mcleanjoel on February 24, 2003, 06:17:36 pm
Is there a way to do this with MAME32?
Title: Re:Any recompliers in here? Need to circumvent OK
Post by: Dr. J on February 24, 2003, 06:30:50 pm
Is there a way to do this with MAME32?

Even easier.  Click on "options" and "interface options."  V0.63 or later.  You can turn off the disclaimer and gameinfo from there.