Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: kelroy on March 26, 2007, 08:40:40 pm

Title: eliminate mame initial warning nag screen come if interested
Post by: kelroy on March 26, 2007, 08:40:40 pm
here is the script crude but works if there is any problems let me know i am still working out the bugs. this script was written in AutoIt v3 instructions on how to use are in the readme.txt

Source:
AutoItSetOption("WinTitleMatchMode", 1)
$i = 0
Do
WinWaitClose("Mame")
$x=0

WinWaitActive("Mame")
if $x=0 then
send("ok")
endif
$x=1
Until $i = 1

Title: Re: eliminate mame initial warning nag screen come if interested
Post by: Apollo on March 26, 2007, 08:43:28 pm
Oh man the FBI are going to get you now!
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: Havok on March 26, 2007, 11:38:46 pm
Or you can recompile Mame...

http://forum.arcadecontrols.com/index.php?topic=64298.0 (http://forum.arcadecontrols.com/index.php?topic=64298.0)

However, I would be interested in how your script works?
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: kelroy on March 27, 2007, 01:14:00 am
it acctually does not eliminate anything you jsut execute it on computer startup and when it finds mame.exe in the memory it quickly sends the keystrokes "ok" to it so the screen is still there it is just flashing so fast you cant see it
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: dmckean on March 27, 2007, 05:21:07 am
Recompiling sounds scary at first but it's actually easier and a lot cleaner.
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: AE35 on March 27, 2007, 06:06:17 am

Did anyone try the Kelroy-script yet?? If it's a quick easy fix, I'll use it.

Thanks,

Nicholas
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: acevedor2 on March 27, 2007, 11:45:30 am
So if you recompile to .113u2 (no nag), do you have to recompile to .113u1 first and then again to .113u2 or can you just go straight to u2?
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: Extreme8 on March 27, 2007, 12:38:08 pm
You need to apply the diff files in order, but you don't need to recompile each time you apply a diff.

example:
apply .113u1.diff
apply .113u2.diff
apply .113u2 no nag fix

Compile.
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: acevedor2 on March 27, 2007, 12:43:52 pm
Thanks!
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: kelroy on March 27, 2007, 01:29:24 pm
let me know if it works
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: squirrellydw on March 27, 2007, 03:25:55 pm
anyone wanna recompile mame/mame32 113 for me?   I would be one than happy to host the file for anyone to use in the future.

EDIT-- I someone wants to compile the versions of mame I will host them all, just an idea.
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: (+_+) on March 27, 2007, 03:31:35 pm
Aren't there some params you can set in the mame.ini file to get around this such as

skip_gameinfo             1

I'm using .107 and it goes directly into the game without nagging me. I think it is the above param that is causing this but I'm not 100% sure.

Title: Re: eliminate mame initial warning nag screen come if interested
Post by: kelroy on March 27, 2007, 03:55:01 pm
UPDATE: this script works better >>attachment
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: AE35 on March 27, 2007, 04:17:01 pm

