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: how to get rid of the disclaimer in mame 102  (Read 4355 times)

0 Members and 1 Guest are viewing this topic.

GMZombie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 379
  • Last login:March 22, 2022, 10:11:23 am
  • I am a living Legend who fixes stuff... mostly
how to get rid of the disclaimer in mame 102
« on: December 31, 2005, 05:15:05 pm »
how do i do that. i looked in the mame config file and it only had the option of not displaying the game info? i thought they got rid of the press ok to continue but i maybe was wrong?

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: how to get rid of the disclaimer in mame 102
« Reply #1 on: December 31, 2005, 05:16:48 pm »
They have a couple of warnings you can't disable without changing the code.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

GMZombie

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 379
  • Last login:March 22, 2022, 10:11:23 am
  • I am a living Legend who fixes stuff... mostly
Re: how to get rid of the disclaimer in mame 102
« Reply #2 on: December 31, 2005, 05:25:26 pm »
oh ok...does anybody know how to do that? eh its not that big of a deal i just wanted to upgrade my other machine and that didnt have them in it? didnt they used to have skip disclaimer in there..

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: how to get rid of the disclaimer in mame 102
« Reply #3 on: December 31, 2005, 05:52:36 pm »
It only displays once.  Then never again.

Except for game warnings; those still display no matter what.

MikeQ

  • Guest
  • Trade Count: (0)
Re: how to get rid of the disclaimer in mame 102
« Reply #4 on: January 01, 2006, 12:10:57 pm »
oh ok...does anybody know how to do that? eh its not that big of a deal i just wanted to upgrade my other machine and that didnt have them in it? didnt they used to have skip disclaimer in there..


In these functions just do a  "return 0" after the local variable declarations.

int ui_display_copyright(mame_bitmap *bitmap)
int ui_display_game_warnings(mame_bitmap *bitmap)
int ui_display_game_info(mame_bitmap *bitmap)




headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: how to get rid of the disclaimer in mame 102
« Reply #5 on: January 03, 2006, 07:44:59 am »
Or change to these lines in mame.c

Code: [Select]
/* if we didn't find a settings file, show the disclaimer */
if (settingsloaded || options.skip_disclaimer || 1)
{
/* show info about incorrect behaviour (wrong colors etc.) */
if (options.skip_warnings || 1)
{
/* show info about the game */
if (options.skip_gameinfo || 1)

electricd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 501
  • Last login:February 14, 2025, 07:59:10 pm
  • I'm not a llama!
Re: how to get rid of the disclaimer in mame 102
« Reply #6 on: January 13, 2006, 10:53:37 am »
Just found this thread and used headkaze's method for disabling.  After I compile, do I have to turn on any switches to make this happen, or did the lines I changed automatically take care of business for me?  Thanks!

Farmboy90

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:June 26, 2006, 12:15:04 am
  • My cab is done... Pics coming soon!!
Re: how to get rid of the disclaimer in mame 102
« Reply #7 on: January 13, 2006, 10:55:39 am »
Just found this thread and used headkaze's method for disabling.  After I compile, do I have to turn on any switches to make this happen, or did the lines I changed automatically take care of business for me?  Thanks!

If you used his method then no, nothing else is needed.  Just compile and things will be fine for you.

electricd

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 501
  • Last login:February 14, 2025, 07:59:10 pm
  • I'm not a llama!
Re: how to get rid of the disclaimer in mame 102
« Reply #8 on: January 13, 2006, 02:08:34 pm »
OK just re-compiled MAME with the changes, but still seeing the "OK" screen.  If I set the "skip_gameinfo" to 0 I still see the game info as well.  I changed these lines in Mame.c

Original:
   if (settingsloaded || options.skip_disclaimer || ui_display_copyright(artwork_get_ui_bitmap()) == 0)
   {
      /* show info about incorrect behaviour (wrong colors etc.) */
      if (options.skip_warnings || ui_display_game_warnings(artwork_get_ui_bitmap()) == 0)
      {
         /* show info about the game */
         if (options.skip_gameinfo || ui_display_game_info(artwork_get_ui_bitmap()) == 0)

Changed:
   if (settingsloaded || options.skip_disclaimer || 1)
   {
      /* show info about incorrect behaviour (wrong colors etc.) */
      if (options.skip_warnings || 1)
      {
         /* show info about the game */
         if (options.skip_gameinfo || 1)

Not sure what gives?  Can anyone help?

Farmboy90

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:June 26, 2006, 12:15:04 am
  • My cab is done... Pics coming soon!!
Re: how to get rid of the disclaimer in mame 102
« Reply #9 on: January 13, 2006, 03:36:40 pm »
OK just re-compiled MAME with the changes, but still seeing the "OK" screen.  If I set the "skip_gameinfo" to 0 I still see the game info as well.  I changed these lines in Mame.c

Original:
   if (settingsloaded || options.skip_disclaimer || ui_display_copyright(artwork_get_ui_bitmap()) == 0)
   {
      /* show info about incorrect behaviour (wrong colors etc.) */
      if (options.skip_warnings || ui_display_game_warnings(artwork_get_ui_bitmap()) == 0)
      {
         /* show info about the game */
         if (options.skip_gameinfo || ui_display_game_info(artwork_get_ui_bitmap()) == 0)

Changed:
   if (settingsloaded || options.skip_disclaimer || 1)
   {
      /* show info about incorrect behaviour (wrong colors etc.) */
      if (options.skip_warnings || 1)
      {
         /* show info about the game */
         if (options.skip_gameinfo || 1)

Not sure what gives?  Can anyone help?

Hummm, you sure you are using the newly compiled version?   :)

I would just open usrintrf.c and and modify the methods themselves.

Use MikeQ's method, that will do the trick:
In these functions just do a  "return 0" after the local variable declarations.

int ui_display_copyright(mame_bitmap *bitmap)
int ui_display_game_warnings(mame_bitmap *bitmap)
int ui_display_game_info(mame_bitmap *bitmap)

BuZz880

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:November 16, 2023, 02:16:43 pm
  • I'm a llama!
Re: how to get rid of the disclaimer in mame 102
« Reply #10 on: January 13, 2006, 06:28:48 pm »
Hmmm... not to interrupt your technical discussion because I am glad this is being documented somewhere but for many like myself that find compiling each version of mame cumbersome, here's an alternative.

I just ran a game at random then took the cfg that was generated and copied it to ..\cfg\<romname>.cfg for every rom I had using a bat file.

If you have any custom settings in a couple of your cfgs then make sure you do not over-write those particular games.


eightbit

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1849
  • Last login:September 07, 2019, 07:38:11 pm
  • My cab is never done...
Re: how to get rid of the disclaimer in mame 102
« Reply #11 on: January 19, 2006, 09:15:34 pm »
Hmmm... not to interrupt your technical discussion because I am glad this is being documented somewhere but for many like myself that find compiling each version of mame cumbersome, here's an alternative.

I just ran a game at random then took the cfg that was generated and copied it to ..\cfg\<romname>.cfg for every rom I had using a bat file.

If you have any custom settings in a couple of your cfgs then make sure you do not over-write those particular games.


What was your batch file? What did you use to generate the list of roms?
My statements are my own opinions. They have the value that the reader gives them. My opinion of my opinion varies between foolish and brilliant and these opinions often change with new information.