RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    lr-mame2010 - editing and compiling the source code to disable the nag screens

    Scheduled Pinned Locked Moved Help and Support
    19 Posts 8 Posters 6.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ExpelloE
      Expello
      last edited by

      thx for your reply BuZz.

      All updates are in the first thread.

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        The error is

        src/emu/ui.c: In function ‘int ui_display_startup_screens(running_machine*, int, int)’:
        src/emu/ui.c:284:41: error: ‘show_mandatory_fileman’ was not declared in this scope
                 show_gameinfo = show_warnings = show_mandatory_fileman = FALSE;
                                                 ^
        

        The changes you are looking at are for another version of mame and the variable mentioned is not defined. try

        show_gameinfo = show_warnings = FALSE;
        

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by

          BTW is this even needed ? did you check out the "Nagscreen patch Enabled" core option ?

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          1 Reply Last reply Reply Quote 0
          • ExpelloE
            Expello
            last edited by Expello

            Yes i try it, I found the variable in "retromapper.c" too, but it doesn´t work.

            I changed the config file as follows
            /opt/retropie/configs/all/retroarch-core-options.cfg

            mame_current_nagscreenpatch_enable = "enabled"
            

            Or did I miss something?

            Thanks a lot

            1 Reply Last reply Reply Quote 0
            • ExpelloE
              Expello
              last edited by

              Ok, i recompiled it without

              show_mandatory_fileman
              

              No errors, thats good...but it doesnt work, he further shows the LEGAL NOTICE SCREEN.

              Very mysterious ... what else can I do?

              1 Reply Last reply Reply Quote 0
              • ExpelloE
                Expello
                last edited by

                no one?
                any programmer here?
                or am I the only one that finds great that this nag screens disappear?

                1 Reply Last reply Reply Quote 0
                • D
                  dabone
                  last edited by

                  I'm working on this at the moment, it should be easy to just disable the messages, ignoring the ability to toggle them.

                  Just look at the patch in the ui.c..

                  and comment out the messagebox commands. I seem to remember they start around line 304 or so.

                  Later,
                  dabone

                  1 Reply Last reply Reply Quote 0
                  • dankcushionsD
                    dankcushions Global Moderator
                    last edited by

                    lr-mame2003 and lr-imame4all have a built in option to disable these. if you're actually editing the code you might as well add a core option and submit it as a pull request to https://github.com/libretro/mame2010-libretro (or just use these other versions of mame..)

                    ExpelloE bisusB 2 Replies Last reply Reply Quote 0
                    • ExpelloE
                      Expello @dankcushions
                      last edited by Expello

                      @dankcushions said:

                      lr-mame2003 and lr-imame4all have a built in option to disable these. if you're actually editing the code you might as well add a core option and submit it as a pull request to https://github.com/libretro/mame2010-libretro (or just use these other versions of mame..)

                      Thanks for your reply, but the built in option doesn´t work....see above.

                      mame_current_nagscreenpatch_enable = "enabled"
                      

                      Maybe I'm just too stupid ... where is the trick?

                      I have added this issue.
                      https://github.com/libretro/mame2010-libretro/issues/16

                      Best wishes

                      1 Reply Last reply Reply Quote 0
                      • dankcushionsD
                        dankcushions Global Moderator
                        last edited by

                        i didn't say it did work in mame2010 - i said it DOES work in mame2003 and imame4all.

                        i've responded to your ticket. whilst there is a core option to disable nagscreens in 2010, that option doesn't appear to be connected to anything within the code. a fix is required i think.

                        M 1 Reply Last reply Reply Quote 0
                        • M
                          movisman @dankcushions
                          last edited by

                          @dankcushions said:

                          i didn't say it did work in mame2010 - i said it DOES work in mame2003 and imame4all.

                          i've responded to your ticket. whilst there is a core option to disable nagscreens in 2010, that option doesn't appear to be connected to anything within the code. a fix is required i think.

                          Hi,

                          Just a quick question about the nag screen in 2003, great you added the option to suppress the disclaimer in the core options back in Feb, works great but is there any way to suppress the "screen flipping" and "inaccurate emulation" type nag screens?

                          Cheers

                          dankcushionsD 1 Reply Last reply Reply Quote 0
                          • dankcushionsD
                            dankcushions Global Moderator @movisman
                            last edited by

                            @movisman not without a further change, although it would be pretty easy. i think those screens are quite useful though!

                            M 1 Reply Last reply Reply Quote 0
                            • M
                              movisman @dankcushions
                              last edited by

                              @dankcushions

                              Thanks, I was just curious more than anything. I agree, those screens do serve a purpose and can be very useful. I only have a few ROMs which give a warning on launch when using 2003 anyway, but actually the games run fine. If there was a quick core option to disable I might consider using it, but it's really no big deal. It's probably not worth implementing as the warnings are shown for a reason.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mauruco
                                last edited by

                                Hello!
                                You only need to comment out the line 301-323 (src/emu/ui.c).
                                Yes, only the fully block "switch".
                                I tested and everything seems to work.
                                Cheers

                                1 Reply Last reply Reply Quote 0
                                • bisusB
                                  bisus @dankcushions
                                  last edited by

                                  @dankcushions said in [lr-mame2010 \

                                  lr-mame2003 and lr-imame4all have a built in option to disable these.
                                  Hi
                                  could you please tell me how to do this on mame2003 ?
                                  thanks a lot

                                  dankcushionsD 1 Reply Last reply Reply Quote 0
                                  • dankcushionsD
                                    dankcushions Global Moderator @bisus
                                    last edited by

                                    @bisus said in lr-mame2010 - editing and compiling the source code to disable the nag screens:

                                    @dankcushions said
                                    lr-mame2003 and lr-imame4all have a built in option to disable these.

                                    Hi
                                    could you please tell me how to do this on mame2003 ?
                                    thanks a lot

                                    if you've got the latest version it should skip the nagscreen by default. note, this is the 'copyright' screen, not the warning screen about incomplete graphics or whatever. those will always be shown.

                                    D 1 Reply Last reply Reply Quote 1
                                    • D
                                      dsstrainer @dankcushions
                                      last edited by

                                      @dankcushions I have the latest 4.0.1 and installed the latest lr-mame2010 from binaries and it still nags about being allowed to play blah blah

                                      RetroPie v4.2 • RPi3 Model B • 5.1V 2.5A PSU • 8GB SanDisk class 10 microSD • 16GB External USB Thumb Drive
                                      Roms, images and configs stored in USB and symlinked from normal microsd location
                                      Xarcade Keyboard encoder + Zero Delay Joystick encoder

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                      Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.