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: Remove Nag Screens via Command Line?  (Read 4668 times)

0 Members and 1 Guest are viewing this topic.

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Remove Nag Screens via Command Line?
« on: April 27, 2015, 11:23:12 pm »
Hi Guys,

I saw a post in the hidiff thread referencing a secret way to turn off nag screens via command line on MAMEUI, MESSUI, HBMAMEUI builds.

Is this possible? I've been Googling all night and can't find any info...

I'm trying to get HBMAME 0.160 going with nonag

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #1 on: June 06, 2015, 02:22:17 pm »
Anybody?

bulbousbeard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 522
  • Last login:August 25, 2015, 11:58:25 pm
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #2 on: June 06, 2015, 04:02:01 pm »
Just compile your own HBMAME and remove them.

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #3 on: June 06, 2015, 04:14:45 pm »
Not that simple. The diff files are compatible.

phulshof

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:July 17, 2025, 01:35:28 pm
    • Pieter's Webpage
Re: Remove Nag Screens via Command Line?
« Reply #4 on: June 06, 2015, 04:21:31 pm »
If you don't mind having nonag on at all time it's a 1 line removal change in the MAME code.

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #5 on: June 06, 2015, 08:01:08 pm »
Huh?

Sent from my HTC6535LVW using Tapatalk


bulbousbeard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 522
  • Last login:August 25, 2015, 11:58:25 pm
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #6 on: June 07, 2015, 10:00:39 am »
Not that simple. The diff files are compatible.

It really is that simple.

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #7 on: June 07, 2015, 10:14:04 am »
From everything I've read and tested, it is not that simple.

The HBMAME is compiled using daily builds, so they never match up with official releases/diff files.

When trying to compile using HBMAME source files and the nonag/hiscore diff from the official thread, it errors out every single time

bulbousbeard

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 522
  • Last login:August 25, 2015, 11:58:25 pm
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #8 on: June 07, 2015, 10:35:11 am »
From everything I've read and tested, it is not that simple.

The HBMAME is compiled using daily builds, so they never match up with official releases/diff files.

When trying to compile using HBMAME source files and the nonag/hiscore diff from the official thread, it errors out every single time

Don't use the nonag/highscore diff then. Just comment out the code yourself.

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #9 on: June 07, 2015, 10:39:59 am »
Could you link me to instructions or let me know the section to code out?

I've been chasing this for a while now. I'd REALLY appreciate it!!

phulshof

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:July 17, 2025, 01:35:28 pm
    • Pieter's Webpage
Re: Remove Nag Screens via Command Line?
« Reply #10 on: June 07, 2015, 02:41:22 pm »
On the road right now; I'll post the information tomorrow if someone doesn't beat me to it. 😀

phulshof

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:July 17, 2025, 01:35:28 pm
    • Pieter's Webpage
Re: Remove Nag Screens via Command Line?
« Reply #11 on: June 07, 2015, 04:16:33 pm »
Could you link me to instructions or let me know the section to code out?

I've been chasing this for a while now. I'd REALLY appreciate it!!

In src/emu/ui/ui.c:
In the function void ui_manager::display_startup_screens(bool first_time, bool show_disclaimer):

Code: [Select]
        // disable everything if we are using -str for 300 or fewer seconds, or if we're the empty driver,
        // or if we are debugging
//      if (!first_time || (str > 0 && str < 60*5) || &machine().system() == &GAME_NAME(___empty) || (machine().debug_flags & DEBUG_FLAG_ENABLED) != 0)
                show_gameinfo = show_warnings = show_disclaimer = show_mandatory_fileman = FALSE;

The if line is the one that needs to be commented out, as per the code above. It will make MAME always execute the second line, which sets all the show variables to false.

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #12 on: June 07, 2015, 04:36:01 pm »
Thanks, but there's nothing like that in the HBMAME source files:

http://hbmame.1emulation.com/

) :

phulshof

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:July 17, 2025, 01:35:28 pm
    • Pieter's Webpage
Re: Remove Nag Screens via Command Line?
« Reply #13 on: June 07, 2015, 05:00:35 pm »
They must be more different than I thought then. I'll have a look at the code tomorrow to see if I can find how to fix it. I can't imagine it being that hard to find.

phulshof

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:July 17, 2025, 01:35:28 pm
    • Pieter's Webpage
Re: Remove Nag Screens via Command Line?
« Reply #14 on: June 07, 2015, 05:04:10 pm »
Just checked github on my phone; the code is only slightly different, and is right where I said it was: https://github.com/Robbbert/hbmame/blob/master/src/emu/ui/ui.c
« Last Edit: June 07, 2015, 05:06:02 pm by phulshof »

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #15 on: June 07, 2015, 05:36:37 pm »
Hmmm... I downloaded directly from the site. Testing the link you just posted... if this works, I'll be one happy gamer!

phulshof

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:July 17, 2025, 01:35:28 pm
    • Pieter's Webpage
Re: Remove Nag Screens via Command Line?
« Reply #16 on: June 08, 2015, 01:40:11 am »
As far as I can tell, the file containing artwork and sources are just the hbmame add-ons; you'll need to download (, make the change) and compile from github to get the full experience. :)

phulshof

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 55
  • Last login:July 17, 2025, 01:35:28 pm
    • Pieter's Webpage
Re: Remove Nag Screens via Command Line?
« Reply #17 on: June 12, 2015, 04:00:17 am »
Any luck in making it work?

newoski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 226
  • Last login:February 26, 2021, 07:44:50 am
  • I want to build my own arcade controls!
Re: Remove Nag Screens via Command Line?
« Reply #18 on: October 29, 2015, 12:37:36 pm »
Any luck in making it work?

Sorry for the uber delayed reply. This didn't work for me. I see those lines in the github source, but when I download the official release source, the lines are not included... That location you pointed to doesn't exist in the folder structure from the official source download