I just installed the script, but it doesn't work. The left/right screens are still there.

 :-[
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: kelroy on March 27, 2007, 06:18:06 pm
try the second script i am still working out the bugs it works for some games but not others because some games take longer to load
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: IG-88 on March 27, 2007, 06:25:25 pm
Maybe I'm being a bonehead here but you only have to "waggle left right" once don't you and then the nag screen is gone for good?
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: kelroy on March 27, 2007, 06:32:31 pm
ya ha idk i just dont like it. if the script doesent work for a particular game time how long it takes to start that game until it reaches the nag screen and then report the time here and i will acomodate for it in the script
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: IG-88 on March 27, 2007, 06:34:58 pm
Um....what?   ???
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: ahofle on March 27, 2007, 07:06:51 pm
On a related note, how does MAME know (and record for next time) whether or not it's the first time the selected game is being run?  It may be easier to attack this problem from that end (ie. create some batch file that marks every game as having been run already).
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: Extreme8 on March 27, 2007, 07:13:46 pm
Guys,
In the amount of time it's taken to write these posts - ignoring the time spent creating, testing and discussing the script - you could have recompiled mame with the patch and had the problem solved.
Why the resistance to doing it the easy way?
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: squirrellydw on March 27, 2007, 08:05:10 pm
Guys,
In the amount of time it's taken to write these posts - ignoring the time spent creating, testing and discussing the script - you could have recompiled mame with the patch and had the problem solved.
Why the resistance to doing it the easy way?


Would you like to do it for me, I tried and must have done something wrong.  I am going to try again but would like to have a working version.  Why hasn't anyone posted a link to a recompiled version?
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: SGT on March 27, 2007, 08:40:46 pm
Why hasn't anyone posted a link to a recompiled version?


Because it is extremely easy to do yourself *and* the mame devs get  :timebomb: when people provide a compiled version with the nag removed.  See this topic:

http://forum.arcadecontrols.com/index.php?topic=64820.0

Title: Re: eliminate mame initial warning nag screen come if interested
Post by: AMDman13 on March 27, 2007, 11:15:45 pm
I recompiled mine, but only did it once. I'd have to research the whole thing if I ever had to do again.. :(

You will always have to hit OK again if the game has any emulation problems ie Galaga. This is when recompiling is great. No more hitting OK for galaga!
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: SGT on March 27, 2007, 11:45:21 pm
I recompiled mine, but only did it once. I'd have to research the whole thing if I ever had to do again..

Not much research.  Mr. Do's page makes it very easy.
http://www.mameworld.net/mrdo/compile.html

-SGT
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: Extreme8 on March 27, 2007, 11:47:59 pm
I got beat to the post, but it's still valid info:

OK, one last time, here is the only info you'll need to setup your own mame compile environment.

http://www.mameworld.net/mrdo/compile.html

The hiscore files (which also eliminate the warnings) are here:

http://forum.arcadecontrols.com/index.php?topic=64298.0

That's it. No scripts, no hacks, nothing to worry about.

If I can do it anyone can. I'm as dumb as a bag of doorknobs when it comes to compiling source code and have had no problems.
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: AE35 on March 28, 2007, 10:18:07 am

Hey, does those files also remove the Galaga 'incomplete video blahblah'
screen??

http://forum.arcadecontrols.com/index.php?topic=64298.0

Thanks,

Nicholas
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: Extreme8 on March 28, 2007, 10:35:47 am

Hey, does those files also remove the Galaga 'incomplete video blahblah'
screen??

http://forum.arcadecontrols.com/index.php?topic=64298.0

Thanks,

Nicholas


Yup.
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: gonzo90017 on March 28, 2007, 01:18:20 pm
Is it possible to recompile mame 37b16? And if so any links to a tutorial.
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: u_rebelscum on March 28, 2007, 02:50:51 pm
On a related note, how does MAME know (and record for next time) whether or not it's the first time the selected game is being run?  It may be easier to attack this problem from that end (ie. create some batch file that marks every game as having been run already).

It's very easy:
If config file (gamename) does not exist, show okay screen (otherwise don't)

That's it.  So just copy all the files in the cfg folder from the old version to the new, and you won't get the okay screen.  Of course, if any changes in that game's cfg file is made between versions, you'll probably get some sunny bug.

IMO, left-right is far too easy to worry about trying to skip it, even though I compile instead of download a binary.  OTOH, I don't hold game parties with people who don't know mame (or try to make money on mame based cabs, not that anyone here does), so I don't have worry about others not knowing how to left-right.  [shrug]
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: squirrellydw on March 28, 2007, 04:27:51 pm
got it, thanks
Title: Re: eliminate mame initial warning nag screen come if interested
Post by: AE35 on March 29, 2007, 10:19:21 am

Hey, does those files also remove the Galaga 'incomplete video blahblah'
screen??

http://forum.arcadecontrols.com/index.php?topic=64298.0

Thanks,

Nicholas


Yup.

Cool! Can you tell me where to put the .txt file? I use MAME32.

Thanks!

Nicholas